Home
last modified time | relevance | path

Searched refs:GetBool (Results 1 – 25 of 33) sorted by relevance

12

/system/connectivity/shill/
Djson_store_unittest.cc111 EXPECT_TRUE(store_->GetBool("group_a", "knob_1", &value_from_store)); in TEST_F()
199 EXPECT_FALSE(store_->GetBool("group_a", "bool_knob", nullptr)); in TEST_F()
209 EXPECT_FALSE(store_->GetBool("group_a", "bool_knob", nullptr)); in TEST_F()
226 EXPECT_TRUE(store_->GetBool("group_a", "bool_knob", nullptr)); in TEST_F()
239 EXPECT_FALSE(store_->GetBool("group_a", "knob_1", &value_from_store)); in TEST_F()
247 EXPECT_FALSE(store_->GetBool("group_b", "knob_1", &value_from_store)); in TEST_F()
255 EXPECT_FALSE(store_->GetBool("group_a", "knob_2", &value_from_store)); in TEST_F()
263 EXPECT_FALSE(store_->GetBool("group_b", "knob_1", &value_from_store)); in TEST_F()
281 EXPECT_FALSE(store_->GetBool("group_a", "knob_1", nullptr)); in TEST_F()
309 EXPECT_FALSE(store_->GetBool("group_a", "knob_1", nullptr)); in TEST_F()
[all …]
Dkey_file_store_unittest.cc359 TEST_F(KeyFileStoreTest, GetBool) { in TEST_F() argument
372 EXPECT_TRUE(store_->GetBool(kGroup, kKeyFalse, &value)); in TEST_F()
377 EXPECT_TRUE(store_->GetBool(kGroup, kKeyTrue, &value)); in TEST_F()
382 EXPECT_FALSE(store_->GetBool(kGroup, kKeyBad, &value)); in TEST_F()
383 EXPECT_FALSE(store_->GetBool(kGroup, "unknown", &value)); in TEST_F()
384 EXPECT_FALSE(store_->GetBool("unknown", kKeyTrue, &value)); in TEST_F()
386 EXPECT_TRUE(store_->GetBool(kGroup, kKeyFalse, nullptr)); in TEST_F()
808 EXPECT_TRUE(store_->GetBool(kGroupB, kKeyBool, &value)); in TEST_F()
810 EXPECT_TRUE(store_->GetBool(kGroupC, kKeyBool, &value)); in TEST_F()
812 EXPECT_FALSE(store_->GetBool(kGroupA, kKeyBool, &value)); in TEST_F()
[all …]
Ddefault_profile.cc120 storage()->GetBool(kStorageId, kStorageArpGateway, in LoadManagerProperties()
123 storage()->GetBool(kStorageId, kStorageOfflineMode, in LoadManagerProperties()
Ddefault_profile_unittest.cc200 EXPECT_CALL(*storage.get(), GetBool(DefaultProfile::kStorageId, in TEST_F()
208 EXPECT_CALL(*storage.get(), GetBool(DefaultProfile::kStorageId, in TEST_F()
271 EXPECT_CALL(*storage.get(), GetBool(DefaultProfile::kStorageId, in TEST_F()
279 EXPECT_CALL(*storage.get(), GetBool(DefaultProfile::kStorageId, in TEST_F()
Dstub_storage.h64 bool GetBool(const std::string& group, in GetBool() function
Dmock_store.h58 MOCK_CONST_METHOD3(GetBool, bool(const std::string& group,
Dstore_interface.h102 virtual bool GetBool(const std::string& group,
Dfake_store.h59 bool GetBool(const std::string& group,
Dkey_file_store.h61 bool GetBool(const std::string& group,
Dservice.cc526 storage->GetBool(id, kStorageAutoConnect, &auto_connect_); in Load()
528 storage->GetBool(id, kStorageFavorite, &retain_auto_connect_); in Load()
541 storage->GetBool(id, kStorageSaveCredentials, &save_credentials_); in Load()
545 storage->GetBool(id, kStorageDNSAutoFallback, &is_dns_auto_fallback_allowed_); in Load()
546 storage->GetBool(id, kStorageLinkMonitorDisabled, &link_monitor_disabled_); in Load()
547 if (!storage->GetBool(id, kStorageManagedCredentials, in Load()
567 storage->GetBool(id, kStorageHasEverConnected, &has_ever_connected_); in Load()
Djson_store.h60 bool GetBool(const std::string& group,
Dkey_file_store.cc251 bool KeyFileStore::GetBool(const string& group, in GetBool() function in shill::KeyFileStore
395 if (!GetBool(group, property.first, &value) || in DoesGroupMatchProperties()
Deap_credentials.cc313 storage->GetBool(id, kStorageEapUseProactiveKeyCaching, in Load()
315 storage->GetBool(id, kStorageEapUseSystemCAs, &use_system_cas_); in Load()
Dkey_value_store.h71 bool GetBool(const std::string& name) const;
Dfake_store.cc163 bool FakeStore::GetBool(const string& group, const string& key, bool* value) in GetBool() function in shill::FakeStore
Dservice_unittest.cc473 EXPECT_CALL(storage, GetBool(storage_id_, _, _)).Times(AnyNumber()); in TEST_F()
475 GetBool(storage_id_, Service::kStorageSaveCredentials, _)); in TEST_F()
477 GetBool(storage_id_, Service::kStorageHasEverConnected, _)) in TEST_F()
502 EXPECT_CALL(storage, GetBool(storage_id_, _, _)) in TEST_F()
537 EXPECT_CALL(storage, GetBool(storage_id_, _, _)) in TEST_F()
552 EXPECT_CALL(storage, GetBool(storage_id_, Service::kStorageAutoConnect, _)) in TEST_F()
562 EXPECT_CALL(storage, GetBool(storage_id_, Service::kStorageFavorite, _)) in TEST_F()
745 EXPECT_CALL(storage, GetBool(storage_id_, _, _)) in TEST_F()
Dkey_value_store_unittest.cc61 static_cast<int>(store_.GetBool(kKey))); in TEST_F()
706 EXPECT_EQ(kBoolValue, store.GetBool(kBoolKey)); in TEST_F()
/system/connectivity/shill/ethernet/
Dethernet_service_unittest.cc120 EXPECT_CALL(mock_store, GetBool(_, _, _)).WillRepeatedly(Return(false)); in TEST_F()
Dethernet.cc183 storage->GetBool(id, kPPPoEProperty, &pppoe); in Load()
/system/connectivity/shill/cellular/
Dcellular_bearer.cc193 connected_ = changed_properties.GetBool(MM_BEARER_PROPERTY_CONNECTED); in OnPropertiesChanged()
Dcellular_capability_classic.cc289 bool enabled = changed_properties.GetBool(kModemPropertyEnabled); in OnPropertiesChanged()
/system/connectivity/shill/wifi/
Dwifi_service_unittest.cc939 EXPECT_CALL(mock_store, GetBool(_, _, _)) in TEST_F()
942 GetBool(StrEq(storage_id), WiFiService::kStorageHiddenSSID, _)) in TEST_F()
984 EXPECT_CALL(mock_store, GetBool(first_group, _, _)) in TEST_F()
986 EXPECT_CALL(mock_store, GetBool(StrNe(first_group), _, _)).Times(0); in TEST_F()
1026 EXPECT_CALL(mock_store, GetBool(_, _, _)) in TEST_F()
1064 EXPECT_CALL(mock_store, GetBool(_, _, _)) in TEST_F()
1075 GetBool(kStorageId, Service::kStorageHasEverConnected, _)) in TEST_F()
2176 EXPECT_CALL(mock_store, GetBool(_, _, _)) in TEST_F()
2261 EXPECT_CALL(mock_store, GetBool(_, _, _)).Times(AnyNumber()); in TEST_F()
2280 EXPECT_CALL(mock_store, GetBool(StrEq(kStorageId), in TEST_F()
Dwifi_endpoint.cc342 flags->privacy = properties.GetBool(WPASupplicant::kPropertyPrivacy); in ParseSecurity()
Dwifi_service.cc376 storage->GetBool(id, kStorageHiddenSSID, &hidden_ssid_); in Load()
397 storage->GetBool(id, kStorageRoamThresholdSet, &roam_threshold_db_set_); in Load()
/system/core/libcutils/tests/
DPropertiesTest.cpp175 TEST_F(PropertiesTest, GetBool) { in TEST_F() argument

12