Home
last modified time | relevance | path

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

/system/core/fastboot/
Dusb_windows.cpp57 ADBAPIHANDLE adb_interface; member
105 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
107 if (nullptr == ret->adb_interface) { in do_usb_open()
114 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, in do_usb_open()
120 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, in do_usb_open()
128 AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
135 if (AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
232 if (NULL != handle->adb_interface) in usb_cleanup_handle()
233 AdbCloseHandle(handle->adb_interface); in usb_cleanup_handle()
238 handle->adb_interface = NULL; in usb_cleanup_handle()
[all …]
/system/core/adb/
Dusb_windows.cpp51 ADBAPIHANDLE adb_interface; member
283 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
284 if (NULL == ret->adb_interface) { in do_usb_open()
292 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, in do_usb_open()
303 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, in do_usb_open()
314 AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
331 if (!AdbGetInterfaceName(ret->adb_interface, in do_usb_open()
477 if (NULL != handle->adb_interface) in usb_cleanup_handle()
478 _adb_close_handle(handle->adb_interface); in usb_cleanup_handle()
483 handle->adb_interface = NULL; in usb_cleanup_handle()
[all …]