Home
last modified time | relevance | path

Searched refs:Save (Results 1 – 25 of 65) sorted by relevance

123

/system/connectivity/shill/
Ddefault_profile.cc187 bool DefaultProfile::Save() { in Save() function in shill::DefaultProfile
215 manager()->dhcp_properties().Save(storage(), kStorageId); in Save()
216 return Profile::Save(); in Save()
220 return device->Save(storage()) && storage()->Flush(); in UpdateDevice()
225 return wifi_provider.Save(storage()) && storage()->Flush(); in UpdateWiFiProvider()
Ddefault_profile_unittest.cc133 TEST_F(DefaultProfileTest, Save) { in TEST_F() argument
186 EXPECT_CALL(*device_.get(), Save(storage.get())).Times(0); in TEST_F()
189 EXPECT_CALL(*dhcp_props.get(), Save(_,_)); in TEST_F()
193 ASSERT_TRUE(profile_->Save()); in TEST_F()
375 EXPECT_CALL(*unknown_service, Save(_)) .Times(0); in TEST_F()
384 EXPECT_CALL(*ethernet_service, Save(storage.get())) in TEST_F()
395 EXPECT_CALL(*device_, Save(storage.get())) in TEST_F()
410 EXPECT_CALL(wifi_provider, Save(storage.get())).WillOnce(Return(false)); in TEST_F()
418 EXPECT_CALL(wifi_provider, Save(storage.get())).WillOnce(Return(true)); in TEST_F()
426 EXPECT_CALL(wifi_provider, Save(storage.get())).WillOnce(Return(true)); in TEST_F()
Ddefault_profile.h63 bool Save() override;
80 FRIEND_TEST(DefaultProfileTest, Save);
Dvirtual_device_unittest.cc82 TEST_F(VirtualDeviceTest, Save) { in TEST_F() argument
85 EXPECT_TRUE(device_->Save(&storage)); in TEST_F()
Dprofile_unittest.cc83 EXPECT_TRUE(profile->Save()); in ProfileInitStorage()
238 EXPECT_CALL(*service1.get(), Save(_)) in TEST_F()
240 EXPECT_CALL(*service2.get(), Save(_)) in TEST_F()
293 TEST_F(ProfileTest, Save) { in TEST_F() argument
296 EXPECT_CALL(*service1.get(), Save(_)).WillOnce(Return(true)); in TEST_F()
297 EXPECT_CALL(*service2.get(), Save(_)).WillOnce(Return(true)); in TEST_F()
302 profile_->Save(); in TEST_F()
312 EXPECT_CALL(*service1.get(), Save(_)) in TEST_F()
314 EXPECT_CALL(*service2.get(), Save(_)) in TEST_F()
Dmock_dhcp_properties.h31 MOCK_CONST_METHOD2(Save, void(StoreInterface* store, const std::string& id));
Dephemeral_profile.h48 bool Save() override;
Dprofile.cc195 return service->Save(storage_.get()) && storage_->Flush(); in AdoptService()
206 return service->Save(storage_.get()) && storage_->Flush(); in UpdateService()
244 Save(); in DeleteEntry()
380 bool Profile::Save() { in Save() function in shill::Profile
Dephemeral_profile.cc70 bool EphemeralProfile::Save() { in Save() function in shill::EphemeralProfile
Dvirtual_device.h49 bool Save(StoreInterface* storage) override;
Dmock_eap_credentials.h44 MOCK_CONST_METHOD3(Save, void(
Dmock_profile.h48 MOCK_METHOD0(Save, bool());
Dvirtual_device.cc55 bool VirtualDevice::Save(StoreInterface* /*storage*/) { in Save() function in shill::VirtualDevice
Ddhcp_properties.h50 virtual void Save(StoreInterface* store, const std::string& id) const;
Dmock_device.h57 MOCK_METHOD1(Save, bool(StoreInterface* storage));
/system/connectivity/shill/vpn/
Dvpn_service.cc132 bool VPNService::Save(StoreInterface* storage) { in Save() function in shill::VPNService
133 return Service::Save(storage) && in Save()
134 driver_->Save(storage, GetStorageIdentifier(), save_credentials()); in Save()
Dmock_vpn_driver.h40 MOCK_METHOD3(Save, bool(StoreInterface* storage,
Dvpn_service_unittest.cc206 TEST_F(VPNServiceTest, Save) { in TEST_F() argument
210 EXPECT_CALL(*driver_, Save(&storage, kStorageID, false)) in TEST_F()
212 EXPECT_TRUE(service_->Save(&storage)); in TEST_F()
220 EXPECT_CALL(*driver_, Save(&storage, kStorageID, true)) in TEST_F()
222 EXPECT_TRUE(service_->Save(&storage)); in TEST_F()
Dvpn_service.h47 bool Save(StoreInterface* storage) override;
Dvpn_driver.h56 virtual bool Save(StoreInterface* storage,
/system/connectivity/shill/wifi/
Dmock_wifi_provider.h52 MOCK_CONST_METHOD1(Save, bool(StoreInterface* storage));
/system/connectivity/shill/pppoe/
Dpppoe_service.cc167 bool PPPoEService::Save(StoreInterface* storage) { in Save() function in shill::PPPoEService
168 if (!Service::Save(storage)) { in Save()
Dpppoe_service.h60 bool Save(StoreInterface* storage) override;
/system/connectivity/shill/wimax/
Dwimax_service.cc262 bool WiMaxService::Save(StoreInterface* storage) { in Save() function in shill::WiMaxService
264 if (!Service::Save(storage)) { in Save()
Dwimax_service.h91 bool Save(StoreInterface* storage) override;

123