Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_builder_xml.cc205 const string prefs_key, in GetCohortArg() argument
214 if (!prefs_->Exists(prefs_key)) in GetCohortArg()
216 if (!prefs_->GetString(prefs_key, &cohort_value) || cohort_value.empty()) in GetCohortArg()
Domaha_request_builder_xml.h172 const std::string prefs_key,
Domaha_request_action.h183 bool PersistCohortData(const std::string& prefs_key,
Domaha_request_action.cc1400 bool OmahaRequestAction::PersistCohortData(const string& prefs_key, in PersistCohortData() argument
1402 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) { in PersistCohortData()
1403 LOG(INFO) << "Removing stored " << prefs_key << " value."; in PersistCohortData()
1404 return system_state_->prefs()->Delete(prefs_key); in PersistCohortData()
1406 LOG(INFO) << "Storing new setting " << prefs_key << " as " << new_value; in PersistCohortData()
1407 return system_state_->prefs()->SetString(prefs_key, new_value); in PersistCohortData()
Dpayload_state.cc1212 string prefs_key = GetPrefsKey(kPrefsCurrentBytesDownloaded, source); in SetCurrentBytesDownloaded() local
1213 prefs_->SetInt64(prefs_key, current_bytes_downloaded); in SetCurrentBytesDownloaded()
1236 string prefs_key = GetPrefsKey(kPrefsTotalBytesDownloaded, source); in SetTotalBytesDownloaded() local
1237 prefs_->SetInt64(prefs_key, total_bytes_downloaded); in SetTotalBytesDownloaded()