Home
last modified time | relevance | path

Searched refs:convert_byte_array (Results 1 – 13 of 13) sorted by relevance

/aosp_15_r20/packages/modules/Uwb/service/uci/jni/src/
Duci_jni_android_new.rs477 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 …]
/aosp_15_r20/external/rust/beto-rust/nearby/presence/ldt_np_jni/src/
Dlib.rs81 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()
/aosp_15_r20/external/rust/beto-rust/nearby/connections/ukey2/ukey2_jni/src/
Dlib.rs202 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()
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_java_ffi/src/class/
Dcredential_slab.rs90 env.convert_byte_array(&encrypted_metadata_bytes)?.into(), in nativeAddV0DiscoveryCredential()
126 env.convert_byte_array(&encrypted_metadata_bytes)?.into(), in nativeAddV1DiscoveryCredential()
/aosp_15_r20/packages/modules/Virtualization/tests/testapk/src/native/
Dhwtrust_jni.rs58 let dice_chain = env.convert_byte_array(jdice_chain)?; in validate_dice_chain()
/aosp_15_r20/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dcontext.rs46 self.env.convert_byte_array(val_obj.into_raw()) in byte_arr_getter()
Dapi.rs403 let payload = match ctx.env.convert_byte_array(payload) { in send_raw_vendor_cmd()
Dobject_mapping.rs418 let country_code_vec = jni.env.convert_byte_array(jni.country_code_arr)?; in try_from()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/tests/
Djni_api.rs754 fn convert_byte_array() { in convert_byte_array() function
759 let dest = env.convert_byte_array(java_byte_array); in convert_byte_array()
/aosp_15_r20/packages/modules/Connectivity/remoteauth/service/jni/src/
Dremoteauth_jni_android_platform.rs246 env.convert_byte_array(app_response).map_err(|_| JNIError::InvalidCtorReturn).unwrap(); in native_on_send_request_success()
/aosp_15_r20/external/rust/android-crates-io/crates/jni/tests/
Djni_api.rs949 fn convert_byte_array() { in convert_byte_array() function
954 let dest = env.convert_byte_array(java_byte_array); in convert_byte_array()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/
Djnienv.rs1269 pub fn convert_byte_array(&self, array: jbyteArray) -> Result<Vec<u8>> { in convert_byte_array() method
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/
Djnienv.rs1748 pub fn convert_byte_array<'other_local>( in convert_byte_array() method