Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 87) sorted by relevance

1234

/system/connectivity/shill/
Ddevice.cc87 static string ObjectID(Device* d) { return d->GetRpcIdentifier(); } in ObjectID()
91 const char Device::kIPFlagTemplate[] = "/proc/sys/net/%s/conf/%s/%s";
93 const char Device::kIPFlagVersion4[] = "ipv4";
95 const char Device::kIPFlagVersion6[] = "ipv6";
97 const char Device::kIPFlagDisableIPv6[] = "disable_ipv6";
99 const char Device::kIPFlagUseTempAddr[] = "use_tempaddr";
101 const char Device::kIPFlagUseTempAddrUsedAndDefault[] = "2";
103 const char Device::kIPFlagReversePathFilter[] = "rp_filter";
105 const char Device::kIPFlagReversePathFilterEnabled[] = "1";
107 const char Device::kIPFlagReversePathFilterLooseMode[] = "2";
[all …]
Dvirtual_device.cc45 : Device(control, dispatcher, metrics, manager, link_name, in VirtualDevice()
85 Device::DropConnection(); in DropConnection()
89 Device::SelectService(service); in SelectService()
93 Device::SetServiceState(state); in SetServiceState()
97 Device::SetServiceFailure(failure_state); in SetServiceFailure()
102 Device::SetServiceFailureSilent(failure_state); in SetServiceFailureSilent()
Drefptr_types.h24 class Device; variable
25 typedef scoped_refptr<const Device> DeviceConstRefPtr;
26 typedef scoped_refptr<Device> DeviceRefPtr;
Dmock_device.cc42 : Device(control_interface, in MockDevice()
52 .WillByDefault(testing::ReturnRef(Device::connection())); in MockDevice()
Ddevice.h63 class Device : public base::RefCounted<Device> {
76 Device(ControlInterface* control_interface,
362 friend class base::RefCounted<Device>;
417 virtual ~Device();
638 std::string(Device::*get)(Error*));
642 RpcIdentifier(Device::*get)(Error*));
646 RpcIdentifiers(Device::*get)(Error*));
650 uint64_t(Device::*get)(Error*));
846 base::WeakPtrFactory<Device> weak_ptr_factory_;
903 DISALLOW_COPY_AND_ASSIGN(Device);
Ddevice_stub.h40 class DeviceStub : public Device {
50 : Device(control_interface, dispatcher, metrics, manager, link_name, in DeviceStub()
Dmock_device.h31 class MockDevice : public Device {
54 MOCK_METHOD3(Scan, void(Device::ScanType scan_type, Error* error,
Dshill-client.gyp18 'dbus_bindings/org.chromium.flimflam.Device.dbus-xml',
40 '<(xml2cpp_in_dir)/org.chromium.flimflam.Device.dbus-xml',
/system/connectivity/apmanager/
Ddevice.cc33 Device::Device(Manager* manager, in Device() function in apmanager::Device
44 Device::~Device() {} in ~Device()
46 void Device::RegisterInterface(const WiFiInterface& new_interface) { in RegisterInterface()
61 void Device::DeregisterInterface(const WiFiInterface& interface) { in DeregisterInterface()
73 void Device::ParseWiphyCapability(const shill::Nl80211Message& msg) { in ParseWiphyCapability()
136 bool Device::ClaimDevice(bool full_control) { in ClaimDevice()
156 bool Device::ReleaseDevice() { in ReleaseDevice()
171 bool Device::InterfaceExists(const string& interface_name) { in InterfaceExists()
180 bool Device::GetHTCapability(uint16_t channel, string* ht_cap) { in GetHTCapability()
279 bool Device::GetVHTCapability(uint16_t channel, string* vht_cap) { in GetVHTCapability()
[all …]
Ddevice_info_unittest.cc112 void VerifyInterfaceList(const vector<Device::WiFiInterface>& interfaces) { in VerifyInterfaceList()
117 map<uint32_t, Device::WiFiInterface>::iterator it = in VerifyInterfaceList()
124 void VerifyDeviceList(const vector<scoped_refptr<Device>>& devices) { in VerifyDeviceList()
128 map<string, scoped_refptr<Device>>::iterator it = in VerifyDeviceList()
134 void AddInterface(const Device::WiFiInterface& interface) { in AddInterface()
151 void RegisterDevice(scoped_refptr<Device> device) { in RegisterDevice()
228 vector<Device::WiFiInterface> interface_list; in TEST_F()
243 interface_list.push_back(Device::WiFiInterface( in TEST_F()
256 interface_list.push_back(Device::WiFiInterface( in TEST_F()
275 interface_list.push_back(Device::WiFiInterface( in TEST_F()
[all …]
Ddevice_info.cc126 scoped_refptr<Device> device = in OnWiFiPhyInfoReceived()
127 new Device(manager_, device_name, device_identifier_++); in OnWiFiPhyInfoReceived()
171 Device::WiFiInterface wifi_interface; in AddLinkMsgHandler()
183 map<uint32_t, Device::WiFiInterface>::iterator iter = in DelLinkMsgHandler()
187 scoped_refptr<Device> device = GetDevice(iter->second.device_name); in DelLinkMsgHandler()
254 map<uint32_t, Device::WiFiInterface>::iterator iter = in OnWiFiInterfaceInfoReceived()
289 map<uint32_t, Device::WiFiInterface>::iterator iter = in OnWiFiInterfacePhyInfoReceived()
305 scoped_refptr<Device> device = GetDevice(device_name); in OnWiFiInterfacePhyInfoReceived()
309 new Device(manager_, device_name, device_identifier_++); in OnWiFiInterfacePhyInfoReceived()
320 void DeviceInfo::RegisterDevice(scoped_refptr<Device> device) { in RegisterDevice()
[all …]
Dmanager.h56 virtual void RegisterDevice(const scoped_refptr<Device>& device);
59 virtual scoped_refptr<Device> GetAvailableDevice();
63 virtual scoped_refptr<Device> GetDeviceFromInterfaceName(
90 std::vector<scoped_refptr<Device>> devices_;
Ddevice.h38 class Device : public base::RefCounted<Device> {
68 Device(Manager* manager,
71 virtual ~Device();
144 DISALLOW_COPY_AND_ASSIGN(Device);
Ddevice_unittest.cc43 const Device::WiFiInterface kApModeInterface0 = {
46 const Device::WiFiInterface kApModeInterface1 = {
49 const Device::WiFiInterface kManagedModeInterface0 = {
52 const Device::WiFiInterface kManagedModeInterface1 = {
55 const Device::WiFiInterface kMonitorModeInterface = {
66 device_ = new Device(&manager_, kDeviceName, 0); in DeviceTest()
70 const vector<Device::WiFiInterface>& interface_list) { in VerifyInterfaceList()
133 scoped_refptr<Device> device_;
137 vector<Device::WiFiInterface> interface_list; in TEST_F()
151 vector<Device::WiFiInterface> interface_list; in TEST_F()
Ddevice_info.h95 scoped_refptr<Device> GetDevice(const std::string& phy_name);
96 void RegisterDevice(scoped_refptr<Device> device);
99 std::map<uint32_t, Device::WiFiInterface> interface_infos_;
101 std::map<std::string, scoped_refptr<Device>> devices_;
Dmock_manager.h36 MOCK_METHOD1(RegisterDevice, void(const scoped_refptr<Device>& device));
37 MOCK_METHOD0(GetAvailableDevice, scoped_refptr<Device>());
39 scoped_refptr<Device>(const std::string& interface_name));
Dmanager.cc74 scoped_refptr<Device> Manager::GetAvailableDevice() { in GetAvailableDevice()
84 scoped_refptr<Device> Manager::GetDeviceFromInterfaceName( in GetDeviceFromInterfaceName()
94 void Manager::RegisterDevice(const scoped_refptr<Device>& device) { in RegisterDevice()
Dcontrol_interface.h33 class Device; variable
50 Device* device) = 0;
Dmock_device.cc21 MockDevice::MockDevice(Manager* manager) : Device(manager, "", 0) {} in MockDevice()
/system/core/libion/tests/
Ddevice_test.cpp32 class Device : public IonAllHeapsTest { class
45 void Device::SetUp() in SetUp()
52 void Device::TearDown() in TearDown()
58 void Device::readDMA(int fd, void *buf, size_t size) in readDMA()
72 void Device::writeDMA(int fd, void *buf, size_t size) in writeDMA()
86 void Device::readKernel(int fd, void *buf, size_t size) in readKernel()
100 void Device::writeKernel(int fd, void *buf, size_t size) in writeKernel()
114 void Device::blowCache() in blowCache()
125 void Device::dirtyCache(void *ptr, size_t size) in dirtyCache()
134 TEST_F(Device, KernelReadCached) in TEST_F() argument
[all …]
/system/connectivity/shill/binder/
Ddevice_binder_adaptor.h47 class Device; variable
58 DeviceBinderAdaptor(Device* device, const std::string& id);
92 Device* device() const { return device_; } in device()
95 Device* device_;
/system/weaved/buffet/
Dbinder_weave_service.h30 class Device; variable
42 BinderWeaveService(weave::Device* device,
62 weave::Device* device_;
/system/connectivity/shill/dbus/
Dchromeos_device_dbus_adaptor.h31 class Device; variable
46 Device* device);
113 Device* device() const { return device_; } in device()
116 Device* device_;
/system/connectivity/apmanager/dbus/
Ddevice_dbus_adaptor.h28 class Device; variable
35 Device* device);
/system/tpm/attestation/common/
Dcommon.proto27 // O=Chrome Device Enterprise
33 // O=Chrome Device Enterprise
38 // O=Chrome Device Content Protection
44 // O=Chrome Device Content Protection

1234