Home
last modified time | relevance | path

Searched refs:Chip (Results 1 – 25 of 31) sorted by relevance

12

/tools/netsim/rust/proto/src/
Dstartup.rs160 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 …]
Dmodel.rs346 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/
Dchip.rs26 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 …]
Ddevice.rs20 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()
Ddevices_handler.rs51 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/
Dmodel.proto47 // 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)
Dstartup.proto48 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/
Ddisplay.rs86 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()
Dargs.rs31 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()
Drequests.rs65 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/
Dbluetooth_facade.cc276 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()
Dbluetooth_facade.h40 model::Chip::Bluetooth Get(uint32_t);
/tools/netsim/ui/ts/
Ddevice-observer.ts1 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) {
Ddevice-info.ts7 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/
Dwifi_facade.h34 void Patch(uint32_t, const model::Chip::Radio &);
35 model::Chip::Radio Get(uint32_t);
/tools/netsim/ui/ts/netsim/
Dmodel.ts47 export interface Chip { interface
255 chips: Chip[];
/tools/netsim/rust/cli/
Dnetsim-cli.md105 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/
Dfd.rs34 use netsim_proto::startup::{Chip as ChipProto, ChipInfo};
53 chips: Vec<Chip>,
72 struct Chip { struct
/tools/netsim/rust/daemon/src/wireless/
Dmocked.rs20 use netsim_proto::model::Chip as ProtoChip;
Dwireless_adaptor.rs21 use netsim_proto::model::Chip as ProtoChip;
Dble_beacon.rs21 use netsim_proto::model::Chip as ProtoChip;
Dwifi.rs23 use netsim_proto::model::Chip as ProtoChip;
/tools/netsim/rust/daemon/src/bluetooth/
Dmocked.rs24 use netsim_proto::model::chip_create::Chip as Builtin;
/tools/netsim/rust/daemon/src/uwb/
Dranging_estimator.rs117 use netsim_proto::model::Chip as ProtoChip;
/tools/netsim/src/backend/
Dgrpc_server.cc44 using netsim::startup::Chip;

12