Home
last modified time | relevance | path

Searched refs:dev_path (Results 1 – 3 of 3) sorted by relevance

/packages/modules/adb/client/
Dusb_linux.cpp544 static void register_device(const char* dev_name, const char* dev_path, unsigned char ep_in, in register_device() argument
549 android::base::StringPrintf("/sys/bus/usb/devices/%s/serial", dev_path + 4); in register_device()
560 if (!transport_server_owns_device(dev_path, serial)) { in register_device()
619 register_usb_transport(done_usb, serial.c_str(), dev_path, done_usb->writeable); in register_device()
/packages/modules/adb/
Dtransport.h464 bool transport_server_owns_device(std::string_view dev_path, std::string_view serial);
Dtransport.cpp903 bool transport_server_owns_device(std::string_view dev_path, std::string_view serial) { in transport_server_owns_device() argument
909 dev_path.compare(__transport_server_one_device) == 0; in transport_server_owns_device()