Home
last modified time | relevance | path

Searched refs:add_device (Results 1 – 2 of 2) sorted by relevance

/system/nfc/tools/casimir/src/
Dmain.rs213 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()
Dmain-grpc.rs228 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()