Home
last modified time | relevance | path

Searched refs:UpdateDevice (Results 1 – 15 of 15) sorted by relevance

/system/connectivity/shill/
Dmock_profile.h46 MOCK_METHOD1(UpdateDevice, bool(const DeviceRefPtr& device));
Ddefault_profile.h66 bool UpdateDevice(const DeviceRefPtr& device) override;
Ddefault_profile_unittest.cc392 TEST_F(DefaultProfileTest, UpdateDevice) { in TEST_F() argument
399 EXPECT_TRUE(profile_->UpdateDevice(device_)); in TEST_F()
400 EXPECT_FALSE(profile_->UpdateDevice(device_)); in TEST_F()
Dmock_manager.h60 MOCK_METHOD1(UpdateDevice, void(const DeviceRefPtr& to_update));
Dprofile.h156 virtual bool UpdateDevice(const DeviceRefPtr& device);
Ddefault_profile.cc219 bool DefaultProfile::UpdateDevice(const DeviceRefPtr& device) { in UpdateDevice() function in shill::DefaultProfile
Dprofile_unittest.cc479 TEST_F(ProfileTest, UpdateDevice) { in TEST_F() argument
480 EXPECT_FALSE(profile_->UpdateDevice(nullptr)); in TEST_F()
Dprofile.cc406 bool Profile::UpdateDevice(const DeviceRefPtr& device) { in UpdateDevice() function in shill::Profile
Dmanager.cc292 UpdateDevice(device); in Stop()
1248 UpdateDevice(to_manage); in RegisterDevice()
1264 UpdateDevice(to_forget); in DeregisterDevice()
1453 void Manager::UpdateDevice(const DeviceRefPtr& to_update) { in UpdateDevice() function in shill::Manager
1462 if ((*rit)->UpdateDevice(to_update)) { in UpdateDevice()
Dmanager_unittest.cc295 EXPECT_CALL(*profile, UpdateDevice(_)).WillRepeatedly(Return(false)); in AddNamedMockProfileToManager()
613 EXPECT_CALL(*profile, UpdateDevice(device_ref)); 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()
3062 TEST_F(ManagerTest, UpdateDevice) { in TEST_F() argument
3073 EXPECT_CALL(*profile0, UpdateDevice(device_ref)).Times(0); in TEST_F()
3074 EXPECT_CALL(*profile1, UpdateDevice(device_ref)).WillOnce(Return(true)); in TEST_F()
3075 EXPECT_CALL(*profile2, UpdateDevice(device_ref)).WillOnce(Return(false)); in TEST_F()
3076 manager()->UpdateDevice(mock_devices_[0]); in TEST_F()
Ddevice.cc1244 manager_->UpdateDevice(this); in ResetByteCounters()
1867 manager_->UpdateDevice(this); in SetEnabledChecked()
Dmanager.h164 virtual void UpdateDevice(const DeviceRefPtr& to_update);
Ddevice_unittest.cc915 EXPECT_CALL(manager, UpdateDevice(_)); in TEST_F()
2702 EXPECT_CALL(manager_, UpdateDevice(device)); in TEST_F()
/system/connectivity/shill/cellular/
Dcellular.cc967 manager()->UpdateDevice(this); in SetAllowRoaming()
Dcellular_unittest.cc1424 EXPECT_CALL(*modem_info_.mock_manager(), UpdateDevice(_)); in TEST_F()
1793 EXPECT_CALL(*modem_info_.mock_manager(), UpdateDevice(_)); in TEST_F()