Home
last modified time | relevance | path

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

/system/core/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()
257 usb_handle* do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument
268 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
302 ret->interface_name = (wchar_t*)malloc(name_len * sizeof(ret->interface_name[0])); in do_usb_open()
303 if (nullptr == ret->interface_name) { in do_usb_open()
309 if (!AdbGetInterfaceName(ret->adb_interface, ret->interface_name, &name_len, false)) { in do_usb_open()
436 if (nullptr != handle->interface_name) free(handle->interface_name); in usb_cleanup_handle()
[all …]
/system/core/fastboot/
Dusb_windows.cpp66 std::string interface_name; member
92 std::unique_ptr<usb_handle> do_usb_open(const wchar_t* interface_name);
101 std::unique_ptr<usb_handle> do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument
106 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
110 DBG("failed to open interface %S\n", interface_name); in do_usb_open()
136 ret->interface_name.resize(name_len); in do_usb_open()
138 &ret->interface_name[0], in do_usb_open()
237 handle->interface_name.clear(); in usb_cleanup_handle()
/system/connectivity/wificond/
Dap_interface_impl.cpp38 ApInterfaceImpl::ApInterfaceImpl(const string& interface_name, in ApInterfaceImpl() argument
42 : interface_name_(interface_name), in ApInterfaceImpl()
Dap_interface_impl.h44 ApInterfaceImpl(const std::string& interface_name,
Dclient_interface_impl.cpp101 const std::string& interface_name, in ClientInterfaceImpl() argument
108 interface_name_(interface_name), in ClientInterfaceImpl()
Dclient_interface_impl.h67 const std::string& interface_name,
/system/update_engine/update_manager/
Dreal_shill_provider.cc79 void RealShillProvider::OnSignalConnected(const string& interface_name, in OnSignalConnected() argument
83 LOG(ERROR) << "Couldn't connect to the signal " << interface_name << "." in OnSignalConnected()
Dreal_shill_provider.h70 void OnSignalConnected(const std::string& interface_name,
Dreal_device_policy_provider.h123 void OnSignalConnected(const std::string& interface_name,
Dreal_device_policy_provider.cc83 void RealDevicePolicyProvider::OnSignalConnected(const string& interface_name, in OnSignalConnected() argument
/system/core/init/
Dservice.cpp511 const std::string& interface_name = args[1]; in ParseInterface() local
515 if (!FQName::parse(interface_name, &fq_name)) { in ParseInterface()
516 return Error() << "Invalid fully-qualified name for interface '" << interface_name << "'"; in ParseInterface()
520 return Error() << "Interface name not fully-qualified '" << interface_name << "'"; in ParseInterface()
524 return Error() << "Interface name must not be a value name '" << interface_name << "'"; in ParseInterface()
527 const std::string fullname = interface_name + "/" + instance_name; in ParseInterface()
Dservice.h278 Service* FindInterface(const std::string& interface_name) { in FindInterface() argument
280 if (svc->interfaces().count(interface_name) > 0) { in FindInterface()