Home
last modified time | relevance | path

Searched refs:SetBool (Results 1 – 25 of 36) sorted by relevance

12

/system/connectivity/shill/
Djson_store_unittest.cc110 EXPECT_TRUE(store_->SetBool("group_a", "knob_1", our_value)); in TEST_F()
217 ASSERT_TRUE(store_->SetBool("group_a", "bool_knob", true)); in TEST_F()
245 EXPECT_TRUE(store_->SetBool("group_a", "knob_1", true)); in TEST_F()
253 EXPECT_TRUE(store_->SetBool("group_a", "knob_1", true)); in TEST_F()
261 EXPECT_TRUE(store_->SetBool("group_a", "knob_1", true)); in TEST_F()
294 EXPECT_TRUE(store_->SetBool("group_a", "knob_1", true)); in TEST_F()
359 store_->SetBool("group_a", "knob_1", bool()); in TEST_F()
366 store_->SetBool("group_a", "knob_1", bool()); in TEST_F()
367 store_->SetBool("group_a", "knob_2", bool()); in TEST_F()
374 store_->SetBool("group_a", "knob_1", bool()); in TEST_F()
[all …]
Dkey_value_store_unittest.cc53 store_.SetBool(kKey, kValue); in TEST_F()
238 store_.SetBool(kBoolKey, kBoolValue); in TEST_F()
310 first.SetBool("boolKey", true); in TEST_F()
315 second.SetBool("boolKey", true); in TEST_F()
320 first.SetBool("boolKey", true); in TEST_F()
321 second.SetBool("boolOtherKey", true); in TEST_F()
326 first.SetBool("boolKey", true); in TEST_F()
327 second.SetBool("boolKey", false); in TEST_F()
504 first.SetBool("boolKey", true); in TEST_F()
516 second.SetBool("boolKey", true); in TEST_F()
[all …]
Ddefault_profile.cc188 storage()->SetBool(kStorageId, kStorageArpGateway, props_.arp_gateway); in Save()
191 storage()->SetBool(kStorageId, kStorageOfflineMode, props_.offline_mode); in Save()
Dvirtual_device_unittest.cc84 EXPECT_CALL(storage, SetBool(_, _, _)).Times(0); // Or any type, really. in TEST_F()
Dservice_unittest.cc665 EXPECT_CALL(storage, SetBool(storage_id_, _, _)).Times(AnyNumber()); in TEST_F()
667 SetBool(storage_id_, in TEST_F()
691 EXPECT_CALL(storage, SetBool(storage_id_, _, _)).Times(AnyNumber()); in TEST_F()
699 SetBool(storage_id_, Service::kStorageAutoConnect, true)); in TEST_F()
704 SetBool(storage_id_, Service::kStorageAutoConnect, false)); in TEST_F()
720 EXPECT_CALL(storage, SetBool(storage_id_, _, _)).Times(AnyNumber()); in TEST_F()
728 SetBool(storage_id_, Service::kStorageHasEverConnected, true)); in TEST_F()
733 SetBool(storage_id_, Service::kStorageHasEverConnected, false)); in TEST_F()
1168 args.SetBool(kAutoConnectProperty, true); in TEST_F()
1240 args.SetBool(kAutoConnectProperty, true); in TEST_F()
[all …]
Dkey_file_store_unittest.cc254 args.SetBool(kAttributeC, kValueC_0); in TEST_F()
262 args.SetBool(kAttributeC, kValueC_1); in TEST_F()
390 TEST_F(KeyFileStoreTest, SetBool) { in TEST_F() argument
395 ASSERT_TRUE(store_->SetBool(kGroup, kKeyTrue, true)); in TEST_F()
396 ASSERT_TRUE(store_->SetBool(kGroup, kKeyFalse, false)); in TEST_F()
828 EXPECT_TRUE(store_->SetBool(kGroupB, kKeyBool, false)); in TEST_F()
Dstore_interface.h108 virtual bool SetBool(const std::string& group,
Dmock_store.h61 MOCK_METHOD3(SetBool, bool(const std::string& group,
Dstub_storage.h69 bool SetBool(const std::string& group, in SetBool() function
Dkey_file_store.h64 bool SetBool(const std::string& group,
Dfake_store.h62 bool SetBool(const std::string& group,
Djson_store.h63 bool SetBool(const std::string& group,
Dservice.cc611 storage->SetBool(id, kStorageAutoConnect, auto_connect_); in Save()
626 storage->SetBool(id, kStorageHasEverConnected, has_ever_connected_); in Save()
640 storage->SetBool(id, kStorageSaveCredentials, save_credentials_); in Save()
644 storage->SetBool(id, kStorageDNSAutoFallback, is_dns_auto_fallback_allowed_); in Save()
645 storage->SetBool(id, kStorageLinkMonitorDisabled, link_monitor_disabled_); in Save()
646 storage->SetBool(id, kStorageManagedCredentials, managed_credentials_); in Save()
Deap_credentials.cc433 storage->SetBool(id, kStorageEapUseProactiveKeyCaching, in Save()
435 storage->SetBool(id, kStorageEapUseSystemCAs, use_system_cas_); in Save()
Ddefault_profile_unittest.cc135 EXPECT_CALL(*storage.get(), SetBool(DefaultProfile::kStorageId, in TEST_F()
147 EXPECT_CALL(*storage.get(), SetBool(DefaultProfile::kStorageId, in TEST_F()
Dkey_value_store.h93 void SetBool(const std::string& name, bool value);
Dfake_store.cc168 bool FakeStore::SetBool(const string& group, const string& key, bool value) { in SetBool() function in shill::FakeStore
Dkey_file_store.cc269 bool KeyFileStore::SetBool(const string& group, const string& key, bool value) { in SetBool() function in shill::KeyFileStore
/system/connectivity/shill/cellular/
Dcellular_bearer_unittest.cc104 properties.SetBool(MM_BEARER_PROPERTY_CONNECTED, connected); in ConstructBearerProperties()
190 properties.SetBool(MM_BEARER_PROPERTY_CONNECTED, true); in TEST_F()
203 properties.SetBool(MM_BEARER_PROPERTY_CONNECTED, true); in TEST_F()
Dcellular_capability_gsm.cc117 status.SetBool(kSIMLockEnabledProperty, sim_lock_status_.enabled); in SimLockStatusToProperty()
281 properties->SetBool(kConnectPropertyHomeOnly, true); in FillConnectPropertyMap()
Dcellular_capability_gsm_unittest.cc687 lock_status.SetBool(kSIMLockEnabledProperty, true); in TEST_F()
709 lock_status2.SetBool(kSIMLockEnabledProperty, false); in TEST_F()
/system/connectivity/shill/vpn/
Dl2tp_ipsec_driver.cc506 props.SetBool(kPassphraseRequiredProperty, in GetProvider()
508 props.SetBool(kL2tpIpsecPskRequiredProperty, IsPskRequired()); in GetProvider()
/system/connectivity/shill/wifi/
Dwifi_provider_unittest.cc285 args->SetBool(kWifiHiddenSsid, is_hidden); in SetServiceParameters()
1034 args.SetBool(kWifiHiddenSsid, false); in TEST_F()
1061 args.SetBool(kWifiHiddenSsid, false); in TEST_F()
1077 args.SetBool(kWifiHiddenSsid, false); in TEST_F()
1094 args.SetBool(kWifiHiddenSsid, false); in TEST_F()
1109 args.SetBool(kWifiHiddenSsid, false); in TEST_F()
1140 args.SetBool(kWifiHiddenSsid, false); in TEST_F()
Dwifi_service.cc411 storage->SetBool(id, kStorageHiddenSSID, hidden_ssid_); in Save()
420 storage->SetBool(id, kStorageRoamThresholdSet, roam_threshold_db_set_); in Save()
/system/connectivity/shill/ethernet/
Dethernet.cc196 storage->SetBool(id, kPPPoEProperty, GetPPPoEMode(nullptr)); in Save()

12