Searched refs:devpath (Results 1 – 9 of 9) sorted by relevance
/packages/modules/adb/client/ |
D | usb_osx.cpp | 60 std::string devpath; member 78 static bool IsKnownDevice(const std::string& devpath) { in IsKnownDevice() argument 81 if (usb->devpath == devpath) { in IsKnownDevice() 160 std::string devpath; in AndroidInterfaceAdded() local 237 devpath = android::base::StringPrintf("usb:%" PRIu32 "X", locationId); in AndroidInterfaceAdded() 238 if (IsKnownDevice(devpath)) { in AndroidInterfaceAdded() 298 if (devpath.empty()) { in AndroidInterfaceAdded() 299 devpath = serial; in AndroidInterfaceAdded() 301 if (IsKnownDevice(devpath)) { in AndroidInterfaceAdded() 307 if (!transport_server_owns_device(devpath, serial)) { in AndroidInterfaceAdded() [all …]
|
D | usb_linux.cpp | 225 char *devpath = nullptr; in find_usb_device() local 288 devpath = pathbuf; in find_usb_device() 293 register_device_callback(dev_name.c_str(), devpath, local_ep_in, in find_usb_device()
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | state_machine.rs | 487 let devpath = in configure_hci() localVariable 504 devpath, hci, false, in configure_hci() 701 AdapterStateActions::HciDevicePresence(devpath, i, present) => { in mainloop() 704 .get_virtual_id_by_devpath(devpath.clone()) in mainloop() 711 hci = context.state_machine.get_updated_virtual_id(devpath.clone(), *i); in mainloop() 1087 pub devpath: DevPath, field 1114 pub fn new(devpath: DevPath, real_hci: RealHciIndex, virt_hci: VirtualHciIndex) -> Self { in new() 1117 devpath, in new() 1207 pub(crate) fn get_virtual_id_by_devpath(&self, devpath: DevPath) -> Option<VirtualHciIndex> { in get_virtual_id_by_devpath() 1208 if devpath.is_empty() { in get_virtual_id_by_devpath() [all …]
|
/packages/modules/adb/ |
D | transport_test.cpp | 146 std::string devpath = "/path/to/bar"; in TEST_F() local 153 t.devpath = &devpath[0]; in TEST_F() 163 EXPECT_TRUE(t.MatchesTarget(devpath)); in TEST_F()
|
D | transport.cpp | 1320 return (target == devpath) || qual_match(target, "product:", product, false) || in MatchesTarget() 1381 device->set_bus_address(sanitize(t->devpath, false)); in transportListToProto() 1424 append_transport_info(result, "", t->devpath, false); in append_transport() 1584 const char* devpath, unsigned writeable) { in register_libusb_transport() argument 1589 if (devpath) { in register_libusb_transport() 1590 t->devpath = devpath; in register_libusb_transport() 1603 void register_usb_transport(usb_handle* usb, const char* serial, const char* devpath, in register_usb_transport() argument 1613 if (devpath) { in register_usb_transport() 1614 t->devpath = devpath; in register_usb_transport()
|
D | transport.h | 327 std::string devpath; variable 509 const char* devpath, unsigned writable); 511 void register_usb_transport(usb_handle* h, const char* serial, const char* devpath,
|
D | adb.cpp | 1503 SendOkay(reply_fd, !t->devpath.empty() ? t->devpath : "unknown"); in handle_host_request()
|
/packages/modules/adb/docs/dev/ |
D | services.md | 93 <host-prefix>:get-devpath
|
/packages/modules/adb/docs/user/ |
D | adb.1.md | 300 get-devpath
|