/system/connectivity/shill/vpn/ |
D | vpn_provider.cc | 140 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 …]
|
D | vpn_driver.cc | 63 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()
|
D | mock_vpn_driver.h | 39 const std::string& storage_id)); 41 const std::string& storage_id,
|
D | vpn_driver.h | 55 virtual bool Load(StoreInterface* storage, const std::string& storage_id); 57 const std::string& storage_id,
|
D | vpn_provider.h | 92 const std::string& storage_id, 99 const std::string& storage_id,
|
D | third_party_vpn_driver.cc | 117 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()
|
D | third_party_vpn_driver.h | 82 bool Load(StoreInterface* storage, const std::string& storage_id) override; 83 bool Save(StoreInterface* storage, const std::string& storage_id,
|
D | vpn_provider_unittest.cc | 252 MATCHER_P(ServiceWithStorageId, storage_id, "") { 253 return arg->GetStorageIdentifier() == storage_id;
|
/system/connectivity/shill/wimax/ |
D | wimax_provider.cc | 237 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 …]
|
D | wimax_service.cc | 303 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()
|
D | wimax_service_unittest.cc | 235 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()
|
D | wimax_provider.h | 122 WiMaxServiceRefPtr FindService(const std::string& storage_id) const;
|
/system/connectivity/shill/ |
D | static_ip_parameters.cc | 151 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()
|
D | static_ip_parameters.h | 46 void Load(StoreInterface* storage, const std::string& storage_id); 49 void Save(StoreInterface* storage, const std::string& storage_id);
|
/system/connectivity/shill/wifi/ |
D | wifi_service_unittest.cc | 930 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/ |
D | cellular.cc | 658 string storage_id = base::StringPrintf( in CreateService() local 661 service()->SetStorageIdentifier(storage_id); in CreateService()
|