Home
last modified time | relevance | path

Searched refs:i8 (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/Uwb/service/uci/jni/src/
Dhelper.rs35 u8::from(result_to_status_code(result, error_msg)) as i8 in byte_result_helper()
84 assert_eq!(byte_result_helper(Ok(10), "Test"), u8::from(StatusCode::UciStatusOk) as i8); in test_byte_result_helper()
86 byte_result_helper::<i8>(Err(Error::BadParameters), "Test"), in test_byte_result_helper()
87 u8::from(StatusCode::UciStatusInvalidParam) as i8 in test_byte_result_helper()
90 byte_result_helper::<i8>(Err(Error::MaxSessionsExceeded), "Test"), in test_byte_result_helper()
91 u8::from(StatusCode::UciStatusMaxSessionsExceeded) as i8 in test_byte_result_helper()
94 byte_result_helper::<i8>(Err(Error::CommandRetry), "Test"), in test_byte_result_helper()
95 u8::from(StatusCode::UciStatusCommandRetry) as i8 in test_byte_result_helper()
98 byte_result_helper::<i8>(Err(Error::RegulationUwbOff), "Test"), in test_byte_result_helper()
99 u8::from(StatusCode::UciStatusRegulationUwbOff) as i8 in test_byte_result_helper()
[all …]
Dnotification_manager_android.rs415 mac_address_vec.iter().flat_map(|&[a, b]| vec![a as i8, b as i8]).collect::<Vec<i8>>(); in on_session_update_multicast_notification()
416 let mac_address_slice: &[i8] = &mac_address_vec_i8; in on_session_update_multicast_notification()
573 .map(|b| b.to_owned() as i8) in on_session_dl_tdoa_range_data_notification()
733 .map(|b| b.to_owned() as i8) in on_two_way_range_data_notification()
807 .map(|b| b.to_owned() as i8) in on_session_owr_aoa_range_data_notification()
Duci_jni_android_new.rs254 Some(c) => c as i8, in Java_com_android_server_uwb_jni_NativeUwbManager_nativeGetSessionCount()
322 Some(s) => s as i8, in Java_com_android_server_uwb_jni_NativeUwbManager_nativeGetSessionState()
872 mac_address_vec.iter().flat_map(|&[a, b]| vec![a as i8, b as i8]).collect::<Vec<i8>>(); in create_session_update_controller_multicast_response()
1128 JValue::Byte(u8::from(StatusCode::UciStatusOk) as i8), in create_vendor_response()
1146 JValue::Byte(u8::from(StatusCode::UciStatusFailed) as i8), in create_invalid_vendor_response()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dgatt.rs47 rssi: i8,
236 unsafe fn gdscan_on_scanner_registered(uuid: *const i8, scannerId: u8, status: u8); in gdscan_on_scanner_registered() argument
245 tx_power: i8, in gdscan_on_scan_result() argument
246 rssi: i8, in gdscan_on_scan_result() argument
297 tx_power: i8, in gdscan_sync_report_callback() argument
298 rssi: i8, in gdscan_sync_report_callback() argument
386 tx_power: i8, in gdadv_on_advertising_set_started() argument
392 unsafe fn gdadv_on_advertising_parameters_updated(adv_id: u8, tx_power: i8, status: u8); in gdadv_on_advertising_parameters_updated() argument
400 unsafe fn gdadv_idtxpowerstatus_callback(adv_id: u8, tx_power: i8, status: u8); in gdadv_idtxpowerstatus_callback() argument
401 unsafe fn gdadv_parameters_callback(adv_id: u8, status: u8, tx_power: i8); in gdadv_parameters_callback() argument
[all …]
Dhfp.rs204 fn set_volume(self: Pin<&mut HfpIntf>, volume: i8, bt_addr: RawAddress) -> i32; in set_volume() argument
205 fn set_mic_volume(self: Pin<&mut HfpIntf>, volume: i8, bt_addr: RawAddress) -> u32; in set_mic_volume() argument
472 pub fn set_volume(&mut self, volume: i8, addr: RawAddress) -> i32 { in set_volume() argument
477 pub fn set_mic_volume(&mut self, volume: i8, addr: RawAddress) -> BtStatus { in set_mic_volume() argument
Davrcp.rs41 fn set_volume(self: Pin<&mut AvrcpIntf>, volume: i8); in set_volume() argument
176 pub fn set_volume(&mut self, volume: i8) { in set_volume() argument
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dtranspose_conv2d.mod.py264 i8 = Input("op1", "TENSOR_FLOAT32", "{1, 2, 2, 1}") # input 0 variable
269 Model().Operation("TRANSPOSE_CONV_2D", i8, w8, b8, s8, 1, 2, 2, 0, layout).To(o8)
273 i8: ("TENSOR_QUANT8_ASYMM", 0.5, 100),
280 i8: [1, 2, 3, 4],
282 }).AddNchw(i8, o8, s8, layout).AddVariations("relaxed", quant8, "float16")
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_internal/
Dadd_internal.mod.py25 i8 = Input("i8", ("TENSOR_FLOAT32", [2])) # input 0 variable
51 model.Operation("ADD", i7, i8, act).To(o1)
62 i8: [0, 0]
Dstdout.txt.expect40 auto i8 = model->addOperand(&type0);
54 model->addOperation(ANEURALNETWORKS_ADD, {i7, i8, act}, {o1});
58 {i2, i6, i0, i1, i5, i3, i4, i7, i8},
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_internal/
Dadd_internal.mod.py25 i8 = Input("i8", ("TENSOR_FLOAT32", [2])) # input 0 variable
51 model.Operation("ADD", i7, i8, act).To(o1)
62 i8: [0, 0]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dtranspose_conv2d_quant8_signed.mod.py299 i8 = Input("op1", "TENSOR_FLOAT32", "{1, 2, 2, 1}") # input 0 variable
304 Model().Operation("TRANSPOSE_CONV_2D", i8, w8, b8, s8, 1, 2, 2, 0, layout).To(o8)
308 i8: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.5, -28),
315 i8: [1, 2, 3, 4],
317 }).AddNchw(i8, o8, s8, layout).AddVariations(quant8_signed, includeDefault=False)
Dtranspose_quant8_signed.mod.py300 i8 = Input("op1", "TENSOR_FLOAT32", "{1, 2, 2, 1}") # input 0 variable
305 Model().Operation("TRANSPOSE_CONV_2D", i8, w8, b8, s8, 1, 2, 2, 0, layout).To(o8)
309 i8: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.5, -28),
316 i8: [1, 2, 3, 4],
318 }).AddNchw(i8, o8, s8, layout).AddVariations(quant8_signed, includeDefault=False)
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/
Ddepthwise_conv.mod.py6 i8 = Int32Scalar("b8", 0) variable
11 model = model.Operation("DEPTHWISE_CONV_2D", i2, i0, i1, i4, i5, i6, i7, i8).To(i3)
Dmobilenet_224_gender_basic_fixed.mod.py145 i8 = Parameter("op8", "TENSOR_FLOAT32", "{128, 1, 1, 128}", [-0.172699, 0.0449607, -0.00371321, 0.0… variable
242 model = model.Operation("CONV_2D", i3, i8, i7, i177, i178, i179, i180).To(i6)
Dmobilenet_quantized.mod.py146 i8 = Parameter("op8", "TENSOR_QUANT8_ASYMM", "{512, 1, 1, 512}, 0.00691097788513, 136", [126, 134, … variable
245 model = model.Operation("CONV_2D", i3, i8, i7, i194, i195, i196, i197).To(i6)
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/
Ddepthwise_conv_relaxed.mod.py22 i8 = Int32Scalar("b8", 0) variable
27 model = model.Operation("DEPTHWISE_CONV_2D", i2, i0, i1, i4, i5, i6, i7, i8).To(i3)
Dmobilenet_224_gender_basic_fixed_relaxed.mod.py161 i8 = Parameter("op8", "TENSOR_FLOAT32", "{128, 1, 1, 128}", [-0.172699, 0.0449607, -0.00371321, 0.0… variable
258 model = model.Operation("CONV_2D", i3, i8, i7, i177, i178, i179, i180).To(i6)
/packages/modules/Virtualization/compos/common/
Dodrefresh.rs45 const EX_MAX: i8 = 78;
49 #[repr(i8)]
/packages/modules/Virtualization/compos/src/
Dcompsvc.rs99 fn odrefresh(&self, args: &OdrefreshArgs) -> BinderResult<i8> { in odrefresh() argument
125 fn do_odrefresh(&self, args: &OdrefreshArgs) -> Result<i8> { in do_odrefresh() argument
139 Ok(exit_code as i8) in do_odrefresh()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_adv.rs246 tx_power: self.tx_power_level as i8, in into()
250 own_address_type: self.own_address_type as i8, in into()
1162 tx_power: i8, in on_advertising_set_started() argument
1179 tx_power: i8, in on_advertising_parameters_updated() argument
1206 tx_power: i8, in on_advertising_set_started() argument
1304 tx_power: i8, in on_advertising_parameters_updated() argument
1936 tx_power: i8, in on_advertising_set_started() argument
2053 _tx_power: i8, in on_advertising_parameters_updated() argument
Dbluetooth_gatt.rs1238 pub tx_power: i8,
1239 pub rssi: i8,
3741 tx_power: i8, in on_scan_result() argument
3742 rssi: i8, in on_scan_result() argument
3811 tx_power: i8, in inband_sync_report_callback() argument
3812 rssi: i8, in inband_sync_report_callback() argument
3926 tx_power: i8, in inband_sync_report_callback() argument
3927 rssi: i8, in inband_sync_report_callback() argument
3999 tx_power: i8, in on_scan_result() argument
4000 rssi: i8, in on_scan_result() argument
[all …]
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dobject_mapping.rs559 fn into_ne_bytes_i8(self) -> Vec<i8> { in into_ne_bytes_i8() argument
561 MacAddress::Short(val) => val.to_ne_bytes().into_iter().map(|b| b as i8).collect(), in into_ne_bytes_i8()
562 MacAddress::Extended(val) => val.to_ne_bytes().into_iter().map(|b| b as i8).collect(), in into_ne_bytes_i8()
Dcallback.rs216 let payload_i8 = payload.iter().map(|b| b.to_owned() as i8).collect::<Vec<_>>(); in on_vendor_notification_received()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs580 RemoteRssi(i8),
600 pub const INVALID_RSSI: i8 = 127;
656 BluetoothProperty::RemoteRssi(_) => mem::size_of::<i8>(), in get_len()
831 BtPropertyType::RemoteRssi => BluetoothProperty::RemoteRssi(slice[0] as i8), in from()
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dhfp_service.rs164 hfp.lock().unwrap().set_volume(req.volume as i8, addr); in set_volume()

12