Searched refs:DeviceAdded (Results 1 – 3 of 3) sorted by relevance
/tools/netsim/rust/daemon/src/ |
D | events.rs | 38 pub struct DeviceAdded { struct 82 DeviceAdded(DeviceAdded), enumerator 174 Ok(Event::DeviceAdded(DeviceAdded { id, name, builtin: false })) => { in test_subscribe_and_publish() 181 events.lock().unwrap().publish(Event::DeviceAdded(DeviceAdded { in test_subscribe_and_publish() 201 Ok(Event::DeviceAdded(DeviceAdded { id, name, builtin: false })) => { in test_publish_to_multiple_subscribers() 210 events.lock().unwrap().publish(Event::DeviceAdded(DeviceAdded { in test_publish_to_multiple_subscribers() 231 events.lock().unwrap().publish(Event::DeviceAdded(DeviceAdded { in test_publish_to_dropped_subscriber()
|
D | session.rs | 104 Ok(Event::DeviceAdded(_)) => { in start() 209 ChipAdded, ChipRemoved, DeviceAdded, DeviceRemoved, Event, Events, ShutDown, 293 Event::DeviceAdded(DeviceAdded { builtin: false, ..Default::default() }), in test_start_and_device_add() 327 Event::DeviceAdded(DeviceAdded { in test_start_and_device_add_and_remove() 345 Event::DeviceAdded(DeviceAdded { in test_start_and_device_add_and_remove()
|
/tools/netsim/rust/daemon/src/devices/ |
D | devices_handler.rs | 32 ChipAdded, ChipRemoved, DeviceAdded, DevicePatched, DeviceRemoved, Event, Events, ShutDown, 149 events::publish(Event::DeviceAdded(DeviceAdded { id, name: name.to_string(), builtin })); in get_or_create_device() 687 Ok(Event::DeviceAdded(_)) in handle_device_subscribe() 784 DeviceAdded, enumerator 801 Ok(Event::DeviceAdded(DeviceAdded { builtin: false, .. })) in check_device_event() 802 | Ok(Event::ChipAdded(ChipAdded { builtin: false, .. })) => DeviceWaitStatus::DeviceAdded, in check_device_event() 837 DeviceWaitStatus::DeviceAdded => { in spawn_shutdown_publisher_with_timeout() 1730 Event::DeviceAdded(DeviceAdded { in test_check_device_event_device_chip_added() 1736 assert_eq!(check_device_event(&events_rx, None), DeviceWaitStatus::DeviceAdded); in test_check_device_event_device_chip_added() 1741 assert_eq!(check_device_event(&events_rx, None), DeviceWaitStatus::DeviceAdded); in test_check_device_event_device_chip_added()
|