Searched refs:dev_name (Results 1 – 4 of 4) sorted by relevance
/packages/modules/adb/client/ |
D | usb_linux.cpp | 100 static int is_known_device(std::string_view dev_name) { in is_known_device() argument 103 if (usb->path == dev_name) { in is_known_device() 160 std::string dev_name = bus_name + "/" + de->d_name; in find_usb_device() local 161 if (is_known_device(dev_name)) { in find_usb_device() 165 int fd = unix_open(dev_name, O_RDONLY | O_CLOEXEC); in find_usb_device() 188 DBGX("[ %s is V:%04x P:%04x ]\n", dev_name.c_str(), device->idVendor, in find_usb_device() 293 register_device_callback(dev_name.c_str(), devpath, local_ep_in, in find_usb_device() 544 static void register_device(const char* dev_name, const char* dev_path, unsigned char ep_in, in register_device() argument 575 if (usb->path == dev_name) { in register_device() 581 D("[ usb located new device %s (%d/%d/%d) ]", dev_name, ep_in, ep_out, interface); in register_device() [all …]
|
D | usb_windows.cpp | 84 int known_device(const wchar_t* dev_name); 88 int known_device_locked(const wchar_t* dev_name); 128 int known_device_locked(const wchar_t* dev_name) { in known_device_locked() argument 129 if (nullptr != dev_name) { in known_device_locked() 133 if ((nullptr != usb->interface_name) && (0 == wcsicmp(usb->interface_name, dev_name))) { in known_device_locked() 142 int known_device(const wchar_t* dev_name) { in known_device() argument 145 if (nullptr != dev_name) { in known_device() 147 ret = known_device_locked(dev_name); in known_device()
|
/packages/modules/Bluetooth/system/btif/co/ |
D | bta_hh_co.cc | 582 void bta_hh_co_send_hid_info(btif_hh_device_t* p_dev, const char* dev_name, in bta_hh_co_send_hid_info() argument 594 log::warn("fd = {}, name = [{}], dscp_len = {}", p_dev->uhid.fd, dev_name, in bta_hh_co_send_hid_info() 604 strlcpy((char*)ev.u.create.name, dev_name, sizeof(ev.u.create.name)); in bta_hh_co_send_hid_info()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_hh.cc | 155 void bta_hh_co_send_hid_info(btif_hh_device_t* p_dev, const char* dev_name,
|