Home
last modified time | relevance | path

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

/system/update_engine/
Dmetrics_utils.cc292 int64_t stored_value; in WallclockDurationHelper() local
293 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper()
294 Time stored_time = Time::FromInternalValue(stored_value); in WallclockDurationHelper()
333 int64_t stored_value; in GetPersistedValue() local
334 if (!prefs->GetInt64(key, &stored_value)) in GetPersistedValue()
337 if (stored_value < 0) { in GetPersistedValue()
338 LOG(ERROR) << key << ": Invalid value (" << stored_value in GetPersistedValue()
343 return stored_value; in GetPersistedValue()
392 int64_t stored_value = GetPersistedValue(kPrefsSystemUpdatedMarker, prefs); in LoadAndReportTimeToReboot() local
393 if (stored_value == 0) in LoadAndReportTimeToReboot()
[all …]
Dpayload_state.cc854 string stored_value; in LoadResponseSignature() local
856 prefs_->GetString(kPrefsCurrentResponseSignature, &stored_value)) { in LoadResponseSignature()
857 SetResponseSignature(stored_value); in LoadResponseSignature()
981 int64_t stored_value; in LoadBackoffExpiryTime() local
985 if (!prefs_->GetInt64(kPrefsBackoffExpiryTime, &stored_value)) in LoadBackoffExpiryTime()
988 Time stored_time = Time::FromInternalValue(stored_value); in LoadBackoffExpiryTime()
1015 int64_t stored_value; in LoadUpdateTimestampStart() local
1026 } else if (!prefs_->GetInt64(kPrefsUpdateTimestampStart, &stored_value)) { in LoadUpdateTimestampStart()
1030 stored_time = Time::FromInternalValue(stored_value); in LoadUpdateTimestampStart()
1065 int64_t stored_value; in LoadUpdateDurationUptime() local
[all …]
Dupdate_attempter.cc177 int64_t stored_value; in CheckAndReportDailyMetrics() local
181 &stored_value)) { in CheckAndReportDailyMetrics()
182 Time last_reported_at = Time::FromInternalValue(stored_value); in CheckAndReportDailyMetrics()
Domaha_request_action.cc767 int64_t stored_value; in GetInstallDate() local
768 if (prefs->GetInt64(kPrefsInstallDateDays, &stored_value)) { in GetInstallDate()
770 int install_date_days = static_cast<int>(stored_value); in GetInstallDate()
/system/bt/btif/src/
Dbtif_config.cc385 const std::string* stored_value = in btif_config_get_str() local
387 if (!stored_value) return false; in btif_config_get_str()
388 strlcpy(value, stored_value->c_str(), *size_bytes); in btif_config_get_str()