Home
last modified time | relevance | path

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

/system/update_engine/
Dmetrics_utils.cc302 int64_t stored_value; in GetPersistedValue() local
303 if (!prefs->GetInt64(key, &stored_value)) in GetPersistedValue()
306 if (stored_value < 0) { in GetPersistedValue()
307 LOG(ERROR) << key << ": Invalid value (" << stored_value in GetPersistedValue()
312 return stored_value; in GetPersistedValue()
361 int64_t stored_value = GetPersistedValue(kPrefsSystemUpdatedMarker, prefs); in LoadAndReportTimeToReboot() local
362 if (stored_value == 0) in LoadAndReportTimeToReboot()
365 Time system_updated_at = Time::FromInternalValue(stored_value); in LoadAndReportTimeToReboot()
/system/update_engine/cros/
Dpayload_state.cc882 string stored_value; in LoadResponseSignature() local
884 prefs_->GetString(kPrefsCurrentResponseSignature, &stored_value)) { in LoadResponseSignature()
885 SetResponseSignature(stored_value); in LoadResponseSignature()
1003 int64_t stored_value; in LoadBackoffExpiryTime() local
1007 if (!prefs_->GetInt64(kPrefsBackoffExpiryTime, &stored_value)) in LoadBackoffExpiryTime()
1010 Time stored_time = Time::FromInternalValue(stored_value); in LoadBackoffExpiryTime()
1036 int64_t stored_value; in LoadUpdateTimestampStart() local
1044 } else if (!prefs_->GetInt64(kPrefsUpdateTimestampStart, &stored_value)) { in LoadUpdateTimestampStart()
1048 stored_time = Time::FromInternalValue(stored_value); in LoadUpdateTimestampStart()
1083 int64_t stored_value; in LoadUpdateDurationUptime() local
[all …]
Dmetrics_reporter_omaha.cc558 int64_t stored_value; in WallclockDurationHelper() local
560 &stored_value)) { in WallclockDurationHelper()
561 Time stored_time = Time::FromInternalValue(stored_value); in WallclockDurationHelper()
Dupdate_attempter.cc218 int64_t stored_value; in CheckAndReportDailyMetrics() local
222 &stored_value)) { in CheckAndReportDailyMetrics()
223 Time last_reported_at = Time::FromInternalValue(stored_value); in CheckAndReportDailyMetrics()
Domaha_request_action.cc412 int64_t stored_value; in GetInstallDate() local
413 if (prefs->GetInt64(kPrefsInstallDateDays, &stored_value)) { in GetInstallDate()
415 int install_date_days = static_cast<int>(stored_value); in GetInstallDate()
/system/bt/btif/src/
Dbtif_config.cc484 auto stored_value = btif_config_cache.GetString(section, key); in btif_config_get_str() local
485 if (!stored_value) return false; in btif_config_get_str()
486 strlcpy(value, stored_value->c_str(), *size_bytes); in btif_config_get_str()