Searched refs:add_device (Results 1 – 2 of 2) sorted by relevance
/system/nfc/tools/casimir/src/ |
D | main.rs | 213 fn add_device(&mut self, builder: impl FnOnce(Id) -> Device) -> Result<Id> { in add_device() method 317 match scene.add_device(|id| Device::nci(id, socket, rf_tx.clone())) { in run() 325 match scene.add_device(|id| Device::rf(id, socket, rf_tx.clone())) { in run()
|
D | main-grpc.rs | 228 fn add_device(&mut self, builder: impl FnOnce(Id) -> Device) -> Result<Id> { in add_device() method 437 match scene.add_device(|id| Device::nci(id, socket, rf_tx.clone())) { in run() 450 match scene.add_device(|id| Device::rf(id, socket, rf_tx.clone())) { in run()
|