Home
last modified time | relevance | path

Searched refs:DeviceRefPtr (Results 1 – 21 of 21) sorted by relevance

/system/connectivity/shill/
Dmock_manager.h51 MOCK_METHOD1(RegisterDevice, void(const DeviceRefPtr& to_manage));
52 MOCK_METHOD1(DeregisterDevice, void(const DeviceRefPtr& to_forget));
60 MOCK_METHOD1(UpdateDevice, void(const DeviceRefPtr& to_update));
63 void(const DeviceRefPtr& device));
98 DeviceRefPtr(Technology::Identifier technology));
100 DeviceRefPtr(const std::string& link_name));
Dmock_device_info.h48 MOCK_CONST_METHOD1(GetDevice, DeviceRefPtr(int interface_index));
81 MOCK_METHOD1(RegisterDevice, void(const DeviceRefPtr&));
82 MOCK_METHOD1(DeregisterDevice, void(const DeviceRefPtr&));
Dmock_profile.h42 MOCK_METHOD1(ConfigureDevice, bool(const DeviceRefPtr& device));
46 MOCK_METHOD1(UpdateDevice, bool(const DeviceRefPtr& device));
Ddevice_info.h93 virtual void RegisterDevice(const DeviceRefPtr& device);
99 virtual void DeregisterDevice(const DeviceRefPtr& device);
101 virtual DeviceRefPtr GetDevice(int interface_index) const;
183 DeviceRefPtr device;
236 virtual DeviceRefPtr CreateDevice(const std::string& link_name,
Dmanager.h151 virtual void RegisterDevice(const DeviceRefPtr& to_manage);
152 virtual void DeregisterDevice(const DeviceRefPtr& to_forget);
164 virtual void UpdateDevice(const DeviceRefPtr& to_update);
170 std::vector<DeviceRefPtr>
195 virtual void OnDeviceGeolocationInfoUpdated(const DeviceRefPtr& device);
351 virtual DeviceRefPtr GetEnabledDeviceWithTechnology(
355 virtual DeviceRefPtr GetEnabledDeviceByLinkName(
693 void LoadDeviceFromProfiles(const DeviceRefPtr& device);
785 DeviceRefPtr GetDeviceConnectedToService(ServiceRefPtr service);
821 std::vector<DeviceRefPtr> devices_;
Dtraffic_monitor.h52 TrafficMonitor(const DeviceRefPtr& device, EventDispatcher* dispatcher);
138 DeviceRefPtr device_;
Ddevice_info.cc202 void DeviceInfo::RegisterDevice(const DeviceRefPtr& device) { in RegisterDevice()
220 void DeviceInfo::DeregisterDevice(const DeviceRefPtr& device) { in DeregisterDevice()
450 DeviceRefPtr DeviceInfo::CreateDevice(const string& link_name, in CreateDevice()
454 DeviceRefPtr device; in CreateDevice()
640 DeviceRefPtr device = GetDevice(dev_index); in AddLinkMsgHandler()
699 DeviceRefPtr DeviceInfo::GetDevice(int interface_index) const { in GetDevice()
1093 DeviceRefPtr device = GetDevice(interface_index); in AddressMsgHandler()
1119 DeviceRefPtr device = GetDevice(interface_index); in RdnssMsgHandler()
1178 DeviceRefPtr device = CreateDevice(link_name, address, dev_index, in DelayedDeviceCreationTask()
1273 DeviceRefPtr device = in OnWiFiInterfaceInfoReceived()
Dprofile.h134 virtual bool ConfigureDevice(const DeviceRefPtr& device);
156 virtual bool UpdateDevice(const DeviceRefPtr& device);
Ddefault_profile.h66 bool UpdateDevice(const DeviceRefPtr& device) override;
Dconnection.cc337 DeviceRefPtr device = device_info_->GetDevice(interface_index_); in SetIsDefault()
377 DeviceRefPtr device = device_info_->GetDevice(interface_index_); in RequestRouting()
390 DeviceRefPtr device = device_info_->GetDevice(interface_index_); in ReleaseRouting()
606 DeviceRefPtr device = device_info_->GetDevice(interface_index); in OnRouteQueryResponse()
Drefptr_types.h26 typedef scoped_refptr<Device> DeviceRefPtr; typedef
Dmanager.cc495 for (DeviceRefPtr& device : devices_) { in PushProfileInternal()
1014 DeviceRefPtr Manager::GetEnabledDeviceWithTechnology( in GetEnabledDeviceWithTechnology()
1024 DeviceRefPtr Manager::GetEnabledDeviceByLinkName( in GetEnabledDeviceByLinkName()
1220 void Manager::RegisterDevice(const DeviceRefPtr& to_manage) { in RegisterDevice()
1259 void Manager::DeregisterDevice(const DeviceRefPtr& to_forget) { in DeregisterDevice()
1296 void Manager::LoadDeviceFromProfiles(const DeviceRefPtr& device) { in LoadDeviceFromProfiles()
1453 void Manager::UpdateDevice(const DeviceRefPtr& to_update) { in UpdateDevice()
1735 vector<DeviceRefPtr>
1737 vector<DeviceRefPtr> found; in FilterByTechnology()
2499 void Manager::OnDeviceGeolocationInfoUpdated(const DeviceRefPtr& device) { in OnDeviceGeolocationInfoUpdated()
[all …]
Ddevice_info_unittest.cc131 DeviceRefPtr CreateDevice(const std::string& link_name, in CreateDevice()
525 DeviceRefPtr device = CreateDevice( in TEST_F()
545 DeviceRefPtr device = CreateDevice( in TEST_F()
689 DeviceRefPtr device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
701 DeviceRefPtr device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
711 DeviceRefPtr device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
724 DeviceRefPtr renamed_device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
743 DeviceRefPtr initial_device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
760 DeviceRefPtr renamed_device = device_info_.GetDevice(kTestDeviceIndex); in TEST_F()
1633 MOCK_METHOD4(CreateDevice, DeviceRefPtr(const std::string& link_name,
[all …]
Dprofile.cc222 bool Profile::ConfigureDevice(const DeviceRefPtr& device) { in ConfigureDevice()
406 bool Profile::UpdateDevice(const DeviceRefPtr& device) { in UpdateDevice()
Dtraffic_monitor.cc46 TrafficMonitor::TrafficMonitor(const DeviceRefPtr& device, in TrafficMonitor()
Ddefault_profile.cc219 bool DefaultProfile::UpdateDevice(const DeviceRefPtr& device) { in UpdateDevice()
Ddevice_unittest.cc997 DeviceRefPtr device(new TestDevice(control_interface(), in TEST_F()
2599 bool ExpectByteCounts(DeviceRefPtr device, in ExpectByteCounts()
2608 void ExpectSavedCounts(DeviceRefPtr device, in ExpectSavedCounts()
2653 DeviceRefPtr device(new TestDevice(control_interface(), in TEST_F()
Dmanager_unittest.cc200 bool IsDeviceRegistered(const DeviceRefPtr& device, in IsDeviceRegistered()
610 DeviceRefPtr device_ref(mock_devices_[0].get()); in TEST_F()
634 EXPECT_CALL(*profile, UpdateDevice(DeviceRefPtr(mock_devices_[0]))); in TEST_F()
639 EXPECT_CALL(*profile, UpdateDevice(DeviceRefPtr(mock_devices_[1]))); in TEST_F()
2918 UpdateDevice(DeviceRefPtr(mock_devices_[0].get()))) in TEST_F()
3072 DeviceRefPtr device_ref(mock_devices_[0].get()); in TEST_F()
Dconnection_unittest.cc640 DeviceRefPtr device; in TEST_F()
/system/connectivity/shill/wifi/
Dwifi_service.cc1243 DeviceRefPtr device = nullptr; in ChooseDevice()
/system/connectivity/shill/cellular/
Dcellular_unittest.cc106 DeviceRefPtr device_;
1574 RegisterDevice(static_cast<DeviceRefPtr>(ppp_device2))); in TEST_F()