/system/connectivity/apmanager/ |
D | shill_manager.cc | 42 void ShillManager::ClaimInterface(const string& interface_name) { in ClaimInterface() argument 44 shill_proxy_->ClaimInterface(interface_name); in ClaimInterface() 45 claimed_interfaces_.insert(interface_name); in ClaimInterface() 48 void ShillManager::ReleaseInterface(const string& interface_name) { in ReleaseInterface() argument 50 shill_proxy_->ReleaseInterface(interface_name); in ReleaseInterface() 51 claimed_interfaces_.erase(interface_name); in ReleaseInterface() 55 bool ShillManager::SetupApModeInterface(string* interface_name) { in SetupApModeInterface() argument 57 return shill_proxy_->SetupApModeInterface(interface_name); in SetupApModeInterface() 60 bool ShillManager::SetupStationModeInterface(string* interface_name) { in SetupStationModeInterface() argument 62 return shill_proxy_->SetupStationModeInterface(interface_name); in SetupStationModeInterface()
|
D | manager.cc | 85 const string& interface_name) { in GetDeviceFromInterfaceName() argument 87 if (device->InterfaceExists(interface_name)) { in GetDeviceFromInterfaceName() 101 void Manager::ClaimInterface(const string& interface_name) { in ClaimInterface() argument 102 shill_manager_.ClaimInterface(interface_name); in ClaimInterface() 105 void Manager::ReleaseInterface(const string& interface_name) { in ReleaseInterface() argument 106 shill_manager_.ReleaseInterface(interface_name); in ReleaseInterface() 110 bool Manager::SetupApModeInterface(string* interface_name) { in SetupApModeInterface() argument 111 return shill_manager_.SetupApModeInterface(interface_name); in SetupApModeInterface() 114 bool Manager::SetupStationModeInterface(string* interface_name) { in SetupStationModeInterface() argument 115 return shill_manager_.SetupStationModeInterface(interface_name); in SetupStationModeInterface()
|
D | mock_manager.h | 39 scoped_refptr<Device>(const std::string& interface_name)); 40 MOCK_METHOD1(ClaimInterface, void(const std::string& interface_name)); 41 MOCK_METHOD1(ReleaseInterface, void(const std::string& interface_name)); 45 MOCK_METHOD1(SetupApModeInterface, bool(std::string* interface_name)); 46 MOCK_METHOD1(SetupStationModeInterface, bool(std::string* interface_name));
|
D | shill_proxy_interface.h | 29 virtual bool ClaimInterface(const std::string& interface_name) = 0; 31 virtual bool ReleaseInterface(const std::string& interface_name) = 0; 34 virtual bool SetupApModeInterface(std::string* interface_name) = 0; 36 virtual bool SetupStationModeInterface(std::string* interface_name) = 0;
|
D | shill_manager.h | 40 virtual void ClaimInterface(const std::string& interface_name); 42 virtual void ReleaseInterface(const std::string& interface_name); 45 virtual bool SetupApModeInterface(std::string* interface_name); 47 virtual bool SetupStationModeInterface(std::string* interface_name);
|
D | manager.h | 64 const std::string& interface_name); 67 virtual void ClaimInterface(const std::string& interface_name); 69 virtual void ReleaseInterface(const std::string& interface_name); 73 virtual bool SetupApModeInterface(std::string* interface_name); 76 virtual bool SetupStationModeInterface(std::string* interface_name);
|
D | fake_config_adaptor.cc | 39 void FakeConfigAdaptor::SetInterfaceName(const std::string& interface_name) { in SetInterfaceName() argument 40 interface_name_ = interface_name; in SetInterfaceName() 95 void FakeConfigAdaptor::SetBridgeInterface(const std::string& interface_name) { in SetBridgeInterface() argument 96 bridge_interface_ = interface_name; in SetBridgeInterface()
|
D | service.cc | 188 string interface_name; in Start() local 189 if (!manager_->SetupApModeInterface(&interface_name)) { in Start() 201 interface_name, in Start() 232 const string& interface_name, in APInterfaceCheckTask() argument 238 if (manager_->GetDeviceFromInterfaceName(interface_name)) { in APInterfaceCheckTask() 240 config_->SetInterfaceName(interface_name); in APInterfaceCheckTask() 262 interface_name, in APInterfaceCheckTask()
|
D | shill_stub_proxy.cc | 27 bool ShillStubProxy::ClaimInterface(const string& interface_name) { in ClaimInterface() argument 31 bool ShillStubProxy::ReleaseInterface(const string& interface_name) { in ReleaseInterface() argument
|
D | shill_stub_proxy.h | 34 bool ClaimInterface(const std::string& interface_name) override; 35 bool ReleaseInterface(const std::string& interface_name) override;
|
/system/connectivity/shill/dbus/ |
D | chromeos_dbus_properties_proxy.cc | 54 const string& interface_name) { in GetAll() argument 55 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << "(" << interface_name << ")"; in GetAll() 58 if (!proxy_->GetAll(interface_name, &properties_dict, &error)) { in GetAll() 59 LOG(ERROR) << __func__ << " failed on " << interface_name in GetAll() 69 brillo::Any ChromeosDBusPropertiesProxy::Get(const string& interface_name, in Get() argument 71 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << "(" << interface_name in Get() 75 if (!proxy_->Get(interface_name, property, &value, &error)) { in Get() 76 LOG(ERROR) << __func__ << " failed for " << interface_name in Get() 105 const string& interface_name, const string& signal_name, bool success) { in OnSignalConnected() argument 107 << "interface: " << interface_name in OnSignalConnected() [all …]
|
D | chromeos_supplicant_network_proxy.cc | 44 const std::string& interface_name, in PropertySet() argument 46 : dbus::PropertySet(object_proxy, interface_name, callback) { in PropertySet() 105 const std::string& interface_name, in OnSignalConnected() argument 109 << "interface: " << interface_name << " signal: " << signal_name in OnSignalConnected() 113 << " to interface " << interface_name; in OnSignalConnected()
|
D | chromeos_wimax_manager_proxy.cc | 49 const std::string& interface_name, in PropertySet() argument 51 : dbus::PropertySet(object_proxy, interface_name, callback) { in PropertySet() 148 const string& interface_name, const string& signal_name, bool success) { in OnSignalConnected() argument 150 << "interface: " << interface_name << " signal: " << signal_name in OnSignalConnected() 154 << " to interface " << interface_name; in OnSignalConnected()
|
D | chromeos_supplicant_bss_proxy.cc | 68 const std::string& interface_name, in OnSignalConnected() argument 72 << "interface: " << interface_name << " signal: " << signal_name in OnSignalConnected() 76 << " to interface " << interface_name; in OnSignalConnected()
|
D | chromeos_dbus_properties_proxy.h | 40 KeyValueStore GetAll(const std::string& interface_name) override; 41 brillo::Any Get(const std::string& interface_name, 65 void OnSignalConnected(const std::string& interface_name,
|
D | chromeos_wimax_network_proxy.cc | 50 const std::string& interface_name, in PropertySet() argument 52 : dbus::PropertySet(object_proxy, interface_name, callback) { in PropertySet() 164 const string& interface_name, const string& signal_name, bool success) { in OnSignalConnected() argument 166 << "interface: " << interface_name << " signal: " << signal_name in OnSignalConnected() 170 << " to interface " << interface_name; in OnSignalConnected()
|
/system/connectivity/shill/test-rpc-proxy/ |
D | proxy_dbus_shill_wifi_client.h | 61 bool ConfigureBgScan(const std::string& interface_name, 85 bool GetPropertyOnDevice(const std::string& interface_name, 88 bool SetPropertyOnDevice(const std::string& interface_name, 91 bool RequestRoam(const std::string& interface_name, const std::string& bssid) override; 92 bool SetDeviceEnabled(const std::string& interface_name, bool enable) override; 93 bool DiscoverTdlsLink(const std::string& interface_name, 95 bool EstablishTdlsLink(const std::string& interface_name, 97 bool QueryTdlsLink(const std::string& interface_name, 100 bool AddWakePacketSource(const std::string& interface_name, 102 bool RemoveWakePacketSource(const std::string& interface_name, [all …]
|
D | proxy_shill_wifi_client.h | 80 virtual bool ConfigureBgScan(const std::string& interface_name, 104 virtual bool GetPropertyOnDevice(const std::string& interface_name, 107 virtual bool SetPropertyOnDevice(const std::string& interface_name, 110 virtual bool RequestRoam(const std::string& interface_name, const std::string& bssid) = 0; 111 virtual bool SetDeviceEnabled(const std::string& interface_name, bool enable) = 0; 112 virtual bool DiscoverTdlsLink(const std::string& interface_name, 114 virtual bool EstablishTdlsLink(const std::string& interface_name, 116 virtual bool QueryTdlsLink(const std::string& interface_name, 119 virtual bool AddWakePacketSource(const std::string& interface_name, 121 virtual bool RemoveWakePacketSource(const std::string& interface_name, [all …]
|
D | proxy_rpc_server.cc | 332 const std::string& interface_name(params_in[0]); in GetDbusPropertyOnDevice() local 336 interface_name, property_name, &property_value)) { in GetDbusPropertyOnDevice() 350 const std::string& interface_name(params_in[0]); in SetDbusPropertyOnDevice() local 355 interface_name, property_name, property_value); in SetDbusPropertyOnDevice() 365 const std::string& interface_name(params_in[1]); in RequestRoamDbus() local 369 return shill_wifi_client->RequestRoam(interface_name, bssid); in RequestRoamDbus() 378 const std::string& interface_name(params_in[0]); in SetDeviceEnabled() local 380 return shill_wifi_client->SetDeviceEnabled(interface_name, enable); in SetDeviceEnabled() 389 const std::string& interface_name(params_in[0]); in DiscoverTdlsLink() local 391 return shill_wifi_client->DiscoverTdlsLink(interface_name, peer_mac_address); in DiscoverTdlsLink() [all …]
|
D | proxy_dbus_shill_wifi_client.cc | 258 const std::string& interface_name, in ConfigureBgScan() argument 265 shill::kNameProperty, brillo::Any(interface_name))); in ConfigureBgScan() 471 const std::string& interface_name, in GetPropertyOnDevice() argument 476 shill::kNameProperty, brillo::Any(interface_name))); in GetPropertyOnDevice() 487 const std::string& interface_name, in SetPropertyOnDevice() argument 492 shill::kNameProperty, brillo::Any(interface_name))); in SetPropertyOnDevice() 503 const std::string& interface_name, in RequestRoam() argument 507 shill::kNameProperty, brillo::Any(interface_name))); in RequestRoam() 517 const std::string& interface_name, in SetDeviceEnabled() argument 521 shill::kNameProperty, brillo::Any(interface_name))); in SetDeviceEnabled() [all …]
|
/system/connectivity/apmanager/dbus/ |
D | shill_dbus_proxy.cc | 57 bool ShillDBusProxy::ClaimInterface(const string& interface_name) { in ClaimInterface() argument 63 if (!manager_proxy_->ClaimInterface(kServiceName, interface_name, &error)) { in ClaimInterface() 71 bool ShillDBusProxy::ReleaseInterface(const string& interface_name) { in ReleaseInterface() argument 77 if (!manager_proxy_->ReleaseInterface(kServiceName, interface_name, &error)) { in ReleaseInterface() 86 bool ShillDBusProxy::SetupApModeInterface(string* interface_name) { in SetupApModeInterface() argument 92 if (!manager_proxy_->SetupApModeInterface(interface_name, &error)) { in SetupApModeInterface() 100 bool ShillDBusProxy::SetupStationModeInterface(string* interface_name) { in SetupStationModeInterface() argument 106 if (!manager_proxy_->SetupStationModeInterface(interface_name, &error)) { in SetupStationModeInterface()
|
D | shill_dbus_proxy.h | 39 bool ClaimInterface(const std::string& interface_name) override; 40 bool ReleaseInterface(const std::string& interface_name) override; 42 bool SetupApModeInterface(std::string* interface_name) override; 43 bool SetupStationModeInterface(std::string* interface_name) override;
|
/system/connectivity/dhcp_client/ |
D | device_info.cc | 53 bool DeviceInfo::GetDeviceInfo(const std::string& interface_name, in GetDeviceInfo() argument 57 size_t if_name_len = interface_name.size(); in GetDeviceInfo() 62 memcpy(ifr.ifr_name, interface_name.c_str(), if_name_len); in GetDeviceInfo() 76 int if_index = rtnl_handler_->GetInterfaceIndex(interface_name); in GetDeviceInfo()
|
/system/core/adb/ |
D | usb_windows.cpp | 60 wchar_t* interface_name; member 106 usb_handle* do_usb_open(const wchar_t* interface_name); 130 if((NULL != usb->interface_name) && in known_device_locked() 131 (0 == wcsicmp(usb->interface_name, dev_name))) { in known_device_locked() 159 if (known_device_locked(handle->interface_name)) { in register_new_device() 267 usb_handle* do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument 283 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open() 324 ret->interface_name = (wchar_t*)malloc(name_len * sizeof(ret->interface_name[0])); in do_usb_open() 325 if (NULL == ret->interface_name) { in do_usb_open() 332 ret->interface_name, in do_usb_open() [all …]
|
/system/core/fastboot/ |
D | usb_windows.cpp | 66 std::string interface_name; member 91 std::unique_ptr<usb_handle> do_usb_open(const wchar_t* interface_name); 100 std::unique_ptr<usb_handle> do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument 105 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open() 134 ret->interface_name.resize(name_len); in do_usb_open() 136 &ret->interface_name[0], in do_usb_open() 235 handle->interface_name.clear(); in usb_cleanup_handle()
|