• Home
  • Raw
  • Download

Lines Matching refs:prefs

1691   NiceMock<MockPrefs> prefs;  in TEST_F()  local
1692 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
1698 EXPECT_CALL(prefs, GetString(kPrefsPreviousVersion, _)) in TEST_F()
1702 EXPECT_CALL(prefs, SetString(kPrefsPreviousVersion, _)).Times(0); in TEST_F()
1920 NiceMock<MockPrefs> prefs; in PingTest() local
1921 FakeSystemState::Get()->set_prefs(&prefs); in PingTest()
1922 EXPECT_CALL(prefs, GetInt64(kPrefsMetricsCheckLastReportingTime, _)) in PingTest()
1924 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in PingTest()
1930 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in PingTest()
1932 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in PingTest()
1934 EXPECT_CALL(prefs, GetInt64(kPrefsLastRollCallPingDay, _)) in PingTest()
1964 NiceMock<MockPrefs> prefs; in TEST_F() local
1965 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
1966 EXPECT_CALL(prefs, GetInt64(kPrefsMetricsCheckLastReportingTime, _)) in TEST_F()
1968 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
1972 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F()
1974 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in TEST_F()
1976 EXPECT_CALL(prefs, GetInt64(kPrefsLastRollCallPingDay, _)) in TEST_F()
1989 NiceMock<MockPrefs> prefs; in TEST_F() local
1990 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
1991 EXPECT_CALL(prefs, GetInt64(kPrefsMetricsCheckLastReportingTime, _)) in TEST_F()
1993 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
1997 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F()
1999 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in TEST_F()
2001 EXPECT_CALL(prefs, GetInt64(kPrefsLastRollCallPingDay, _)) in TEST_F()
2015 NiceMock<MockPrefs> prefs; in TEST_F() local
2016 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
2017 EXPECT_CALL(prefs, GetInt64(kPrefsMetricsCheckLastReportingTime, _)) in TEST_F()
2019 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2022 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F()
2024 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in TEST_F()
2026 EXPECT_CALL(prefs, GetInt64(kPrefsLastRollCallPingDay, _)) in TEST_F()
2030 EXPECT_CALL(prefs, SetInt64(kPrefsLastActivePingDay, _)) in TEST_F()
2032 EXPECT_CALL(prefs, SetInt64(kPrefsLastRollCallPingDay, _)) in TEST_F()
2046 NiceMock<MockPrefs> prefs; in TEST_F() local
2047 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
2049 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in TEST_F()
2051 EXPECT_CALL(prefs, GetInt64(kPrefsLastRollCallPingDay, _)) in TEST_F()
2053 EXPECT_CALL(prefs, SetInt64(kPrefsLastActivePingDay, _)).Times(0); in TEST_F()
2054 EXPECT_CALL(prefs, SetInt64(kPrefsLastRollCallPingDay, _)).Times(0); in TEST_F()
2066 NiceMock<MockPrefs> prefs; in TEST_F() local
2067 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
2068 EXPECT_CALL(prefs, GetInt64(kPrefsMetricsCheckLastReportingTime, _)) in TEST_F()
2070 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2073 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F()
2075 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in TEST_F()
2077 EXPECT_CALL(prefs, GetInt64(kPrefsLastRollCallPingDay, _)) in TEST_F()
2079 EXPECT_CALL(prefs, SetInt64(kPrefsLastActivePingDay, _)) in TEST_F()
2081 EXPECT_CALL(prefs, SetInt64(kPrefsLastRollCallPingDay, _)) in TEST_F()
2105 NiceMock<MockPrefs> prefs; in TEST_F() local
2106 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
2107 EXPECT_CALL(prefs, GetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2108 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2109 EXPECT_CALL(prefs, in TEST_F()
2113 EXPECT_CALL(prefs, in TEST_F()
2130 NiceMock<MockPrefs> prefs; in TEST_F() local
2131 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
2132 EXPECT_CALL(prefs, GetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2133 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2134 EXPECT_CALL(prefs, SetInt64(kPrefsLastActivePingDay, _)).Times(0); in TEST_F()
2135 EXPECT_CALL(prefs, SetInt64(kPrefsLastRollCallPingDay, _)).Times(0); in TEST_F()
2149 NiceMock<MockPrefs> prefs; in TEST_F() local
2150 FakeSystemState::Get()->set_prefs(&prefs); in TEST_F()
2151 EXPECT_CALL(prefs, GetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2152 EXPECT_CALL(prefs, SetInt64(_, _)).Times(AnyNumber()); in TEST_F()
2153 EXPECT_CALL(prefs, SetInt64(kPrefsLastActivePingDay, _)).Times(0); in TEST_F()
2154 EXPECT_CALL(prefs, SetInt64(kPrefsLastRollCallPingDay, _)).Times(0); in TEST_F()
3051 EXPECT_TRUE(FakeSystemState::Get()->prefs()->GetString(kPrefsOmahaEolDate, in TEST_F()
3066 FakeSystemState::Get()->prefs()->SetString(kPrefsOmahaEolDate, kDate); in TEST_F()
3071 EXPECT_TRUE(FakeSystemState::Get()->prefs()->GetString(kPrefsOmahaEolDate, in TEST_F()
3088 EXPECT_TRUE(FakeSystemState::Get()->prefs()->GetString(kPrefsOmahaEolDate, in TEST_F()