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

/system/update_engine/
H A Domaha_request_action.cc166 // |arg_name| and |prefs_key|, if any. The return value is suitable to
170 const string prefs_key) {
173 if (!prefs->Exists(prefs_key))
176 if (!prefs->GetString(prefs_key, &cohort_value) || cohort_value.empty())
1371 const string& prefs_key,
1373 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) {
1374 LOG(INFO) << "Removing stored " << prefs_key << " value.";
1375 return system_state_->prefs()->Delete(prefs_key);
1377 LOG(INFO) << "Storing new setting " << prefs_key << " as " << new_value;
1378 return system_state_->prefs()->SetString(prefs_key, new_valu
168 GetCohortArgXml(PrefsInterface* prefs, const string arg_name, const string prefs_key) argument
1370 PersistCohortData( const string& prefs_key, const string& new_value) argument
[all...]
H A Domaha_request_action.h215 // Persist the new cohort* value received in the XML file in the |prefs_key|
219 bool PersistCohortData(const std::string& prefs_key,
H A Dpayload_state.cc1117 string prefs_key = GetPrefsKey(kPrefsCurrentBytesDownloaded, source); local
1118 prefs_->SetInt64(prefs_key, current_bytes_downloaded);
1142 string prefs_key = GetPrefsKey(kPrefsTotalBytesDownloaded, source); local
1143 prefs_->SetInt64(prefs_key, total_bytes_downloaded);

Completed in 63 milliseconds