Home
last modified time | relevance | path

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

/aosp_15_r20/external/rust/beto-rust/nearby/connections/ukey2/ukey2_jni/src/
Dlib.rs175 let empty_arr = env.new_byte_array(0).unwrap(); in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DHandshakeContext_get_1next_1handshake_1message()
261 let empty_array = env.new_byte_array(0).unwrap(); in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DHandshakeContext_get_1verification_1string()
337 let empty_array = env.new_byte_array(0).unwrap(); in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_encode_1message_1to_1peer()
379 let empty_array = env.new_byte_array(0).unwrap(); in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_decode_1message_1from_1peer()
459 let empty_array = env.new_byte_array(0).unwrap(); in Java_com_google_security_cryptauth_lib_securegcm_ukey2_D2DConnectionContextV1_save_1session()
510 let empty_array = env.new_byte_array(0).unwrap(); 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.rs417 let mac_address_jbytearray = self.env.new_byte_array(mac_address_slice.len() as i32)?; in on_session_update_multicast_notification()
485 let address_jbytearray = self.env.new_byte_array(bytearray_len)?; in on_session_dl_tdoa_range_data_notification()
486 let anchor_location = self.env.new_byte_array(MAX_ANCHOR_LOCATION_LEN)?; in on_session_dl_tdoa_range_data_notification()
487 let active_ranging_rounds = self.env.new_byte_array(MAX_RANGING_ROUNDS_LEN)?; in on_session_dl_tdoa_range_data_notification()
575 let mac_address_jbytearray = self.env.new_byte_array(mac_address_i8.len() as i32)?; in on_session_dl_tdoa_range_data_notification()
690 let address_jbytearray = self.env.new_byte_array(bytearray_len)?; in on_two_way_range_data_notification()
735 let mac_address_jbytearray = self.env.new_byte_array(mac_address_i8.len() as i32)?; in on_two_way_range_data_notification()
810 let mac_address_jbytearray = self.env.new_byte_array(mac_address_i8.len() as i32)?; in on_session_owr_aoa_range_data_notification()
1265 let sample_data_jbytearray = self.env.new_byte_array(max_sample_data_length)?; in on_radar_data_rcv_notification()
1266 let vendor_data_jbytearray = self.env.new_byte_array(MAX_RADAR_VENDOR_DATA_LEN)?; in on_radar_data_rcv_notification()
Duci_jni_android_new.rs1010 .new_byte_array(mac_address_vec_i8.len() as i32) in create_session_update_controller_multicast_response()
/aosp_15_r20/external/rust/android-crates-io/crates/jni/tests/
Djni_api.rs410 let byte_array = env.new_byte_array(16).unwrap(); in call_new_object_with_array_class()
601 new_byte_array,
864 let result = env.new_byte_array(SIZE); in new_primitive_array_ok()
903 let result = env.new_byte_array(WRONG_SIZE).map(|arr| arr.as_raw()); in new_primitive_array_wrong()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/tests/
Djni_api.rs409 new_byte_array,
669 let result = env.new_byte_array(SIZE); in new_primitive_array_ok()
708 let result = env.new_byte_array(WRONG_SIZE); in new_primitive_array_wrong()
/aosp_15_r20/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dcallback.rs217 let payload_jbyte_array = match self.env.new_byte_array(payload_i8.len() as i32) { in on_vendor_notification_received()
Dobject_mapping.rs659 let address_jbytearray = measurements_obj.env.new_byte_array(byte_arr_size)?; in try_from()
691 measurements_obj.env.new_byte_array(byte_arr_size)?; in try_from()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/
Djnienv.rs1256 let bytes: jbyteArray = self.new_byte_array(length)?; in byte_array_from_slice()
1291 pub fn new_byte_array(&self, length: jsize) -> Result<jbyteArray> { in new_byte_array() method
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/
Djnienv.rs1735 let bytes = self.new_byte_array(length)?; in byte_array_from_slice()
1775 pub fn new_byte_array(&self, length: jsize) -> Result<JByteArray<'local>> { in new_byte_array() method
/aosp_15_r20/external/rust/android-crates-io/crates/jni/docs/
D0.21-MIGRATION.md288 let byte_array = env.new_byte_array(100)?;