Searched refs:interface_name (Results 1 – 10 of 10) sorted by relevance
48 const wchar_t* interface_name) { in InstantiateWinUsbInterface() argument50 if (NULL == interface_name) { in InstantiateWinUsbInterface()56 return new AdbWinUsbInterfaceObject(interface_name); in InstantiateWinUsbInterface()
57 usb_device_handle_ = CreateFile(interface_name().c_str(), in CreateHandle()
52 wcscpy(reinterpret_cast<wchar_t*>(buffer), interface_name().c_str()); in GetInterfaceName()59 interface_name().c_str(), in GetInterfaceName()
40 HANDLE usb_device_handle = CreateFile(interface_name().c_str(), in CreateHandle()112 HANDLE usb_device_handle = CreateFile(interface_name().c_str(), in GetSerialNumber()175 HANDLE usb_device_handle = CreateFile(interface_name().c_str(), in GetEndpointInformation()268 std::wstring endpoint_path = interface_name(); in OpenEndpoint()
71 const std::wstring& interface_name() const { in interface_name() function
135 bool IsLegacyInterface(const wchar_t* interface_name);
247 bool IsLegacyInterface(const wchar_t* interface_name) { in IsLegacyInterface() argument249 HANDLE usb_device_handle = CreateFile(interface_name, in IsLegacyInterface()
107 const wchar_t* interface_name) { in AdbCreateInterfaceByName() argument113 if (IsLegacyInterface(interface_name)) { in AdbCreateInterfaceByName()115 obj = new AdbLegacyInterfaceObject(interface_name); in AdbCreateInterfaceByName()121 obj = InstantiateWinUsbInterface(interface_name); in AdbCreateInterfaceByName()
163 const std::wstring& interface_name() const { in interface_name() function
271 ADBWIN_API ADBAPIHANDLE __cdecl AdbCreateInterfaceByName(const wchar_t* interface_name);