Home
last modified time | relevance | path

Searched refs:create_params (Results 1 – 3 of 3) sorted by relevance

/tools/netsim/rust/daemon/src/devices/
Dchip.rs106 create_params: &CreateParams, in new()
113 kind: create_params.kind, in new()
114 address: create_params.address.clone(), in new()
115 name: create_params.name.clone().unwrap_or(format!("chip-{}", id.0)), in new()
117 manufacturer: RwLock::new(create_params.manufacturer.clone()), in new()
118 product_name: RwLock::new(create_params.product_name.clone()), in new()
181 create_params: &CreateParams, in new()
184 CHIP_MANAGER.new_chip(id, device_id, device_name, create_params, wireless_adaptor) in new()
193 create_params: &CreateParams, in new_chip()
196 let chip = Arc::new(Chip::new(id, device_id, device_name, create_params, wireless_adaptor)); in new_chip()
[all …]
/tools/netsim/rust/daemon/src/wireless/
Dmocked.rs61 pub fn new(create_params: &CreateParams, _chip_id: ChipIdentifier) -> WirelessAdaptorImpl { in new()
62 Box::new(Mock { chip_kind: create_params.chip_kind }) in new()
Dbluetooth.rs174 pub fn new(create_params: &CreateParams, chip_id: ChipIdentifier) -> WirelessAdaptorImpl { in new()
177 let_cxx_string!(cxx_address = create_params.address.clone()); in new()
178 let proto_bytes = match &create_params.bt_properties { in new()