Home
last modified time | relevance | path

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

/system/update_engine/
Dmetrics_utils.cc300 int64_t stored_value; in WallclockDurationHelper() local
301 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper()
302 Time stored_time = Time::FromInternalValue(stored_value); in WallclockDurationHelper()
341 int64_t stored_value; in GetPersistedValue() local
342 if (!prefs->GetInt64(key, &stored_value)) in GetPersistedValue()
345 if (stored_value < 0) { in GetPersistedValue()
346 LOG(ERROR) << key << ": Invalid value (" << stored_value in GetPersistedValue()
351 return stored_value; in GetPersistedValue()
400 int64_t stored_value = GetPersistedValue(kPrefsSystemUpdatedMarker, prefs); in LoadAndReportTimeToReboot() local
401 if (stored_value == 0) in LoadAndReportTimeToReboot()
[all …]
Dpayload_state.cc881 string stored_value; in LoadResponseSignature() local
883 prefs_->GetString(kPrefsCurrentResponseSignature, &stored_value)) { in LoadResponseSignature()
884 SetResponseSignature(stored_value); in LoadResponseSignature()
1009 int64_t stored_value; in LoadBackoffExpiryTime() local
1013 if (!prefs_->GetInt64(kPrefsBackoffExpiryTime, &stored_value)) in LoadBackoffExpiryTime()
1016 Time stored_time = Time::FromInternalValue(stored_value); in LoadBackoffExpiryTime()
1043 int64_t stored_value; in LoadUpdateTimestampStart() local
1054 } else if (!prefs_->GetInt64(kPrefsUpdateTimestampStart, &stored_value)) { in LoadUpdateTimestampStart()
1058 stored_time = Time::FromInternalValue(stored_value); in LoadUpdateTimestampStart()
1093 int64_t stored_value; in LoadUpdateDurationUptime() local
[all …]
Domaha_request_action.cc352 int64_t stored_value; in GetInstallDate() local
353 if (prefs->GetInt64(kPrefsInstallDateDays, &stored_value)) { in GetInstallDate()
355 int install_date_days = static_cast<int>(stored_value); in GetInstallDate()
Dupdate_attempter.cc187 int64_t stored_value; in CheckAndReportDailyMetrics() local
191 &stored_value)) { in CheckAndReportDailyMetrics()
192 Time last_reported_at = Time::FromInternalValue(stored_value); in CheckAndReportDailyMetrics()
/system/bt/btif/src/
Dbtif_config.cc467 auto stored_value = btif_config_cache.GetString(section, key); in btif_config_get_str() local
468 if (!stored_value) return false; in btif_config_get_str()
469 strlcpy(value, stored_value->c_str(), *size_bytes); in btif_config_get_str()