Home
last modified time | relevance | path

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

/system/core/adb/
Dusb_windows.cpp54 char* interface_name; member
100 usb_handle* do_usb_open(const wchar_t* interface_name);
127 if((NULL != usb->interface_name) && in known_device_locked()
128 (0 == stricmp(usb->interface_name, dev_name))) { in known_device_locked()
156 if (known_device_locked(handle->interface_name)) { in register_new_device()
194 usb_handle* do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument
205 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
234 ret->interface_name = (char*)malloc(name_len); in do_usb_open()
236 if (NULL != ret->interface_name) { in do_usb_open()
239 ret->interface_name, in do_usb_open()
[all …]
/system/core/fastboot/
Dusb_windows.c63 char* interface_name; member
74 usb_handle* do_usb_open(const wchar_t* interface_name);
92 usb_handle* do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument
99 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
128 ret->interface_name = (char*)malloc(name_len); in do_usb_open()
130 if (NULL != ret->interface_name) { in do_usb_open()
133 ret->interface_name, in do_usb_open()
236 if (NULL != handle->interface_name) in usb_cleanup_handle()
237 free(handle->interface_name); in usb_cleanup_handle()
245 handle->interface_name = NULL; in usb_cleanup_handle()