Searched defs:device_name (Results 1 - 25 of 27) sorted by relevance

12

/system/connectivity/shill/
H A Dmock_ipconfig.cc24 const std::string& device_name)
25 : IPConfig(control_interface, device_name) {
23 MockIPConfig(ControlInterface* control_interface, const std::string& device_name) argument
H A Ddevice_claimer.cc45 bool DeviceClaimer::Claim(const string& device_name, Error* error) { argument
47 if (claimed_device_names_.find(device_name) != claimed_device_names_.end()) {
49 "Device " + device_name +
55 device_info_->AddDeviceToBlackList(device_name);
57 claimed_device_names_.insert(device_name);
58 released_device_names_.erase(device_name);
62 bool DeviceClaimer::Release(const std::string& device_name, argument
65 if (claimed_device_names_.find(device_name) == claimed_device_names_.end()) {
67 "Device " + device_name +
73 device_info_->RemoveDeviceFromBlackList(device_name);
84 IsDeviceReleased(const string& device_name) argument
[all...]
H A Dipconfig.cc63 const std::string& device_name)
64 : device_name_(device_name),
72 const std::string& device_name,
74 : device_name_(device_name),
108 SLOG(this, 2) << __func__ << " device: " << device_name();
112 SLOG(this, 2) << __func__ << " device: " << device_name();
62 IPConfig(ControlInterface* control_interface, const std::string& device_name) argument
71 IPConfig(ControlInterface* control_interface, const std::string& device_name, const std::string& type) argument
H A Dipconfig.h117 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_; } function in class:shill::IPConfig
H A Dmanager.h132 // Returns true if |device_name| is either not in the blacklist, or in the
134 virtual bool DeviceManagementAllowed(const std::string& device_name);
240 // Give the ownership of the device with name |device_name| to claimer with
529 virtual bool ShouldAcceptHostnameFrom(const std::string& device_name) const;
535 // Return true if DHCPv6 is enabled for the given device with |device_name|.
536 virtual bool IsDHCPv6EnabledForDevice(const std::string& device_name) const;
627 : device_name(in_device_name),
629 std::string device_name; member in struct:shill::Manager::DeviceClaim
H A Ddevice_info.cc134 void DeviceInfo::AddDeviceToBlackList(const string& device_name) { argument
135 black_list_.insert(device_name);
137 RemoveInfo(GetIndex(device_name));
144 void DeviceInfo::RemoveDeviceFromBlackList(const string& device_name) { argument
145 black_list_.erase(device_name);
147 RemoveInfo(GetIndex(device_name));
154 bool DeviceInfo::IsDeviceBlackListed(const string& device_name) { argument
155 return ContainsKey(black_list_, device_name);
/system/bt/service/common/bluetooth/
H A Dscan_filter.h37 const std::string& device_name() const { return device_name_; } function in class:bluetooth::ScanFilter
/system/connectivity/apmanager/dbus/
H A Ddevice_dbus_adaptor.cc48 void DeviceDBusAdaptor::SetDeviceName(const string& device_name) { argument
49 adaptor_.SetDeviceName(device_name);
/system/connectivity/apmanager/
H A Dfake_device_adaptor.cc25 void FakeDeviceAdaptor::SetDeviceName(const std::string& device_name) { argument
26 device_name_ = device_name;
H A Ddevice.h47 device_name(in_device_name),
51 std::string device_name; member in struct:apmanager::Device::WiFiInterface
56 this->device_name == other.device_name &&
69 const std::string& device_name,
98 void SetDeviceName(const std::string& device_name);
H A Ddevice_info.cc114 string device_name; local
116 &device_name)) {
121 if (GetDevice(device_name)) {
122 LOG(INFO) << "Device " << device_name << " already enumerated.";
127 new Device(manager_, device_name, device_identifier_++);
187 scoped_refptr<Device> device = GetDevice(iter->second.device_name);
298 string device_name; local
300 &device_name)) {
305 scoped_refptr<Device> device = GetDevice(device_name);
309 new Device(manager_, device_name, device_identifier
329 GetDevice(const string& device_name) argument
[all...]
H A Ddevice.cc34 const string& device_name,
40 SetDeviceName(device_name);
284 void Device::SetDeviceName(const std::string& device_name) { argument
285 adaptor_->SetDeviceName(device_name);
33 Device(Manager* manager, const string& device_name, int identifier) argument
/system/connectivity/shill/dhcp/
H A Dmock_dhcp_config.cc24 const string& device_name)
28 device_name,
23 MockDHCPConfig(ControlInterface* control_interface, const string& device_name) argument
H A Ddhcp_provider.cc103 const string& device_name,
107 SLOG(this, 2) << __func__ << " device: " << device_name; local
111 device_name,
120 const string& device_name, const string& lease_file_suffix) {
121 SLOG(this, 2) << __func__ << " device: " << device_name; local
125 device_name,
102 CreateIPv4Config( const string& device_name, const string& lease_file_suffix, bool arp_gateway, const DhcpProperties& dhcp_props) argument
119 CreateIPv6Config( const string& device_name, const string& lease_file_suffix) argument
H A Ddhcp_config.cc55 return d->device_name();
76 const string& device_name,
79 : IPConfig(control_interface, device_name, type),
91 SLOG(this, 2) << __func__ << ": " << device_name; local
93 lease_file_suffix_ = device_name;
98 SLOG(this, 2) << __func__ << ": " << device_name();
105 SLOG(this, 2) << __func__ << ": " << device_name();
117 SLOG(this, 2) << __func__ << ": " << device_name();
126 proxy_->Rebind(device_name());
132 SLOG(this, 2) << __func__ << ": " << device_name();
73 DHCPConfig(ControlInterface* control_interface, EventDispatcher* dispatcher, DHCPProvider* provider, const string& device_name, const string& type, const string& lease_file_suffix) argument
[all...]
H A Ddhcp_config_unittest.cc71 const std::string& device_name,
77 device_name,
68 TestDHCPConfig(ControlInterface* control_interface, EventDispatcher* dispatcher, DHCPProvider* provider, const std::string& device_name, const std::string& type, const std::string& lease_file_suffix) argument
H A Ddhcpv6_config.cc42 return d->device_name();
75 const string& device_name,
80 device_name,
83 SLOG(this, 2) << __func__ << ": " << device_name; local
87 SLOG(this, 2) << __func__ << ": " << device_name();
127 device_name().c_str())), false);
130 base::StringPrintf(kDHCPCDPathFormatPID, device_name().c_str())), false);
72 DHCPv6Config(ControlInterface* control_interface, EventDispatcher* dispatcher, DHCPProvider* provider, const string& device_name, const string& lease_file_suffix) argument
H A Ddhcpv4_config.cc46 return d->device_name();
100 const string& device_name,
108 device_name,
117 SLOG(this, 2) << __func__ << ": " << device_name; local
121 SLOG(this, 2) << __func__ << ": " << device_name();
218 device_name().c_str())), false);
221 base::StringPrintf(kDHCPCDPathFormatPID, device_name().c_str())), false);
97 DHCPv4Config(ControlInterface* control_interface, EventDispatcher* dispatcher, DHCPProvider* provider, const string& device_name, const string& lease_file_suffix, bool arp_gateway, const DhcpProperties& dhcp_props, Metrics* metrics) argument
/system/connectivity/shill/wifi/
H A Dwifi_driver_hal.cc70 char device_name[DEFAULT_WIFI_DEVICE_NAME_SIZE]; local
72 (*driver->wifi_driver_set_mode)(mode, device_name, sizeof(device_name));
76 name_str = string(device_name);
/system/core/crash_reporter/
H A Dudev_collector_test.cc90 void GenerateDevCoredump(const std::string& device_name) { argument
95 device_name.c_str()))));
99 device_name.c_str()));
108 device_name.c_str()))));
112 device_name.c_str()));
/system/bt/service/common/bluetooth/binder/
H A Dparcel_helpers.cpp182 bool has_name = !filter.device_name().empty();
185 parcel->writeCString(filter.device_name().c_str());
205 std::string device_name; local
207 device_name = parcel.readCString();
224 filter->set_device_name(device_name);
/system/connectivity/shill/shims/
H A Dcrypto_util.cc222 char device_name[100]; // A longer CN will truncate. local
226 device_name,
227 arraysize(device_name));
234 string device_cn(device_name, device_name_length);
/system/core/metricsd/
H A Dmetrics_library.cc66 // of various alignments of the |device_name| with |buffer_size|.
67 bool MetricsLibrary::IsDeviceMounted(const char* device_name, argument
79 // 0..strlen(device_name)-1 -- this offset in device_name is next to match
80 // strlen(device_name) -- matched full name, just need a space.
98 if (device_name[match_offset] == '\0') {
107 if (buffer[i] == device_name[match_offset]) {
/system/connectivity/shill/test-rpc-proxy/
H A Dproxy_dbus_shill_wifi_client.cc418 brillo::Any device_name; local
425 device.get(), shill::kNameProperty, &device_name)) {
428 interface_names->emplace_back(device_name.Get<std::string>());
/system/core/init/
H A Ddevices.cpp67 const char *device_name; member in struct:uevent
375 uevent->device_name = NULL;
405 uevent->device_name = msg;
663 devname = uevent->device_name;
681 if (uevent->device_name) {
682 if (!assemble_devpath(devpath, "/dev", uevent->device_name))

Completed in 539 milliseconds

12