Searched refs:interface_name (Results 1 – 4 of 4) sorted by relevance
65 wchar_t* interface_name; member111 usb_handle* do_usb_open(const wchar_t* interface_name);133 if ((nullptr != usb->interface_name) && (0 == wcsicmp(usb->interface_name, dev_name))) { in known_device_locked()159 if (known_device_locked(handle->interface_name)) { in register_new_device()258 usb_handle* do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument269 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()303 ret->interface_name = (wchar_t*)malloc(name_len * sizeof(ret->interface_name[0])); in do_usb_open()304 if (nullptr == ret->interface_name) { in do_usb_open()310 if (!AdbGetInterfaceName(ret->adb_interface, ret->interface_name, &name_len, false)) { in do_usb_open()437 if (nullptr != handle->interface_name) free(handle->interface_name); in usb_cleanup_handle()[all …]
53 void headless_add_callback(const std::string interface_name, in headless_add_callback() argument55 if (interface_api_callback_map_.find(interface_name) == in headless_add_callback()57 interface_api_callback_map_.emplace(interface_name, in headless_add_callback()60 interface_api_callback_map_[interface_name].push_back(function); in headless_add_callback()63 void headless_remove_callback(const std::string interface_name) { in headless_remove_callback() argument64 if (interface_api_callback_map_.find(interface_name) == in headless_remove_callback()66 log::fatal("No callbacks registered for interface:{}", interface_name); in headless_remove_callback()68 interface_api_callback_map_.erase(interface_name); in headless_remove_callback()
233 void headless_add_callback(const std::string interface_name,235 void headless_remove_callback(const std::string interface_name);
1194 optional string interface_name = 27; field1603 optional string interface_name = 27; field