Searched refs:convert_byte_array (Results 1 – 13 of 13) sorted by relevance
477 env.convert_byte_array(app_config_params).map_err(|_| Error::ForeignFunctionInterface)?; in native_set_app_configurations()576 env.convert_byte_array(app_config_params).map_err(|_| Error::ForeignFunctionInterface)?; in native_set_rf_test_app_configurations()617 env.convert_byte_array(psdu_data).map_err(|_| Error::ForeignFunctionInterface)?; in native_rf_test_periodic_tx()663 env.convert_byte_array(radar_config_params).map_err(|_| Error::ForeignFunctionInterface)?; in native_set_radar_app_configurations()776 env.convert_byte_array(phase_list).map_err(|_| Error::ForeignFunctionInterface)?; in native_set_hybrid_session_controller_configurations()784 env.convert_byte_array(update_time).map_err(|_| Error::ForeignFunctionInterface)?; in native_set_hybrid_session_controller_configurations()852 env.convert_byte_array(phase_list).map_err(|_| Error::ForeignFunctionInterface)?; in native_set_hybrid_session_controlee_configurations()924 env.convert_byte_array(app_config_params).map_err(|_| Error::ForeignFunctionInterface)?; in native_get_app_configurations()1102 env.convert_byte_array(addresses).map_err(|_| Error::ForeignFunctionInterface)?; in native_controller_multicast_list_update()1142 env.convert_byte_array(sub_session_keys) in native_controller_multicast_list_update()[all …]
81 env.convert_byte_array(&java_key_seed).map_err(|_| CREATE_ERROR).and_then(|seed| { in Java_com_google_android_gms_nearby_presence_hazmat_LdtNpJni_createEncryptionCipher()111 env.convert_byte_array(&java_key_seed).map_err(|_| CREATE_ERROR).and_then(|seed| { in Java_com_google_android_gms_nearby_presence_hazmat_LdtNpJni_createDecryptionCipher()119 env.convert_byte_array(&java_hmac_tag).map_err(|_| CREATE_ERROR).and_then(|tag| { in Java_com_google_android_gms_nearby_presence_hazmat_LdtNpJni_createDecryptionCipher()177 env.convert_byte_array(&data).map_err(|_| EncryptError::JniOp).and_then(|data| { in Java_com_google_android_gms_nearby_presence_hazmat_LdtNpJni_encrypt()216 env.convert_byte_array(&data).map_err(|_| DecryptError::JniOp).and_then(|data| { in Java_com_google_android_gms_nearby_presence_hazmat_LdtNpJni_decryptAndVerify()
202 let rust_buffer = env.convert_byte_array(unsafe { JByteArray::from_raw(message) }).unwrap(); in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DHandshakeContext_parse_1handshake_1message()342 env.convert_byte_array(unsafe { JByteArray::from_raw(payload) }).unwrap().as_slice(), in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_encode_1message_1to_1peer()347 env.convert_byte_array(unsafe { JByteArray::from_raw(associated_data) }) in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_encode_1message_1to_1peer()384 env.convert_byte_array(unsafe { JByteArray::from_raw(message) }).unwrap().as_slice(), in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_decode_1message_1from_1peer()389 env.convert_byte_array(unsafe { JByteArray::from_raw(associated_data) }) in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_decode_1message_1from_1peer()480 .convert_byte_array(unsafe { JByteArray::from_raw(session_info) }) in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_from_1saved_1session()
90 env.convert_byte_array(&encrypted_metadata_bytes)?.into(), in nativeAddV0DiscoveryCredential()126 env.convert_byte_array(&encrypted_metadata_bytes)?.into(), in nativeAddV1DiscoveryCredential()
58 let dice_chain = env.convert_byte_array(jdice_chain)?; in validate_dice_chain()
46 self.env.convert_byte_array(val_obj.into_raw()) in byte_arr_getter()
403 let payload = match ctx.env.convert_byte_array(payload) { in send_raw_vendor_cmd()
418 let country_code_vec = jni.env.convert_byte_array(jni.country_code_arr)?; in try_from()
754 fn convert_byte_array() { in convert_byte_array() function759 let dest = env.convert_byte_array(java_byte_array); in convert_byte_array()
246 env.convert_byte_array(app_response).map_err(|_| JNIError::InvalidCtorReturn).unwrap(); in native_on_send_request_success()
949 fn convert_byte_array() { in convert_byte_array() function954 let dest = env.convert_byte_array(java_byte_array); in convert_byte_array()
1269 pub fn convert_byte_array(&self, array: jbyteArray) -> Result<Vec<u8>> { in convert_byte_array() method
1748 pub fn convert_byte_array<'other_local>( in convert_byte_array() method