Searched defs:prefs_key (Results 1 - 2 of 2) sorted by relevance
/system/update_engine/ |
H A D | omaha_request_action.cc | 166 // |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 D | payload_state.cc | 1117 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 892 milliseconds