/aosp_15_r20/tools/netsim/rust/daemon/src/captures/ |
H A D | captures_handler.rs | 64 fn get_file(id: ChipIdentifier, device_name: String, chip_kind: ChipKind) -> Result<File> { in get_file() 170 pub fn patch_capture(id: ChipIdentifier, state: bool) -> anyhow::Result<()> { in patch_capture() 190 id: ChipIdentifier, in handle_capture_patch() 220 fn get_id(param: &str) -> anyhow::Result<ChipIdentifier> { in get_id() 285 chip_id: ChipIdentifier, in handle_packet() 336 pub fn host_to_controller(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in host_to_controller() 346 pub fn controller_to_host(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in controller_to_host()
|
H A D | capture.rs | 86 pub fn new(chip_kind: ChipKind, chip_id: ChipIdentifier, device_name: String) -> Self { in new() 195 chip_id: ChipIdentifier, in send() 231 pub fn iter(&self) -> Iter<ChipIdentifier, Arc<Mutex<CaptureInfo>>> { in iter() 238 pub fn remove(&mut self, key: &ChipIdentifier) { in remove() 251 pub fn values(&self) -> Values<ChipIdentifier, Arc<Mutex<CaptureInfo>>> { in values()
|
/aosp_15_r20/tools/netsim/rust/daemon/src/bluetooth/ |
H A D | beacon.rs | 60 ) -> &'static RwLock<HashMap<ChipIdentifier, Mutex<UniquePtr<ffi_bluetooth::RustBluetoothChip>>>> { in get_bt_chips() 86 chip_id: ChipIdentifier, in new() 107 chip_id: ChipIdentifier, in from_proto() 250 chip_id: ChipIdentifier, in ble_beacon_add() 281 chip_id: ChipIdentifier, in ble_beacon_remove() 296 chip_id: ChipIdentifier, in ble_beacon_patch() 359 chip_id: ChipIdentifier, in ble_beacon_get() 429 fn new_test_beacon_with_settings(settings: AdvertiseSettingsProto) -> ChipIdentifier { in new_test_beacon_with_settings() 450 fn cleanup_beacon(chip_id: ChipIdentifier) { in cleanup_beacon()
|
H A D | mocked.rs | 39 chip_id: ChipIdentifier, in ble_beacon_add() 61 chip_id: ChipIdentifier, in ble_beacon_remove()
|
H A D | chip.rs | 47 chip_id: ChipIdentifier, in rust_bluetooth_add()
|
/aosp_15_r20/tools/netsim/rust/daemon/src/wireless/ |
H A D | packet.rs | 62 pub fn register_transport(chip_id: ChipIdentifier, responder: Box<dyn Response + Send>) { in register_transport() 67 pub fn unregister_transport(chip_id: ChipIdentifier) { in unregister_transport() 78 chip_id: ChipIdentifier, in register_transport() 97 pub fn unregister_transport(&self, chip_id: ChipIdentifier) { in unregister_transport() 127 pub fn handle_response(chip_id: ChipIdentifier, packet: &Bytes) { in handle_response() 145 pub fn handle_request(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u8) { in handle_request()
|
/aosp_15_r20/tools/netsim/rust/daemon/src/devices/ |
H A D | chip.rs | 36 pub struct ChipIdentifier(pub u32); struct 40 impl fmt::Display for ChipIdentifier { implementation 46 impl fmt::Debug for ChipIdentifier { implementation 109 fn next_id(&self) -> ChipIdentifier { in next_id() 116 id: ChipIdentifier, in new() 191 id: ChipIdentifier, in new() 203 id: ChipIdentifier, in new_chip()
|
H A D | device.rs | 200 chip_id: ChipIdentifier, in add_chip() 202 ) -> Result<(DeviceIdentifier, ChipIdentifier), String> { in add_chip() argument
|
H A D | devices_handler.rs | 702 fn get_distance(id: &ChipIdentifier, other_id: &ChipIdentifier) -> Result<f32, String> { in get_distance()
|
/aosp_15_r20/tools/netsim/rust/daemon/src/uwb/ |
H A D | ranging_estimator.rs | 42 pub fn get_chip_id(&self, pica_id: &Handle) -> anyhow::Result<ChipIdentifier> { in get_chip_id() 46 pub fn insert(&self, pica_id: Handle, chip_id: ChipIdentifier) { in insert() 67 fn handle_to_netsim_model(&self, handle: &Handle) -> Option<(ChipIdentifier, ProtoDevice)> { in handle_to_netsim_model() 119 fn create_proto_device_with_uwb_chip(uwb_state: bool) -> (ProtoDevice, ChipIdentifier) { in create_proto_device_with_uwb_chip() argument
|
/aosp_15_r20/tools/netsim/rust/daemon/src/transport/ |
H A D | fd.rs | 69 chip_id: ChipIdentifier, in fd_reader()
|