Searched refs:DeviceRefPtr (Results 1 – 21 of 21) sorted by relevance
/system/connectivity/shill/ |
D | mock_manager.h | 51 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));
|
D | mock_device_info.h | 48 MOCK_CONST_METHOD1(GetDevice, DeviceRefPtr(int interface_index)); 81 MOCK_METHOD1(RegisterDevice, void(const DeviceRefPtr&)); 82 MOCK_METHOD1(DeregisterDevice, void(const DeviceRefPtr&));
|
D | mock_profile.h | 42 MOCK_METHOD1(ConfigureDevice, bool(const DeviceRefPtr& device)); 46 MOCK_METHOD1(UpdateDevice, bool(const DeviceRefPtr& device));
|
D | device_info.h | 93 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,
|
D | manager.h | 151 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_;
|
D | traffic_monitor.h | 52 TrafficMonitor(const DeviceRefPtr& device, EventDispatcher* dispatcher); 138 DeviceRefPtr device_;
|
D | device_info.cc | 202 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()
|
D | profile.h | 134 virtual bool ConfigureDevice(const DeviceRefPtr& device); 156 virtual bool UpdateDevice(const DeviceRefPtr& device);
|
D | default_profile.h | 66 bool UpdateDevice(const DeviceRefPtr& device) override;
|
D | connection.cc | 337 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()
|
D | refptr_types.h | 26 typedef scoped_refptr<Device> DeviceRefPtr; typedef
|
D | manager.cc | 495 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 …]
|
D | device_info_unittest.cc | 131 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 …]
|
D | profile.cc | 222 bool Profile::ConfigureDevice(const DeviceRefPtr& device) { in ConfigureDevice() 406 bool Profile::UpdateDevice(const DeviceRefPtr& device) { in UpdateDevice()
|
D | traffic_monitor.cc | 46 TrafficMonitor::TrafficMonitor(const DeviceRefPtr& device, in TrafficMonitor()
|
D | default_profile.cc | 219 bool DefaultProfile::UpdateDevice(const DeviceRefPtr& device) { in UpdateDevice()
|
D | device_unittest.cc | 997 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()
|
D | manager_unittest.cc | 200 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()
|
D | connection_unittest.cc | 640 DeviceRefPtr device; in TEST_F()
|
/system/connectivity/shill/wifi/ |
D | wifi_service.cc | 1243 DeviceRefPtr device = nullptr; in ChooseDevice()
|
/system/connectivity/shill/cellular/ |
D | cellular_unittest.cc | 106 DeviceRefPtr device_; 1574 RegisterDevice(static_cast<DeviceRefPtr>(ppp_device2))); in TEST_F()
|