/tools/netsim/rust/proto/src/ |
D | startup.rs | 160 pub chips: ::std::vec::Vec<super::Chip>, 302 pub chip: ::protobuf::MessageField<Chip>, 327 fields.push(::protobuf::reflect::rt::v2::make_message_field_accessor::<_, Chip>( in generated_message_descriptor_data() 438 pub struct Chip { struct 463 impl<'a> ::std::default::Default for &'a Chip { implementation 464 fn default() -> &'a Chip { in default() 465 <Chip as ::protobuf::Message>::default_instance() in default() 469 impl Chip { impl 470 pub fn new() -> Chip { in new() 479 |m: &Chip| { &m.kind }, in generated_message_descriptor_data() [all …]
|
D | model.rs | 346 pub struct Chip { struct 359 pub chip: ::std::option::Option<chip::Chip>, argument 365 impl<'a> ::std::default::Default for &'a Chip { implementation 366 fn default() -> &'a Chip { in default() 367 <Chip as ::protobuf::Message>::default_instance() in default() 371 impl Chip { implementation 372 pub fn new() -> Chip { in new() 380 ::std::option::Option::Some(chip::Chip::Bt(ref v)) => v, in bt() 391 ::std::option::Option::Some(chip::Chip::Bt(..)) => true, in has_bt() 398 self.chip = ::std::option::Option::Some(chip::Chip::Bt(v)) in set_bt() [all …]
|
/tools/netsim/rust/daemon/src/devices/ |
D | chip.rs | 26 use netsim_proto::model::Chip as ProtoChip; 58 chips: RwLock<HashMap<ChipIdentifier, Arc<Chip>>>, 76 pub struct Chip { struct 101 impl Chip { argument 163 pub fn get_chip(chip_id: &ChipIdentifier) -> Option<Arc<Chip>> { in get_chip() argument 168 pub fn remove_chip(chip_id: &ChipIdentifier) -> Option<Arc<Chip>> { in remove_chip() argument 183 ) -> Result<Arc<Chip>, String> { in new() argument 195 ) -> Result<Arc<Chip>, String> { in new_chip() argument 196 let chip = Arc::new(Chip::new(id, device_id, device_name, create_params, wireless_adaptor)); in new_chip() 201 fn get_chip(&self, chip_id: &ChipIdentifier) -> Option<Arc<Chip>> { in get_chip() argument [all …]
|
D | device.rs | 20 use crate::devices::chip::Chip; 49 pub chips: RwLock<BTreeMap<ChipIdentifier, Arc<Chip>>>, 137 ) -> Result<Option<Arc<Chip>>, String> { in match_target_chip() argument 139 let mut target: Option<Arc<Chip>> = None; in match_target_chip()
|
D | devices_handler.rs | 51 use netsim_proto::model::chip_create::Chip as ProtoBuiltin; 1453 ble_beacon::AdvertiseData, ble_beacon::AdvertiseSettings, BleBeacon, Chip, 1455 use netsim_proto::model::chip_create::{BleBeaconCreate, Chip as BuiltChipProto}; 1456 use netsim_proto::model::Chip as ChipProto; 1559 assert!(matches!(device_proto.chips[0].chip, Some(Chip::BleBeacon(_)))); in test_get_beacon_device() 1623 chip: Some(Chip::BleBeacon(BleBeacon { in test_patch_beacon_device() 1637 assert!(matches!(patched_device.chips[0].chip, Some(Chip::BleBeacon(_)))); in test_patch_beacon_device()
|
/tools/netsim/proto/netsim/ |
D | model.proto | 47 // Unknown Chip Kind 56 // Model of a Chip in netsim 57 message Chip { message 60 // Chip Identifier 69 // Radio state associated with the Chip 211 Chip.BleBeacon.AdvertiseSettings settings = 3; 213 Chip.BleBeacon.AdvertiseData adv_data = 4; 215 Chip.BleBeacon.AdvertiseData scan_response = 5; 249 repeated Chip chips = 6; 274 // Capture Identifier (Same as Chip Identifier)
|
D | startup.proto | 48 repeated Chip chips = 2; // list of SoCs associated with device 55 Chip chip = 2; // single chip 58 message Chip { message
|
/tools/netsim/rust/cli/src/ |
D | display.rs | 86 impl fmt::Display for Displayer<&model::Chip> { 92 Some(model::chip::Chip::BleBeacon(ble_beacon)) => { in fmt() 112 Some(model::chip::Chip::Bt(bt)) => { in fmt() 139 Some(model::chip::Chip::Wifi(wifi)) => { in fmt() 151 Some(model::chip::Chip::Uwb(uwb)) => { in fmt()
|
D | args.rs | 31 BleBeacon as Chip_Ble_Beacon, Bluetooth as Chip_Bluetooth, Chip as Chip_Type, 35 self, chip_create, Chip, ChipCreate as ChipCreateProto, Device, 99 let mut chip = Chip { ..Default::default() }; in get_request_bytes() 172 chip: Some(chip_create::Chip::BleBeacon( in get_request_bytes() 196 chips: vec![Chip { in get_request_bytes()
|
D | requests.rs | 65 BleBeacon as BleBeaconProto, Chip as ChipKindProto, 68 BleBeaconCreate as BleBeaconCreateProto, Chip as ChipKindCreateProto, 71 Chip as ChipProto, ChipCreate as ChipCreateProto, DeviceCreate as DeviceCreateProto, 102 let mut chip = model::Chip { ..Default::default() }; in get_expected_radio()
|
/tools/netsim/src/hci/ |
D | bluetooth_facade.cc | 276 std::shared_ptr<model::Chip::Bluetooth> model; 284 ChipInfo(uint32_t chip_id, std::shared_ptr<model::Chip::Bluetooth> model) in ChipInfo() 287 uint32_t chip_id, std::shared_ptr<model::Chip::Bluetooth> model, in ChipInfo() 298 model::Chip::Bluetooth Get(uint32_t id) { in Get() 299 model::Chip::Bluetooth model; in Get() 403 auto model = std::make_shared<model::Chip::Bluetooth>(); in Add() 429 auto model = std::make_shared<model::Chip::Bluetooth>(); in AddRustDevice()
|
D | bluetooth_facade.h | 40 model::Chip::Bluetooth Get(uint32_t);
|
/tools/netsim/ui/ts/ |
D | device-observer.ts | 1 import {Capture, Chip, Chip_Radio, Device as ProtoDevice,} from './netsim/model.js'; 83 get chips(): Chip[] { 88 set chips(value: Chip[]) { 104 toggleCapture(device: Device, chip: Chip) {
|
D | device-info.ts | 7 import {Chip, Chip_BleBeacon, Chip_Bluetooth, Chip_Radio,} from './netsim/model.js'; 447 private handleGetChip(chip: Chip, idx: number) { 484 const isBuiltin = (chip: Chip) =>
|
/tools/netsim/src/wifi/ |
D | wifi_facade.h | 34 void Patch(uint32_t, const model::Chip::Radio &); 35 model::Chip::Radio Get(uint32_t);
|
/tools/netsim/ui/ts/netsim/ |
D | model.ts | 47 export interface Chip { interface 255 chips: Chip[];
|
/tools/netsim/rust/cli/ |
D | netsim-cli.md | 105 include ID, Device Name, and Chip Kind 113 include ID, Device Name, and Chip Kind 118 include ID, Device Name, and Chip Kind
|
/tools/netsim/rust/daemon/src/transport/ |
D | fd.rs | 34 use netsim_proto::startup::{Chip as ChipProto, ChipInfo}; 53 chips: Vec<Chip>, 72 struct Chip { struct
|
/tools/netsim/rust/daemon/src/wireless/ |
D | mocked.rs | 20 use netsim_proto::model::Chip as ProtoChip;
|
D | wireless_adaptor.rs | 21 use netsim_proto::model::Chip as ProtoChip;
|
D | ble_beacon.rs | 21 use netsim_proto::model::Chip as ProtoChip;
|
D | wifi.rs | 23 use netsim_proto::model::Chip as ProtoChip;
|
/tools/netsim/rust/daemon/src/bluetooth/ |
D | mocked.rs | 24 use netsim_proto::model::chip_create::Chip as Builtin;
|
/tools/netsim/rust/daemon/src/uwb/ |
D | ranging_estimator.rs | 117 use netsim_proto::model::Chip as ProtoChip;
|
/tools/netsim/src/backend/ |
D | grpc_server.cc | 44 using netsim::startup::Chip;
|