Lines Matching refs:prefs
200 PrefsInterface* prefs = system_state_->prefs(); in SetCohortHint() local
205 if (!prefs->SetString(kPrefsOmahaCohortHint, in_cohort_hint)) { in SetCohortHint()
218 PrefsInterface* prefs = system_state_->prefs(); in GetCohortHint() local
221 if (prefs->Exists(kPrefsOmahaCohortHint) && in GetCohortHint()
222 !prefs->GetString(kPrefsOmahaCohortHint, out_cohort_hint)) { in GetCohortHint()
231 PrefsInterface* prefs = system_state_->prefs(); in SetP2PUpdatePermission() local
233 if (!prefs->SetBoolean(kPrefsP2PEnabled, in_enabled)) { in SetP2PUpdatePermission()
246 PrefsInterface* prefs = system_state_->prefs(); in GetP2PUpdatePermission() local
249 if (prefs->Exists(kPrefsP2PEnabled) && in GetP2PUpdatePermission()
250 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) { in GetP2PUpdatePermission()
287 PrefsInterface* prefs = system_state_->prefs(); in SetUpdateOverCellularPermission() local
289 if (!prefs->SetBoolean(kPrefsUpdateOverCellularPermission, in_allowed)) { in SetUpdateOverCellularPermission()
370 PrefsInterface* prefs = system_state_->prefs(); in GetEolStatus() local
373 if (prefs->Exists(kPrefsOmahaEolStatus) && in GetEolStatus()
374 !prefs->GetString(kPrefsOmahaEolStatus, &str_eol_status)) { in GetEolStatus()