/system/connectivity/shill/ |
D | device_claimer.cc | 45 bool DeviceClaimer::Claim(const string& device_name, Error* error) { in Claim() argument 47 if (claimed_device_names_.find(device_name) != claimed_device_names_.end()) { in Claim() 49 "Device " + device_name + in Claim() 55 device_info_->AddDeviceToBlackList(device_name); in Claim() 57 claimed_device_names_.insert(device_name); in Claim() 58 released_device_names_.erase(device_name); in Claim() 62 bool DeviceClaimer::Release(const std::string& device_name, in Release() argument 65 if (claimed_device_names_.find(device_name) == claimed_device_names_.end()) { in Release() 67 "Device " + device_name + in Release() 73 device_info_->RemoveDeviceFromBlackList(device_name); in Release() [all …]
|
D | mock_device_claimer.h | 34 MOCK_METHOD2(Claim, bool(const std::string& device_name, Error* error)); 35 MOCK_METHOD2(Release, bool(const std::string& device_name, Error* error)); 37 MOCK_METHOD1(IsDeviceReleased, bool(const std::string& device_name));
|
D | device_claimer.h | 42 virtual bool Claim(const std::string& device_name, Error* error); 43 virtual bool Release(const std::string& device_name, Error* error); 51 virtual bool IsDeviceReleased(const std::string& device_name);
|
D | ipconfig.cc | 63 const std::string& device_name) in IPConfig() argument 64 : device_name_(device_name), in IPConfig() 72 const std::string& device_name, in IPConfig() argument 74 : device_name_(device_name), in IPConfig() 108 SLOG(this, 2) << __func__ << " device: " << device_name(); in Init() 112 SLOG(this, 2) << __func__ << " device: " << device_name(); in ~IPConfig()
|
D | mock_ipconfig.cc | 24 const std::string& device_name) in MockIPConfig() argument 25 : IPConfig(control_interface, device_name) { in MockIPConfig()
|
D | mock_device_info.h | 45 MOCK_METHOD1(IsDeviceBlackListed, bool(const std::string& device_name)); 46 MOCK_METHOD1(AddDeviceToBlackList, void(const std::string& device_name)); 47 MOCK_METHOD1(RemoveDeviceFromBlackList, void(const std::string& device_name));
|
D | ipconfig.h | 117 IPConfig(ControlInterface* control_interface, const std::string& device_name); 119 const std::string& device_name, 123 const std::string& device_name() const { return device_name_; } in device_name() function
|
/system/connectivity/shill/dhcp/ |
D | dhcp_config.cc | 55 return d->device_name(); in ObjectID() 76 const string& device_name, in DHCPConfig() argument 79 : IPConfig(control_interface, device_name, type), in DHCPConfig() 91 SLOG(this, 2) << __func__ << ": " << device_name; in DHCPConfig() 93 lease_file_suffix_ = device_name; in DHCPConfig() 98 SLOG(this, 2) << __func__ << ": " << device_name(); in ~DHCPConfig() 105 SLOG(this, 2) << __func__ << ": " << device_name(); in RequestIP() 117 SLOG(this, 2) << __func__ << ": " << device_name(); in RenewIP() 126 proxy_->Rebind(device_name()); in RenewIP() 132 SLOG(this, 2) << __func__ << ": " << device_name(); in ReleaseIP() [all …]
|
D | dhcpv6_config.cc | 42 return d->device_name(); in ObjectID() 75 const string& device_name, in DHCPv6Config() argument 80 device_name, in DHCPv6Config() 83 SLOG(this, 2) << __func__ << ": " << device_name; in DHCPv6Config() 87 SLOG(this, 2) << __func__ << ": " << device_name(); in ~DHCPv6Config() 127 device_name().c_str())), false); in CleanupClientState() 130 base::StringPrintf(kDHCPCDPathFormatPID, device_name().c_str())), false); in CleanupClientState()
|
D | dhcp_provider.cc | 103 const string& device_name, in CreateIPv4Config() argument 107 SLOG(this, 2) << __func__ << " device: " << device_name; in CreateIPv4Config() 111 device_name, in CreateIPv4Config() 120 const string& device_name, const string& lease_file_suffix) { in CreateIPv6Config() argument 121 SLOG(this, 2) << __func__ << " device: " << device_name; in CreateIPv6Config() 125 device_name, in CreateIPv6Config()
|
D | mock_dhcp_config.cc | 24 const string& device_name) in MockDHCPConfig() argument 28 device_name, in MockDHCPConfig()
|
D | mock_dhcp_provider.h | 40 DHCPConfigRefPtr(const std::string& device_name, 45 DHCPConfigRefPtr(const std::string& device_name,
|
D | dhcpv4_config.cc | 46 return d->device_name(); in ObjectID() 100 const string& device_name, in DHCPv4Config() argument 108 device_name, in DHCPv4Config() 117 SLOG(this, 2) << __func__ << ": " << device_name; in DHCPv4Config() 121 SLOG(this, 2) << __func__ << ": " << device_name(); in ~DHCPv4Config() 218 device_name().c_str())), false); in CleanupClientState() 221 base::StringPrintf(kDHCPCDPathFormatPID, device_name().c_str())), false); in CleanupClientState()
|
D | dhcp_provider.h | 82 const std::string& device_name, 90 const std::string& device_name, const std::string& lease_file_suffix);
|
/system/connectivity/apmanager/ |
D | device_info.cc | 114 string device_name; in OnWiFiPhyInfoReceived() local 116 &device_name)) { in OnWiFiPhyInfoReceived() 121 if (GetDevice(device_name)) { in OnWiFiPhyInfoReceived() 122 LOG(INFO) << "Device " << device_name << " already enumerated."; in OnWiFiPhyInfoReceived() 127 new Device(manager_, device_name, device_identifier_++); in OnWiFiPhyInfoReceived() 187 scoped_refptr<Device> device = GetDevice(iter->second.device_name); in DelLinkMsgHandler() 298 string device_name; in OnWiFiInterfacePhyInfoReceived() local 300 &device_name)) { in OnWiFiInterfacePhyInfoReceived() 305 scoped_refptr<Device> device = GetDevice(device_name); in OnWiFiInterfacePhyInfoReceived() 309 new Device(manager_, device_name, device_identifier_++); in OnWiFiInterfacePhyInfoReceived() [all …]
|
D | device.h | 47 device_name(in_device_name), in WiFiInterface() 51 std::string device_name; member 56 this->device_name == other.device_name && in Equals() 69 const std::string& device_name, 98 void SetDeviceName(const std::string& device_name);
|
D | fake_device_adaptor.cc | 25 void FakeDeviceAdaptor::SetDeviceName(const std::string& device_name) { in SetDeviceName() argument 26 device_name_ = device_name; in SetDeviceName()
|
D | device.cc | 34 const string& device_name, in Device() argument 40 SetDeviceName(device_name); in Device() 284 void Device::SetDeviceName(const std::string& device_name) { in SetDeviceName() argument 285 adaptor_->SetDeviceName(device_name); in SetDeviceName()
|
D | device_adaptor_interface.h | 28 virtual void SetDeviceName(const std::string& device_name) = 0;
|
/system/connectivity/shill/wifi/ |
D | wifi_driver_hal.cc | 70 char device_name[DEFAULT_WIFI_DEVICE_NAME_SIZE]; in WiFiDriverSetupInterface() local 72 (*driver->wifi_driver_set_mode)(mode, device_name, sizeof(device_name)); in WiFiDriverSetupInterface() 76 name_str = string(device_name); in WiFiDriverSetupInterface()
|
/system/core/crash_reporter/ |
D | udev_collector_test.cc | 90 void GenerateDevCoredump(const std::string& device_name) { in GenerateDevCoredump() argument 95 device_name.c_str())))); in GenerateDevCoredump() 99 device_name.c_str())); in GenerateDevCoredump() 108 device_name.c_str())))); in GenerateDevCoredump() 112 device_name.c_str())); in GenerateDevCoredump()
|
/system/connectivity/apmanager/dbus/ |
D | device_dbus_adaptor.cc | 48 void DeviceDBusAdaptor::SetDeviceName(const string& device_name) { in SetDeviceName() argument 49 adaptor_.SetDeviceName(device_name); in SetDeviceName()
|
/system/core/metricsd/ |
D | metrics_library.cc | 67 bool MetricsLibrary::IsDeviceMounted(const char* device_name, in IsDeviceMounted() argument 98 if (device_name[match_offset] == '\0') { in IsDeviceMounted() 107 if (buffer[i] == device_name[match_offset]) { in IsDeviceMounted()
|
/system/bt/service/common/bluetooth/binder/ |
D | parcel_helpers.cpp | 182 bool has_name = !filter.device_name().empty(); in WriteScanFilterToParcel() 185 parcel->writeCString(filter.device_name().c_str()); in WriteScanFilterToParcel() 205 std::string device_name; in CreateScanFilterFromParcel() local 207 device_name = parcel.readCString(); in CreateScanFilterFromParcel() 224 filter->set_device_name(device_name); in CreateScanFilterFromParcel()
|
/system/connectivity/shill/shims/ |
D | crypto_util.cc | 222 char device_name[100]; // A longer CN will truncate. in VerifyCredentialsImpl() local 226 device_name, in VerifyCredentialsImpl() 227 arraysize(device_name)); in VerifyCredentialsImpl() 234 string device_cn(device_name, device_name_length); in VerifyCredentialsImpl()
|