Home
last modified time | relevance | path

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

/system/connectivity/shill/
Djson_store_unittest.cc64 store_.reset(new JsonStore(test_file_)); in SetUp()
81 unique_ptr<JsonStore> store_; member in shill::JsonStoreTest
100 EXPECT_TRUE(store_->SetString("group_a", "knob_1", our_value)); in TEST_F()
101 EXPECT_TRUE(store_->GetString("group_a", "knob_1", &value_from_store)); in TEST_F()
110 EXPECT_TRUE(store_->SetBool("group_a", "knob_1", our_value)); in TEST_F()
111 EXPECT_TRUE(store_->GetBool("group_a", "knob_1", &value_from_store)); in TEST_F()
121 EXPECT_TRUE(store_->SetInt("group_a", "knob_1", our_value)); in TEST_F()
122 EXPECT_TRUE(store_->GetInt("group_a", "knob_1", &value_from_store)); in TEST_F()
134 EXPECT_TRUE(store_->SetUint64("group_a", "knob_1", our_value)); in TEST_F()
135 EXPECT_TRUE(store_->GetUint64("group_a", "knob_1", &value_from_store)); in TEST_F()
[all …]
Dkey_file_store_unittest.cc58 store_.reset(new KeyFileStore(test_file_)); in SetUp()
71 unique_ptr<KeyFileStore> store_; member in shill::KeyFileStoreTest
86 EXPECT_FALSE(store_->key_file_); in TEST_F()
88 EXPECT_FALSE(store_->IsNonEmpty()); in TEST_F()
89 ASSERT_TRUE(store_->Open()); in TEST_F()
90 EXPECT_TRUE(store_->key_file_); in TEST_F()
91 EXPECT_EQ(1, store_->crypto_.cryptos_.size()); in TEST_F()
92 ASSERT_TRUE(store_->Close()); in TEST_F()
93 EXPECT_FALSE(store_->key_file_); in TEST_F()
106 ASSERT_TRUE(store_->Open()); in TEST_F()
[all …]
Dpending_activation_store_unittest.cc41 store_.storage_.reset(mock_store_.release()); in SetMockStore()
45 PendingActivationStore store_; member in shill::PendingActivationStoreTest
55 EXPECT_TRUE(store_.InitStorage(temp_dir.path())); in TEST_F()
58 store_.GetActivationState( in TEST_F()
61 store_.GetActivationState( in TEST_F()
64 store_.GetActivationState( in TEST_F()
67 store_.GetActivationState( in TEST_F()
70 EXPECT_TRUE(store_.SetActivationState( in TEST_F()
74 EXPECT_TRUE(store_.SetActivationState( in TEST_F()
80 store_.GetActivationState( in TEST_F()
[all …]
Dkey_value_store_unittest.cc33 KeyValueStore store_; member in shill::KeyValueStoreTest
39 EXPECT_FALSE(store_.Contains(kKey)); in TEST_F()
40 store_.Set(kKey, brillo::Any(kValue)); in TEST_F()
41 EXPECT_TRUE(store_.Contains(kKey)); in TEST_F()
42 EXPECT_EQ(kValue, store_.Get(kKey).Get<string>()); in TEST_F()
43 store_.Remove(kKey); in TEST_F()
44 EXPECT_FALSE(store_.Contains(kKey)); in TEST_F()
51 EXPECT_FALSE(store_.ContainsBool(kKey)); in TEST_F()
52 EXPECT_EQ(kDefaultValue, store_.LookupBool(kKey, kDefaultValue)); in TEST_F()
53 store_.SetBool(kKey, kValue); in TEST_F()
[all …]
Dipconfig.cc82 store_.RegisterConstString(kAddressProperty, &properties_.address); in Init()
83 store_.RegisterConstString(kBroadcastProperty, in Init()
85 store_.RegisterConstString(kDomainNameProperty, &properties_.domain_name); in Init()
86 store_.RegisterConstString(kAcceptedHostnameProperty, in Init()
88 store_.RegisterConstString(kGatewayProperty, &properties_.gateway); in Init()
89 store_.RegisterConstString(kMethodProperty, &properties_.method); in Init()
90 store_.RegisterConstInt32(kMtuProperty, &properties_.mtu); in Init()
91 store_.RegisterConstStrings(kNameServersProperty, &properties_.dns_servers); in Init()
92 store_.RegisterConstString(kPeerAddressProperty, &properties_.peer_address); in Init()
93 store_.RegisterConstInt32(kPrefixlenProperty, &properties_.subnet_prefix); in Init()
[all …]
Dservice.cc175 store_(PropertyStore::PropertyChangeCallback( in Service()
218 store_.RegisterConstBool(kConnectableProperty, &connectable_); in Service()
222 store_.RegisterConstStrings(kEapRemoteCertificationProperty, in Service()
232 store_.RegisterConstString(kErrorProperty, &error_); in Service()
233 store_.RegisterConstString(kErrorDetailsProperty, &error_details_); in Service()
247 store_.RegisterConstString(kPreviousErrorProperty, in Service()
249 store_.RegisterConstInt32(kPreviousErrorSerialNumberProperty, in Service()
263 store_.RegisterBool(kSaveCredentialsProperty, &save_credentials_); in Service()
273 store_.RegisterConstUint8(kSignalStrengthProperty, &strength_); in Service()
274 store_.RegisterString(kUIDataProperty, &ui_data_); in Service()
[all …]
Dipconfig.h182 PropertyStore* mutable_store() { return &store_; } in mutable_store()
183 const PropertyStore& store() const { return store_; } in store()
245 PropertyStore store_; variable
Dprofile.h100 PropertyStore* mutable_store() { return &store_; } in mutable_store()
101 const PropertyStore& store() const { return store_; } in store()
255 PropertyStore store_; variable
Dprofile.cc76 store_.RegisterConstString(kNameProperty, &name_.identifier); in Profile()
77 store_.RegisterConstString(kUserHashProperty, &name_.user_hash); in Profile()
419 store_.RegisterDerivedStrings( in HelpRegisterConstDerivedStrings()
Dmanager.cc181 store_.RegisterBool(kArpGatewayProperty, &props_.arp_gateway); in Manager()
189 store_.RegisterConstString(kConnectionStateProperty, &connection_state_); in Manager()
190 store_.RegisterString(kCountryProperty, &props_.country); in Manager()
208 store_.RegisterString(kHostNameProperty, &props_.host_name); in Manager()
209 store_.RegisterString(kLinkMonitorTechnologiesProperty, in Manager()
211 store_.RegisterString(kNoAutoConnectTechnologiesProperty, in Manager()
213 store_.RegisterBool(kOfflineModeProperty, &props_.offline_mode); in Manager()
214 store_.RegisterString(kPortalURLProperty, &props_.portal_url); in Manager()
215 store_.RegisterInt32(kPortalCheckIntervalProperty, in Manager()
233 store_.RegisterBool(kWakeOnLanEnabledProperty, &is_wake_on_lan_enabled_); in Manager()
[all …]
Ddevice.cc179 store_.RegisterConstString(kAddressProperty, &hardware_address_); in Device()
204 store_.RegisterConstString(kInterfaceProperty, &link_name_); in Device()
209 store_.RegisterConstString(kNameProperty, &link_name_); in Device()
210 store_.RegisterConstBool(kPoweredProperty, &enabled_); in Device()
825 store_.RegisterDerivedString( in HelpRegisterConstDerivedString()
833 store_.RegisterDerivedRpcIdentifier( in HelpRegisterConstDerivedRpcIdentifier()
842 store_.RegisterDerivedRpcIdentifiers( in HelpRegisterConstDerivedRpcIdentifiers()
851 store_.RegisterDerivedUint64( in HelpRegisterConstDerivedUint64()
Ddevice.h255 PropertyStore* mutable_store() { return &store_; } in mutable_store()
256 const PropertyStore& store() const { return store_; } in store()
832 PropertyStore store_; variable
Dservice.h505 PropertyStore* mutable_store() { return &store_; } in mutable_store()
506 const PropertyStore& store() const { return store_; } in store()
875 PropertyStore store_; variable
Dmanager.h394 PropertyStore* mutable_store() { return &store_; } in mutable_store()
395 virtual const PropertyStore& store() const { return store_; } in store()
854 PropertyStore store_; variable
/system/connectivity/shill/wifi/
Dwifi_service_unittest.cc372 EXPECT_CALL(store_, GetString(id, WiFiService::kStorageType, _)) in AddServiceEntry()
375 EXPECT_CALL(store_, SetString(id, WiFiService::kStorageType, in AddServiceEntry()
378 EXPECT_CALL(store_, GetString(id, WiFiService::kStorageMode, _)) in AddServiceEntry()
381 EXPECT_CALL(store_, SetString(id, WiFiService::kStorageMode, in AddServiceEntry()
384 EXPECT_CALL(store_, GetString(id, WiFiService::kStorageSecurity, _)) in AddServiceEntry()
387 EXPECT_CALL(store_, SetString(id, WiFiService::kStorageSecurity, in AddServiceEntry()
390 EXPECT_CALL(store_, GetString(id, WiFiService::kStorageSecurityClass, _)) in AddServiceEntry()
393 EXPECT_CALL(store_, SetString(id, WiFiService::kStorageSecurityClass, in AddServiceEntry()
399 EXPECT_CALL(store_, GetGroups()).WillOnce(Return(groups_)); in FixupServiceEntries()
400 return WiFiService::FixupServiceEntries(&store_); in FixupServiceEntries()
[all …]