Searched refs:ProtoChipKind (Results 1 – 5 of 5) sorted by relevance
/tools/netsim/rust/daemon/src/wireless/ |
D | mocked.rs | 19 use netsim_proto::common::ChipKind as ProtoChipKind; 26 pub chip_kind: ProtoChipKind, 31 chip_kind: ProtoChipKind, 50 ProtoChipKind::UNSPECIFIED => netsim_radio_stats::Kind::UNSPECIFIED, in get_stats() 51 ProtoChipKind::BLUETOOTH => netsim_radio_stats::Kind::BLUETOOTH_LOW_ENERGY, in get_stats() 52 ProtoChipKind::WIFI => netsim_radio_stats::Kind::WIFI, in get_stats() 53 ProtoChipKind::UWB => netsim_radio_stats::Kind::UWB, in get_stats() 54 ProtoChipKind::BLUETOOTH_BEACON => netsim_radio_stats::Kind::BLE_BEACON, in get_stats()
|
/tools/netsim/rust/daemon/src/devices/ |
D | device.rs | 23 use netsim_proto::common::ChipKind as ProtoChipKind; 104 if patch_chip_kind == ProtoChipKind::UNSPECIFIED { in patch() 106 patch_chip_kind = ProtoChipKind::BLUETOOTH; in patch() 108 patch_chip_kind = ProtoChipKind::BLUETOOTH_BEACON; in patch() 110 patch_chip_kind = ProtoChipKind::WIFI; in patch() 112 patch_chip_kind = ProtoChipKind::UWB; in patch() 135 patch_chip_kind: ProtoChipKind, in match_target_chip() argument 226 static PATCH_CHIP_KIND: ProtoChipKind = ProtoChipKind::BLUETOOTH; 239 kind: ProtoChipKind::BLUETOOTH, in create_test_device() 247 mocked::new(&mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, chip_id_1), in create_test_device() [all …]
|
D | chip.rs | 24 use netsim_proto::common::ChipKind as ProtoChipKind; 66 pub kind: ProtoChipKind, 80 pub kind: ProtoChipKind, 221 const CHIP_KIND: ProtoChipKind = ProtoChipKind::UNSPECIFIED; 244 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_new_and_get_with_singleton() 273 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_chip_get_stats() 285 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_chip_get() 309 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_chip_patch()
|
D | devices_handler.rs | 43 use netsim_proto::common::ChipKind as ProtoChipKind; 173 chip_kind == ProtoChipKind::BLUETOOTH_BEACON, in add_chip() 197 builtin: chip_kind == ProtoChipKind::BLUETOOTH_BEACON, in add_chip() 240 ProtoChipKind::BLUETOOTH, in add_chip_cxx() 249 (ProtoChipKind::WIFI, wireless::CreateParam::Wifi(wireless::wifi::CreateParams {})) in add_chip_cxx() 252 ProtoChipKind::UWB, in add_chip_cxx() 268 ProtoChipKind::BLUETOOTH, in add_chip_cxx() 270 chip_kind: ProtoChipKind::BLUETOOTH, in add_chip_cxx() 274 ProtoChipKind::WIFI, in add_chip_cxx() 276 chip_kind: ProtoChipKind::WIFI, in add_chip_cxx() [all …]
|
/tools/netsim/rust/daemon/src/grpc_server/ |
D | backend.rs | 25 use netsim_proto::common::ChipKind as ProtoChipKind; 39 ProtoChipKind::BLUETOOTH => { in add_chip() 45 ProtoChipKind::WIFI => wireless::CreateParam::Wifi(wireless::wifi::CreateParams {}), in add_chip() 46 ProtoChipKind::UWB => wireless::CreateParam::Uwb(wireless::uwb::CreateParams { in add_chip() 96 ProtoChipKind::WIFI | ProtoChipKind::UWB => { in stream_packets() 108 ProtoChipKind::BLUETOOTH => { in stream_packets()
|