Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dusb_linux.cpp537 static void register_device(const char* dev_name, const char* dev_path, unsigned char ep_in, in register_device() argument
542 android::base::StringPrintf("/sys/bus/usb/devices/%s/serial", dev_path + 4); in register_device()
553 if (!transport_server_owns_device(dev_path, serial)) { in register_device()
612 register_usb_transport(done_usb, serial.c_str(), dev_path, done_usb->writeable); in register_device()
/packages/modules/Bluetooth/system/btif/co/
Dbta_hh_co.cc43 const char* dev_path = "/dev/uhid"; variable
289 p_dev->fd = open(dev_path, O_RDWR | O_CLOEXEC); in uhid_fd_open()
/packages/modules/adb/
Dtransport.h455 bool transport_server_owns_device(std::string_view dev_path, std::string_view serial);
Dtransport.cpp992 bool transport_server_owns_device(std::string_view dev_path, std::string_view serial) { in transport_server_owns_device() argument
998 dev_path.compare(__transport_server_one_device) == 0; in transport_server_owns_device()