Searched refs:fake_prefs (Results 1 – 9 of 9) sorted by relevance
/system/update_engine/update_manager/ |
D | real_updater_provider_unittest.cc | 363 FakeSystemState::Get()->fake_prefs()->SetBoolean( in TEST_F() 369 FakeSystemState::Get()->fake_prefs()->SetBoolean( in TEST_F() 377 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in TEST_F() local 378 fake_prefs->SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F() 380 fake_prefs->SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F() 382 fake_prefs->Delete(chromeos_update_engine::kPrefsP2PEnabled); in TEST_F() 391 FakeSystemState::Get()->fake_prefs()->SetBoolean( in TEST_F() 452 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in TEST_F() local 453 fake_prefs->SetInt64( in TEST_F() 460 fake_prefs->SetInt64( in TEST_F()
|
D | staging_utils_unittest.cc | 59 EXPECT_TRUE(FakeSystemState::Get()->fake_prefs()->SetInt64( in SetPersistedStagingVal()
|
/system/update_engine/cros/ |
D | omaha_request_builder_xml_unittest.cc | 392 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in TEST_F() local 399 EXPECT_TRUE(fake_prefs->SetString(dlc_cohort_key, kDlcCohortVal)); in TEST_F() 403 EXPECT_TRUE(fake_prefs->SetString(dlc_cohort_name_key, kDlcCohortNameVal)); in TEST_F() 407 EXPECT_TRUE(fake_prefs->SetString(dlc_cohort_hint_key, kDlcCohortHintVal)); in TEST_F()
|
D | update_attempter_unittest.cc | 232 prefs_ = FakeSystemState::Get()->fake_prefs(); in SetUp() 616 FakeSystemState::Get()->fake_prefs()->SetString(kPrefsUpdateCompletedOnBootId, in TEST_F() 1100 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in DecrementUpdateCheckCountTestStart() local 1103 EXPECT_TRUE(fake_prefs->SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart() 1122 EXPECT_TRUE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart() 1125 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart() 1133 EXPECT_TRUE(fake_prefs->SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart() 1135 EXPECT_TRUE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart() 1136 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart() 1155 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in NoScatteringDoneDuringManualUpdateTestStart() local [all …]
|
D | payload_state_unittest.cc | 1122 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in TEST_F() local 1124 EXPECT_TRUE(fake_prefs->Exists(kPrefsSystemUpdatedMarker)); in TEST_F() 1143 EXPECT_FALSE(fake_prefs->Exists(kPrefsSystemUpdatedMarker)); in TEST_F() 1185 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in TEST_F() local 1186 fake_prefs->SetBoolean(kPrefsAttemptInProgress, true); in TEST_F() 1196 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F() 1213 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in TEST_F() local 1215 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F() 1220 EXPECT_TRUE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F() 1225 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F()
|
D | fake_system_state.h | 210 inline FakePrefs* fake_prefs() { in fake_prefs() function
|
D | omaha_request_action_unittest.cc | 401 fake_prefs_ = FakeSystemState::Get()->fake_prefs(); in SetUp()
|
/system/update_engine/ |
D | BUILD.gn | 390 "common/fake_prefs.cc",
|
D | Android.bp | 778 "common/fake_prefs.cc",
|