Searched refs:stored_value (Results 1 – 6 of 6) sorted by relevance
302 int64_t stored_value; in GetPersistedValue() local303 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() local362 if (stored_value == 0) in LoadAndReportTimeToReboot()365 Time system_updated_at = Time::FromInternalValue(stored_value); in LoadAndReportTimeToReboot()
882 string stored_value; in LoadResponseSignature() local884 prefs_->GetString(kPrefsCurrentResponseSignature, &stored_value)) { in LoadResponseSignature()885 SetResponseSignature(stored_value); in LoadResponseSignature()1003 int64_t stored_value; in LoadBackoffExpiryTime() local1007 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() local1044 } 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 …]
558 int64_t stored_value; in WallclockDurationHelper() local560 &stored_value)) { in WallclockDurationHelper()561 Time stored_time = Time::FromInternalValue(stored_value); in WallclockDurationHelper()
218 int64_t stored_value; in CheckAndReportDailyMetrics() local222 &stored_value)) { in CheckAndReportDailyMetrics()223 Time last_reported_at = Time::FromInternalValue(stored_value); in CheckAndReportDailyMetrics()
412 int64_t stored_value; in GetInstallDate() local413 if (prefs->GetInt64(kPrefsInstallDateDays, &stored_value)) { in GetInstallDate()415 int install_date_days = static_cast<int>(stored_value); in GetInstallDate()
484 auto stored_value = btif_config_cache.GetString(section, key); in btif_config_get_str() local485 if (!stored_value) return false; in btif_config_get_str()486 strlcpy(value, stored_value->c_str(), *size_bytes); in btif_config_get_str()