/development/host/windows/usb/api/ |
adb_api.h | 275 @param[in] adb_interface A handle to interface object created with
289 ADBWIN_API bool __cdecl AdbGetInterfaceName(ADBAPIHANDLE adb_interface,
296 @param[in] adb_interface A handle to interface object created with
310 ADBWIN_API bool __cdecl AdbGetSerialNumber(ADBAPIHANDLE adb_interface,
318 @param[in] adb_interface A handle to interface object created with
325 ADBWIN_API bool __cdecl AdbGetUsbDeviceDescriptor(ADBAPIHANDLE adb_interface,
330 @param[in] adb_interface A handle to interface object created with
338 ADBAPIHANDLE adb_interface,
343 @param[in] adb_interface A handle to interface object created with
350 ADBWIN_API bool __cdecl AdbGetUsbInterfaceDescriptor(ADBAPIHANDLE adb_interface,
[all...] |
adb_api.cpp | 26 #include "adb_interface.h"
199 bool __cdecl AdbGetInterfaceName(ADBAPIHANDLE adb_interface,
205 LookupObject<AdbInterfaceObject>(adb_interface);
218 bool __cdecl AdbGetSerialNumber(ADBAPIHANDLE adb_interface,
224 LookupObject<AdbInterfaceObject>(adb_interface);
237 bool __cdecl AdbGetUsbDeviceDescriptor(ADBAPIHANDLE adb_interface,
241 LookupObject<AdbInterfaceObject>(adb_interface);
254 bool __cdecl AdbGetUsbConfigurationDescriptor(ADBAPIHANDLE adb_interface,
258 LookupObject<AdbInterfaceObject>(adb_interface);
271 bool __cdecl AdbGetUsbInterfaceDescriptor(ADBAPIHANDLE adb_interface,
[all...] |
/system/core/fastboot/ |
usb_windows.cpp | 57 ADBAPIHANDLE adb_interface; member in struct:usb_handle 105 ret->adb_interface = AdbCreateInterfaceByName(interface_name); 107 if (nullptr == ret->adb_interface) { 114 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, 120 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, 128 AdbGetInterfaceName(ret->adb_interface, 135 if (AdbGetInterfaceName(ret->adb_interface, 232 if (NULL != handle->adb_interface) 233 AdbCloseHandle(handle->adb_interface); 238 handle->adb_interface = NULL [all...] |
/system/core/adb/ |
usb_windows.cpp | 51 ADBAPIHANDLE adb_interface; member in struct:usb_handle 283 ret->adb_interface = AdbCreateInterfaceByName(interface_name); 284 if (NULL == ret->adb_interface) { 292 AdbOpenDefaultBulkReadEndpoint(ret->adb_interface, 303 AdbOpenDefaultBulkWriteEndpoint(ret->adb_interface, 314 AdbGetInterfaceName(ret->adb_interface, 331 if (!AdbGetInterfaceName(ret->adb_interface, 477 if (NULL != handle->adb_interface) 478 _adb_close_handle(handle->adb_interface); 483 handle->adb_interface = NULL [all...] |
/development/testrunner/test_defs/ |
host_test.py | 71 def Run(self, options, adb_interface): 82 adb_interface: reference to device under test 89 serial_number = adb_interface.GetSerialNumber()
|
/development/host/windows/usb/adb_winapi_test/ |
adb_winapi_test.cpp | 83 bool DeviceHandShake(ADBAPIHANDLE adb_interface);
461 bool DeviceHandShake(ADBAPIHANDLE adb_interface) {
465 if (!AdbGetInterfaceName(adb_interface, interf_name, &name_size, true)) {
475 if (!AdbGetSerialNumber(adb_interface, ser_num, &name_size, true)) {
478 if (!AdbGetSerialNumber(adb_interface, ser_num, &name_size, true)) {
480 AdbCloseHandle(adb_interface);
489 ADBAPIHANDLE adb_read = AdbOpenDefaultBulkReadEndpoint(adb_interface,
498 ADBAPIHANDLE adb_write = AdbOpenDefaultBulkWriteEndpoint(adb_interface,
|
/development/testrunner/coverage/ |
coverage.py | 59 def __init__(self, adb_interface): 65 self._adb = adb_interface
|
/development/testrunner/ |
runtest.py | 42 import adb_interface 208 self._adb = adb_interface.AdbInterface()
|