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.cpp45 ADBAPIHANDLE adb_interface; member
205 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
207 if (NULL == ret->adb_interface) { in do_usb_open()
215 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, in do_usb_open()
221 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, in do_usb_open()
229 AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
238 if (AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
355 if (NULL != handle->adb_interface) in usb_cleanup_handle()
356 AdbCloseHandle(handle->adb_interface); in usb_cleanup_handle()
361 handle->adb_interface = NULL; in usb_cleanup_handle()
[all …]