Searched refs:byte_array_from_slice (Results 1 – 10 of 10) sorted by relevance
185 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()
465 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 …]
100 .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()
306 .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()
482 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()
142 env.byte_array_from_slice(slice) in nativeGetSectionDataElement()
157 let request_jbytearray = env.byte_array_from_slice(request)?; in send_request()
525 data_obj.env.byte_array_from_slice(&data_obj.session_range_data.raw_ranging_data)?; in try_from()
1254 pub fn byte_array_from_slice(&self, buf: &[u8]) -> Result<jbyteArray> { in byte_array_from_slice() method
1733 pub fn byte_array_from_slice(&self, buf: &[u8]) -> Result<JByteArray<'local>> { in byte_array_from_slice() method