Home
last modified time | relevance | path

Searched refs:ADBAPIHANDLE (Results 1 – 17 of 17) sorted by relevance

/development/host/windows/usb/api/
Dadb_api.h142 typedef void* ADBAPIHANDLE; typedef
208 ADBWIN_API ADBAPIHANDLE __cdecl AdbEnumInterfaces(GUID class_id,
231 ADBWIN_API bool __cdecl AdbNextInterface(ADBAPIHANDLE adb_handle,
243 ADBWIN_API bool __cdecl AdbResetInterfaceEnum(ADBAPIHANDLE adb_handle);
252 ADBWIN_API ADBAPIHANDLE __cdecl AdbCreateInterfaceByName(const wchar_t* interface_name);
268 ADBWIN_API ADBAPIHANDLE __cdecl AdbCreateInterface(GUID class_id,
289 ADBWIN_API bool __cdecl AdbGetInterfaceName(ADBAPIHANDLE adb_interface,
310 ADBWIN_API bool __cdecl AdbGetSerialNumber(ADBAPIHANDLE adb_interface,
325 ADBWIN_API bool __cdecl AdbGetUsbDeviceDescriptor(ADBAPIHANDLE adb_interface,
338 ADBAPIHANDLE adb_interface,
[all …]
Dadb_api.cpp41 ADBAPIHANDLE __cdecl AdbEnumInterfaces(GUID class_id, in AdbEnumInterfaces()
46 ADBAPIHANDLE ret = NULL; in AdbEnumInterfaces()
69 bool __cdecl AdbNextInterface(ADBAPIHANDLE adb_handle, in AdbNextInterface()
91 bool __cdecl AdbResetInterfaceEnum(ADBAPIHANDLE adb_handle) { in AdbResetInterfaceEnum()
106 ADBAPIHANDLE __cdecl AdbCreateInterfaceByName( in AdbCreateInterfaceByName()
109 ADBAPIHANDLE ret = NULL; in AdbCreateInterfaceByName()
142 ADBAPIHANDLE __cdecl AdbCreateInterface(GUID class_id, in AdbCreateInterface()
199 bool __cdecl AdbGetInterfaceName(ADBAPIHANDLE adb_interface, in AdbGetInterfaceName()
218 bool __cdecl AdbGetSerialNumber(ADBAPIHANDLE adb_interface, in AdbGetSerialNumber()
237 bool __cdecl AdbGetUsbDeviceDescriptor(ADBAPIHANDLE adb_interface, in AdbGetUsbDeviceDescriptor()
[all …]
Dadb_object_handle.h119 virtual ADBAPIHANDLE CreateHandle();
146 static AdbObjectHandle* Lookup(ADBAPIHANDLE adb_handle);
158 ADBAPIHANDLE adb_handle() const { in adb_handle()
175 ADBAPIHANDLE adb_handle_;
185 typedef std::map< ADBAPIHANDLE, AdbObjectHandle* > AdbObjectHandleMap;
195 obj_class* LookupObject(ADBAPIHANDLE adb_handle) { in LookupObject()
Dadb_endpoint_object.h75 virtual ADBAPIHANDLE CommonAsyncReadWrite(bool is_read,
127 virtual ADBAPIHANDLE AsyncRead(void* buffer,
147 virtual ADBAPIHANDLE AsyncWrite(void* buffer,
206 ADBAPIHANDLE GetParentInterfaceHandle() const { in GetParentInterfaceHandle()
Dadb_legacy_interface.h61 virtual ADBAPIHANDLE CreateHandle();
115 virtual ADBAPIHANDLE OpenEndpoint(UCHAR endpoint_index,
139 ADBAPIHANDLE OpenEndpoint(const wchar_t* endpoint_name,
Dadb_object_handle.cpp64 ADBAPIHANDLE AdbObjectHandle::CreateHandle() { in CreateHandle()
65 ADBAPIHANDLE ret = NULL; in CreateHandle()
77 ret = reinterpret_cast<ADBAPIHANDLE>(next_adb_handle_value); in CreateHandle()
148 AdbObjectHandle* AdbObjectHandle::Lookup(ADBAPIHANDLE adb_hndl) { in Lookup()
Dadb_legacy_endpoint_object.h72 virtual ADBAPIHANDLE CommonAsyncReadWrite(bool is_read,
116 virtual ADBAPIHANDLE CreateHandle(const wchar_t* item_path,
Dadb_endpoint_object.cpp50 ADBAPIHANDLE AdbEndpointObject::AsyncRead(void* buffer, in AsyncRead()
63 ADBAPIHANDLE AdbEndpointObject::AsyncWrite(void* buffer, in AsyncWrite()
Dadb_legacy_endpoint_object.cpp43 ADBAPIHANDLE AdbLegacyEndpointObject::CommonAsyncReadWrite( in CommonAsyncReadWrite()
76 ADBAPIHANDLE ret = adb_io_completion->CreateHandle(); in CommonAsyncReadWrite()
191 ADBAPIHANDLE AdbLegacyEndpointObject::CreateHandle( in CreateHandle()
217 ADBAPIHANDLE ret = AdbObjectHandle::CreateHandle(); in CreateHandle()
Dadb_legacy_interface.cpp38 ADBAPIHANDLE AdbLegacyInterfaceObject::CreateHandle() { in CreateHandle()
212 ADBAPIHANDLE AdbLegacyInterfaceObject::OpenEndpoint( in OpenEndpoint()
245 ADBAPIHANDLE AdbLegacyInterfaceObject::OpenEndpoint( in OpenEndpoint()
272 ADBAPIHANDLE ret = adb_endpoint->CreateHandle(endpoint_path.c_str(), in OpenEndpoint()
Dadb_io_completion.h112 ADBAPIHANDLE GetParentObjectHandle() const { in GetParentObjectHandle()
Dadb_interface.h105 virtual ADBAPIHANDLE OpenEndpoint(UCHAR endpoint_index,
/development/host/windows/usb/winusb/
Dadb_winusb_interface.h80 virtual ADBAPIHANDLE CreateHandle();
145 virtual ADBAPIHANDLE OpenEndpoint(UCHAR endpoint_index,
162 ADBAPIHANDLE OpenEndpoint(UCHAR endpoint_id, UCHAR endpoint_index);
Dadb_winusb_interface.cpp54 ADBAPIHANDLE AdbWinUsbInterfaceObject::CreateHandle() { in CreateHandle()
295 ADBAPIHANDLE AdbWinUsbInterfaceObject::OpenEndpoint( in OpenEndpoint()
318 ADBAPIHANDLE AdbWinUsbInterfaceObject::OpenEndpoint(UCHAR endpoint_id, in OpenEndpoint()
335 ADBAPIHANDLE ret = adb_endpoint->CreateHandle(); in OpenEndpoint()
Dadb_winusb_endpoint_object.cpp96 ADBAPIHANDLE AdbWinUsbEndpointObject::CommonAsyncReadWrite( in CommonAsyncReadWrite()
122 ADBAPIHANDLE ret = adb_io_completion->CreateHandle(); in CommonAsyncReadWrite()
Dadb_winusb_endpoint_object.h106 virtual ADBAPIHANDLE CommonAsyncReadWrite(bool is_read,
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp80 bool TestInterfaceHandle(ADBAPIHANDLE interface_handle);
83 bool DeviceHandShake(ADBAPIHANDLE adb_interface);
112 ADBAPIHANDLE enum_handle = in TestEnumInterfaces()
162 ADBAPIHANDLE enum_handle = in TestInterfaces()
201 ADBAPIHANDLE interface_handle = AdbCreateInterfaceByName(device_name); in TestInterface()
217 bool TestInterfaceName(ADBAPIHANDLE interface_handle) { in TestInterfaceName()
298 bool TestInterfaceHandle(ADBAPIHANDLE interface_handle) { in TestInterfaceHandle()
461 bool DeviceHandShake(ADBAPIHANDLE adb_interface) { in DeviceHandShake()
489 ADBAPIHANDLE adb_read = AdbOpenDefaultBulkReadEndpoint(adb_interface, in DeviceHandShake()
498 ADBAPIHANDLE adb_write = AdbOpenDefaultBulkWriteEndpoint(adb_interface, in DeviceHandShake()
[all …]