Searched refs:kPrefsInstallDateDays (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/common/ |
D | constants.cc | 47 const char kPrefsInstallDateDays[] = "install-date-days"; variable
|
D | constants.h | 52 extern const char kPrefsInstallDateDays[];
|
/system/update_engine/ |
D | omaha_request_action_unittest.cc | 1815 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in PingTest() 1857 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F() 1882 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F() 1907 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F() 1958 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F() 2425 EXPECT_FALSE(fake_prefs_.Exists(kPrefsInstallDateDays)); in TEST_F() 2429 EXPECT_TRUE(fake_prefs_.Exists(kPrefsInstallDateDays)); in TEST_F() 2431 EXPECT_TRUE(fake_prefs_.GetInt64(kPrefsInstallDateDays, &prefs_days)); in TEST_F() 2438 EXPECT_TRUE(fake_prefs_.GetInt64(kPrefsInstallDateDays, &prefs_days)); in TEST_F() 2443 EXPECT_TRUE(fake_prefs_.Delete(kPrefsInstallDateDays)); in TEST_F() [all …]
|
D | omaha_request_action.cc | 353 if (prefs->GetInt64(kPrefsInstallDateDays, &stored_value)) { in GetInstallDate() 360 prefs->Delete(kPrefsInstallDateDays); in GetInstallDate() 1377 return prefs->Exists(kPrefsInstallDateDays); in HasInstallDate() 1391 if (!prefs->SetInt64(kPrefsInstallDateDays, install_date_days)) in PersistInstallDate()
|