Home
last modified time | relevance | path

Searched refs:adb_interface (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/
Dusb_windows.c54 ADBAPIHANDLE adb_interface; member
99 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
101 if (NULL == ret->adb_interface) { in do_usb_open()
109 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, in do_usb_open()
115 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, in do_usb_open()
123 AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
132 if (AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
242 if (NULL != handle->adb_interface) in usb_cleanup_handle()
243 AdbCloseHandle(handle->adb_interface); in usb_cleanup_handle()
248 handle->adb_interface = NULL; in usb_cleanup_handle()
[all …]
/system/core/adb/
Dusb_windows.c43 ADBAPIHANDLE adb_interface; member
203 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
205 if (NULL == ret->adb_interface) { in do_usb_open()
213 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, in do_usb_open()
219 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, in do_usb_open()
227 AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
236 if (AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
353 if (NULL != handle->adb_interface) in usb_cleanup_handle()
354 AdbCloseHandle(handle->adb_interface); in usb_cleanup_handle()
359 handle->adb_interface = NULL; in usb_cleanup_handle()
[all …]