Home
last modified time | relevance | path

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

/system/core/fastboot/
Dusb_windows.c53 ADBAPIHANDLE adb_interface; member
98 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
100 if (NULL == ret->adb_interface) { in do_usb_open()
108 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, in do_usb_open()
114 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, in do_usb_open()
122 AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
131 if (AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
241 if (NULL != handle->adb_interface) in usb_cleanup_handle()
242 AdbCloseHandle(handle->adb_interface); in usb_cleanup_handle()
247 handle->adb_interface = NULL; in usb_cleanup_handle()
[all …]
/system/core/adb/
Dusb_windows.c41 ADBAPIHANDLE adb_interface; member
201 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
203 if (NULL == ret->adb_interface) { in do_usb_open()
211 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, in do_usb_open()
217 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, in do_usb_open()
225 AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
234 if (AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
351 if (NULL != handle->adb_interface) in usb_cleanup_handle()
352 AdbCloseHandle(handle->adb_interface); in usb_cleanup_handle()
357 handle->adb_interface = NULL; in usb_cleanup_handle()
[all …]