Searched refs:adb_interface (Results 1 – 1 of 1) sorted by relevance
/packages/modules/adb/client/ |
D | usb_windows.cpp | 56 ADBAPIHANDLE adb_interface; member 269 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open() 270 if (nullptr == ret->adb_interface) { in do_usb_open() 278 ret->adb_interface, AdbOpenAccessTypeReadWrite, AdbOpenSharingModeReadWrite); in do_usb_open() 287 ret->adb_interface, AdbOpenAccessTypeReadWrite, AdbOpenSharingModeReadWrite); in do_usb_open() 296 AdbGetInterfaceName(ret->adb_interface, nullptr, &name_len, false); in do_usb_open() 310 if (!AdbGetInterfaceName(ret->adb_interface, ret->interface_name, &name_len, false)) { in do_usb_open() 443 if (nullptr != handle->adb_interface) _adb_close_handle(handle->adb_interface); in usb_cleanup_handle() 448 handle->adb_interface = nullptr; in usb_cleanup_handle() 502 if (!AdbGetUsbDeviceDescriptor(handle->adb_interface, &device_desc)) { in recognized_device() [all …]
|