Searched refs:kPrefsUpdateCheckCount (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/common/ |
D | constants.cc | 86 const char kPrefsUpdateCheckCount[] = "update-check-count"; variable
|
D | constants.h | 89 extern const char kPrefsUpdateCheckCount[];
|
/system/update_engine/cros/ |
D | update_attempter.cc | 555 prefs_->Delete(kPrefsUpdateCheckCount); in CalculateScatteringParams() 1144 prefs_->Delete(kPrefsUpdateCheckCount); in ProcessingDoneInternal() 1659 if (!prefs_->Exists(kPrefsUpdateCheckCount)) { in DecrementUpdateCheckCount() 1667 if (prefs_->GetInt64(kPrefsUpdateCheckCount, &update_check_count_value)) { in DecrementUpdateCheckCount() 1686 if (prefs_->SetInt64(kPrefsUpdateCheckCount, update_check_count_value)) { in DecrementUpdateCheckCount() 1700 prefs_->Delete(kPrefsUpdateCheckCount); in DecrementUpdateCheckCount()
|
D | update_attempter_unittest.cc | 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() 1160 EXPECT_TRUE(fake_prefs->SetInt64(kPrefsUpdateCheckCount, initial_value)); in NoScatteringDoneDuringManualUpdateTestStart() 1189 EXPECT_FALSE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in NoScatteringDoneDuringManualUpdateTestStart() 1198 EXPECT_TRUE(prefs_->SetInt64(kPrefsUpdateCheckCount, initial_value)); in SetUpStagingTest() 1229 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &update_count)); in StagingSetsPrefsAndTurnsOffScatteringStart() [all …]
|
D | omaha_request_action.cc | 1342 if (SystemState::Get()->prefs()->Exists(kPrefsUpdateCheckCount)) { in IsUpdateCheckCountBasedWaitingSatisfied() 1343 if (!SystemState::Get()->prefs()->GetInt64(kPrefsUpdateCheckCount, in IsUpdateCheckCountBasedWaitingSatisfied() 1362 if (!SystemState::Get()->prefs()->SetInt64(kPrefsUpdateCheckCount, in IsUpdateCheckCountBasedWaitingSatisfied()
|
D | omaha_request_action_unittest.cc | 1158 ASSERT_TRUE(fake_prefs_->GetInt64(kPrefsUpdateCheckCount, &count)); in TEST_F() 1177 ASSERT_TRUE(fake_prefs_->GetInt64(kPrefsUpdateCheckCount, &count)); in TEST_F() 1210 ASSERT_TRUE(fake_prefs_->SetInt64(kPrefsUpdateCheckCount, 5)); in TEST_F() 1214 ASSERT_TRUE(fake_prefs_->GetInt64(kPrefsUpdateCheckCount, &count)); in TEST_F() 1232 ASSERT_TRUE(fake_prefs_->SetInt64(kPrefsUpdateCheckCount, 5)); in TEST_F()
|