Home
last modified time | relevance | path

Searched refs:kPrefsOmahaCohortHint (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/common/
Dconstants.cc56 const char kPrefsOmahaCohortHint[] = "omaha-cohort-hint"; variable
Dconstants.h57 extern const char kPrefsOmahaCohortHint[];
/system/update_engine/
Dcommon_service.cc219 if (!prefs->SetString(kPrefsOmahaCohortHint, in_cohort_hint)) { in SetCohortHint()
235 if (prefs->Exists(kPrefsOmahaCohortHint) && in GetCohortHint()
236 !prefs->GetString(kPrefsOmahaCohortHint, out_cohort_hint)) { in GetCohortHint()
Domaha_request_action_unittest.cc662 EXPECT_FALSE(fake_prefs_.Exists(kPrefsOmahaCohortHint)); in TEST_F()
1435 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1445 EXPECT_TRUE(fake_prefs_.SetString(kPrefsOmahaCohortHint, "old_hint")); in TEST_F()
1466 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1490 EXPECT_FALSE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1515 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1544 EXPECT_TRUE(fake_prefs_.GetString(kPrefsOmahaCohortHint, &value)); in TEST_F()
1768 fake_prefs_.SetString(kPrefsOmahaCohortHint, "evil&string\\"); in TEST_F()
Domaha_request_action.cc325 system_state->prefs(), "cohorthint", kPrefsOmahaCohortHint); in GetAppXml()
1070 PersistCohortData(kPrefsOmahaCohortHint, app.cohorthint); in ParseResponse()