Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dusb_windows.cpp65 wchar_t* interface_name; member
111 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() argument
269 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 …]
/packages/modules/Bluetooth/system/test/headless/
Dheadless.cc53 void headless_add_callback(const std::string interface_name, in headless_add_callback() argument
55 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() argument
64 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()
Dinterface.h233 void headless_add_callback(const std::string interface_name,
235 void headless_remove_callback(const std::string interface_name);
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto1194 optional string interface_name = 27; field
1603 optional string interface_name = 27; field