Home
last modified time | relevance | path

Searched refs:prefs_key (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/
Domaha_request_action.cc225 const string prefs_key) { in GetCohortArgXml() argument
228 if (!prefs->Exists(prefs_key)) in GetCohortArgXml()
231 if (!prefs->GetString(prefs_key, &cohort_value) || cohort_value.empty()) in GetCohortArgXml()
1671 bool OmahaRequestAction::PersistCohortData(const string& prefs_key, in PersistCohortData() argument
1673 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) { in PersistCohortData()
1674 LOG(INFO) << "Removing stored " << prefs_key << " value."; in PersistCohortData()
1675 return system_state_->prefs()->Delete(prefs_key); in PersistCohortData()
1677 LOG(INFO) << "Storing new setting " << prefs_key << " as " << new_value; in PersistCohortData()
1678 return system_state_->prefs()->SetString(prefs_key, new_value); in PersistCohortData()
Domaha_request_action.h229 bool PersistCohortData(const std::string& prefs_key,
Dpayload_state.cc1184 string prefs_key = GetPrefsKey(kPrefsCurrentBytesDownloaded, source); in SetCurrentBytesDownloaded() local
1185 prefs_->SetInt64(prefs_key, current_bytes_downloaded); in SetCurrentBytesDownloaded()
1208 string prefs_key = GetPrefsKey(kPrefsTotalBytesDownloaded, source); in SetTotalBytesDownloaded() local
1209 prefs_->SetInt64(prefs_key, total_bytes_downloaded); in SetTotalBytesDownloaded()