Home
last modified time | relevance | path

Searched refs:storage_id (Results 1 – 16 of 16) sorted by relevance

/system/connectivity/shill/vpn/
Dvpn_provider.cc140 string storage_id = VPNService::CreateStorageIdentifier(args, error); in GetService() local
141 if (storage_id.empty()) { in GetService()
148 service = CreateService(type, name, storage_id, error); in GetService()
234 const string& storage_id, in CreateServiceInner() argument
237 << " storage id " << storage_id; in CreateServiceInner()
269 service->set_storage_id(storage_id); in CreateServiceInner()
281 const string& storage_id, in CreateService() argument
283 VPNServiceRefPtr service = CreateServiceInner(type, name, storage_id, error); in CreateService()
315 string storage_id = VPNService::CreateStorageIdentifier(args, error); in CreateTemporaryService() local
316 if (storage_id.empty()) { in CreateTemporaryService()
[all …]
Dvpn_driver.cc63 bool VPNDriver::Load(StoreInterface* storage, const string& storage_id) { in Load() argument
74 if (storage->GetStringList(storage_id, property, &value)) { in Load()
82 storage->GetCryptedString(storage_id, property, &value) : in Load()
83 storage->GetString(storage_id, property, &value); in Load()
95 const string& storage_id, in Save() argument
108 storage->DeleteKey(storage_id, property); in Save()
112 storage->SetStringList(storage_id, property, value); in Save()
116 storage->DeleteKey(storage_id, property); in Save()
121 storage->SetCryptedString(storage_id, property, value); in Save()
123 storage->SetString(storage_id, property, value); in Save()
Dmock_vpn_driver.h39 const std::string& storage_id));
41 const std::string& storage_id,
Dvpn_driver.h55 virtual bool Load(StoreInterface* storage, const std::string& storage_id);
57 const std::string& storage_id,
Dvpn_provider.h92 const std::string& storage_id,
99 const std::string& storage_id,
Dthird_party_vpn_driver.cc117 const std::string& storage_id) { in Load() argument
118 bool return_value = VPNDriver::Load(storage, storage_id); in Load()
120 storage->GetString(storage_id, kObjectPathSuffixProperty, in Load()
128 const std::string& storage_id, in Save() argument
130 bool return_value = VPNDriver::Save(storage, storage_id, save_credentials); in Save()
131 storage->SetString(storage_id, kObjectPathSuffixProperty, in Save()
Dthird_party_vpn_driver.h82 bool Load(StoreInterface* storage, const std::string& storage_id) override;
83 bool Save(StoreInterface* storage, const std::string& storage_id,
Dvpn_provider_unittest.cc252 MATCHER_P(ServiceWithStorageId, storage_id, "") {
253 return arg->GetStorageIdentifier() == storage_id;
/system/connectivity/shill/wimax/
Dwimax_provider.cc237 string storage_id = WiMaxService::CreateStorageIdentifier(id, name); in FindSimilarService() local
238 WiMaxServiceRefPtr service = FindService(storage_id); in FindSimilarService()
277 for (const auto& storage_id : storage->GetGroupsWithProperties(args)) { in CreateServicesFromProfile() local
281 storage_id, in CreateServicesFromProfile()
287 if (FindService(storage_id)) { in CreateServicesFromProfile()
293 LOG(ERROR) << "Could not configure service: " << storage_id; in CreateServicesFromProfile()
418 WiMaxServiceRefPtr WiMaxProvider::FindService(const string& storage_id) const { in FindService()
419 SLOG(this, 2) << __func__ << "(" << storage_id << ")"; in FindService()
421 services_.find(storage_id); in FindService()
426 LOG_IF(ERROR, storage_id != service->GetStorageIdentifier()); in FindService()
[all …]
Dwimax_service.cc303 string storage_id = base::ToLowerASCII( in CreateStorageIdentifier() local
306 replace_if(storage_id.begin(), storage_id.end(), &Service::IllegalChar, '_'); in CreateStorageIdentifier()
307 return storage_id; in CreateStorageIdentifier()
Dwimax_service_unittest.cc235 string storage_id = service_->GetStorageIdentifier(); in TEST_F() local
236 EXPECT_CALL(storage, SetString(storage_id, _, _)) in TEST_F()
238 EXPECT_CALL(storage, DeleteKey(storage_id, _)).WillRepeatedly(Return(true)); in TEST_F()
239 EXPECT_CALL(storage, SetString(storage_id, in TEST_F()
Dwimax_provider.h122 WiMaxServiceRefPtr FindService(const std::string& storage_id) const;
/system/connectivity/shill/
Dstatic_ip_parameters.cc151 StoreInterface* storage, const string& storage_id) { in Load() argument
159 if (storage->GetInt(storage_id, name, &value)) { in Load()
169 if (storage->GetString(storage_id, name, &value)) { in Load()
181 if (storage->GetString(storage_id, name, &value)) { in Load()
198 StoreInterface* storage, const string& storage_id) { in Save() argument
207 storage->SetInt(storage_id, name, args_.GetInt(property.name)); in Save()
213 storage->SetString(storage_id, name, args_.GetString(property.name)); in Save()
222 storage_id, name, in Save()
231 storage->DeleteKey(storage_id, name); in Save()
Dstatic_ip_parameters.h46 void Load(StoreInterface* storage, const std::string& storage_id);
49 void Save(StoreInterface* storage, const std::string& storage_id);
/system/connectivity/shill/wifi/
Dwifi_service_unittest.cc930 const string storage_id = service->GetStorageIdentifier(); in TEST_F() local
932 groups.insert(storage_id); in TEST_F()
933 EXPECT_CALL(mock_store, ContainsGroup(StrEq(storage_id))) in TEST_F()
942 GetBool(StrEq(storage_id), WiFiService::kStorageHiddenSSID, _)) in TEST_F()
951 const string storage_id = service->GetStorageIdentifier(); in TEST_F() local
953 groups.insert(storage_id); in TEST_F()
954 EXPECT_CALL(mock_store, ContainsGroup(StrEq(storage_id))) in TEST_F()
1264 const string storage_id = service->GetStorageIdentifier(); in TEST_F() local
1268 EXPECT_TRUE(service->ParseStorageIdentifier(storage_id, &address, &mode, in TEST_F()
1279 const string storage_id = service->GetStorageIdentifier(); in TEST_F() local
[all …]
/system/connectivity/shill/cellular/
Dcellular.cc658 string storage_id = base::StringPrintf( in CreateService() local
661 service()->SetStorageIdentifier(storage_id); in CreateService()