Lines Matching refs:adb_interface
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()
511 if (!AdbGetUsbInterfaceDescriptor(handle->adb_interface, &interf_desc)) { in recognized_device()
529 if (AdbGetEndpointInformation(handle->adb_interface, 0, &endpoint_info)) { in recognized_device()
575 if (AdbGetSerialNumber(handle->adb_interface, serial_number, &serial_number_len, in find_devices()