Searched refs:prefs_key (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/ |
D | omaha_request_builder_xml.cc | 205 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()
|
D | omaha_request_builder_xml.h | 172 const std::string prefs_key,
|
D | omaha_request_action.h | 183 bool PersistCohortData(const std::string& prefs_key,
|
D | omaha_request_action.cc | 1400 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()
|
D | payload_state.cc | 1212 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()
|