Home
last modified time | relevance | path

Searched refs:byte_array_from_slice (Results 1 – 10 of 10) sorted by relevance

/aosp_15_r20/external/rust/beto-rust/nearby/connections/ukey2/ukey2_jni/src/
Dlib.rs185 env.byte_array_from_slice(message.as_slice()).unwrap() in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DHandshakeContext_get_1next_1handshake_1message()
230 .byte_array_from_slice(&error_msg) in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DHandshakeContext_parse_1handshake_1message()
287 env.byte_array_from_slice(&ret_vec).unwrap() in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DHandshakeContext_get_1verification_1string()
356 env.byte_array_from_slice(ret_vec.as_slice()).expect("unable to create jByteArray") in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_encode_1message_1to_1peer()
399 env.byte_array_from_slice(message.as_slice()).expect("unable to create jByteArray") in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_decode_1message_1from_1peer()
461 env.byte_array_from_slice(ctx.save_session().as_slice()).expect("unable to save session") in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_save_1session()
512 env.byte_array_from_slice(ctx.get_session_unique::<CryptoProvider>().as_slice()) in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_get_1session_1unique()
/aosp_15_r20/packages/modules/Uwb/service/uci/jni/src/
Dnotification_manager_android.rs465 self.env.byte_array_from_slice(&range_data.raw_ranging_data)?; in on_session_dl_tdoa_range_data_notification()
579 self.env.byte_array_from_slice(&measurement.dt_anchor_location)?; in on_session_dl_tdoa_range_data_notification()
582 self.env.byte_array_from_slice(&measurement.ranging_rounds)?; in on_session_dl_tdoa_range_data_notification()
787 self.env.byte_array_from_slice(&range_data.raw_ranging_data)?; in on_session_owr_aoa_range_data_notification()
890 self.env.byte_array_from_slice(&range_data.raw_ranging_data)?; in on_session_two_way_range_data_notification()
1017 let raw_notification_jbytearray = self.env.byte_array_from_slice(raw_notification_data)?; in on_rf_periodic_tx_notification()
1179 self.env.byte_array_from_slice(&vendor_notification.payload)?; in on_vendor_notification()
1219 UwbAddress::Short(a) => self.env.byte_array_from_slice(a)?, in on_data_rcv_notification()
1220 UwbAddress::Extended(a) => self.env.byte_array_from_slice(a)?, in on_data_rcv_notification()
1223 self.env.byte_array_from_slice(&data_rcv_notification.payload)?; in on_data_rcv_notification()
[all …]
Duci_jni_android_new.rs100 .byte_array_from_slice(rsp.vendor_spec_info.as_ref()) in create_device_info_response()
390 env.byte_array_from_slice(&buf).map_err(|_| Error::ForeignFunctionInterface)?; in create_radar_config_response()
417 env.byte_array_from_slice(&buf).map_err(|_| Error::ForeignFunctionInterface)?; in create_set_config_response()
516 env.byte_array_from_slice(&buf).map_err(|_| Error::ForeignFunctionInterface)?; in create_rf_test_config_response()
871 env.byte_array_from_slice(&buf).map_err(|_| Error::ForeignFunctionInterface)?; in create_get_config_response()
946 env.byte_array_from_slice(&buf).map_err(|_| Error::ForeignFunctionInterface)?; in create_cap_response()
1254 env.byte_array_from_slice(&msg.payload).map_err(|_| Error::ForeignFunctionInterface)?, in create_vendor_response()
1306 env.byte_array_from_slice(indexes.as_ref()) in create_ranging_round_status()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/tests/
Djni_api.rs306 .byte_array_from_slice(buf) in java_byte_array_from_slice()
512 .byte_array_from_slice(buf) in get_primitive_array_critical()
757 let java_byte_array = env.byte_array_from_slice(&src).unwrap(); in convert_byte_array()
/aosp_15_r20/external/rust/android-crates-io/crates/jni/tests/
Djni_api.rs482 env.byte_array_from_slice(buf) in java_byte_array_from_slice()
705 .byte_array_from_slice(buf) in get_array_elements_critical()
952 let java_byte_array = env.byte_array_from_slice(&src).unwrap(); in convert_byte_array()
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_java_ffi/src/class/
Dlegible_v1_sections.rs142 env.byte_array_from_slice(slice) in nativeGetSectionDataElement()
/aosp_15_r20/packages/modules/Connectivity/remoteauth/service/jni/src/
Dremoteauth_jni_android_platform.rs157 let request_jbytearray = env.byte_array_from_slice(request)?; in send_request()
/aosp_15_r20/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dobject_mapping.rs525 data_obj.env.byte_array_from_slice(&data_obj.session_range_data.raw_ranging_data)?; in try_from()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/
Djnienv.rs1254 pub fn byte_array_from_slice(&self, buf: &[u8]) -> Result<jbyteArray> { in byte_array_from_slice() method
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/
Djnienv.rs1733 pub fn byte_array_from_slice(&self, buf: &[u8]) -> Result<JByteArray<'local>> { in byte_array_from_slice() method