• Home
  • Raw
  • Download

Lines Matching refs:Get

360   if (SystemState::Get()->prefs()->GetInt64(key, &last_ping) &&  in CalculatePingDays()
392 int powerwash_count = SystemState::Get()->hardware()->GetPowerwashCount(); in ShouldPing()
398 if (SystemState::Get()->hardware()->GetFirstActiveOmahaPingSent()) { in ShouldPing()
410 auto* prefs = SystemState::Get()->prefs(); in GetInstallDate()
443 if (!SystemState::Get()->hardware()->IsOOBEEnabled() || in GetInstallDate()
444 !SystemState::Get()->hardware()->IsOOBEComplete(&time_of_oobe)) { in GetInstallDate()
471 const auto* params = SystemState::Get()->request_params(); in StorePingReply()
483 auto* prefs = SystemState::Get()->prefs(); in StorePingReply()
527 const auto* params = SystemState::Get()->request_params(); in PerformAction()
587 auto* prefs = SystemState::Get()->prefs(); in UpdateLastPingDays()
751 !SystemState::Get()->prefs()->SetString( in PersistEolInfo()
769 const auto* params = SystemState::Get()->request_params(); in ParseResponse()
849 auto* params = SystemState::Get()->request_params(); in ParseStatus()
894 const auto* params = SystemState::Get()->request_params(); in ParseParams()
959 SystemState::Get()->payload_state(); in TransferComplete()
975 SystemState::Get()->metrics_reporter()->ReportUpdateCheckMetrics( in TransferComplete()
998 SystemState::Get()->request_params()->rollback_allowed_milestones()); in TransferComplete()
1037 if (!SystemState::Get()->hardware()->GetFirstActiveOmahaPingSent()) { in TransferComplete()
1038 if (!SystemState::Get()->hardware()->SetFirstActiveOmahaPingSent()) { in TransferComplete()
1039 SystemState::Get()->metrics_reporter()->ReportInternalErrorCode( in TransferComplete()
1058 SystemState::Get()->request_params(), in TransferComplete()
1059 SystemState::Get()->update_attempter()->GetExcluder()); in TransferComplete()
1123 PayloadStateInterface* payload_state = SystemState::Get()->payload_state(); in CompleteProcessing()
1145 SystemState::Get()->payload_state()->SetP2PUrl(url); in OnLookupPayloadViaP2PCompleted()
1149 SystemState::Get()->payload_state()->SetUsingP2PForDownloading(false); in OnLookupPayloadViaP2PCompleted()
1173 if (SystemState::Get()->prefs()->GetInt64(kPrefsManifestMetadataSize, in LookupPayloadViaP2P()
1176 SystemState::Get()->prefs()->GetInt64(kPrefsManifestSignatureSize, in LookupPayloadViaP2P()
1179 SystemState::Get()->prefs()->GetInt64(kPrefsUpdateStateNextDataOffset, in LookupPayloadViaP2P()
1182 SystemState::Get()->prefs()->GetInt64(kPrefsUpdateStateNextDataLength, in LookupPayloadViaP2P()
1194 if (SystemState::Get()->p2p_manager()) { in LookupPayloadViaP2P()
1197 SystemState::Get()->p2p_manager()->LookupUrlForFile( in LookupPayloadViaP2P()
1207 const auto* params = SystemState::Get()->request_params(); in ShouldDeferDownload()
1218 SystemState::Get()->payload_state(); in ShouldDeferDownload()
1275 SystemState::Get()->clock()->GetWallclockTime() - update_first_seen_at; in IsWallClockBasedWaitingSatisfied()
1280 if (SystemState::Get()->prefs()->GetInt64(kPrefsWallClockStagingWaitPeriod, in IsWallClockBasedWaitingSatisfied()
1285 const auto* params = SystemState::Get()->request_params(); in IsWallClockBasedWaitingSatisfied()
1340 const auto* params = SystemState::Get()->request_params(); in IsUpdateCheckCountBasedWaitingSatisfied()
1342 if (SystemState::Get()->prefs()->Exists(kPrefsUpdateCheckCount)) { in IsUpdateCheckCountBasedWaitingSatisfied()
1343 if (!SystemState::Get()->prefs()->GetInt64(kPrefsUpdateCheckCount, in IsUpdateCheckCountBasedWaitingSatisfied()
1362 if (!SystemState::Get()->prefs()->SetInt64(kPrefsUpdateCheckCount, in IsUpdateCheckCountBasedWaitingSatisfied()
1409 return SystemState::Get()->prefs()->Exists(kPrefsInstallDateDays); in HasInstallDate()
1418 auto* prefs = SystemState::Get()->prefs(); in PersistInstallDate()
1422 SystemState::Get()->metrics_reporter()->ReportInstallDateProvisioningSource( in PersistInstallDate()
1433 if (value.empty() && SystemState::Get()->prefs()->Exists(prefs_key)) { in PersistCohortData()
1434 if (!SystemState::Get()->prefs()->Delete(prefs_key)) in PersistCohortData()
1439 if (!SystemState::Get()->prefs()->SetString(prefs_key, value)) in PersistCohortData()
1448 const auto* params = SystemState::Get()->request_params(); in PersistCohorts()
1462 auto* prefs = SystemState::Get()->prefs(); in PersistCohorts()
1537 SystemState::Get()->metrics_reporter()->ReportUpdateCheckMetrics( in ActionCompleted()
1545 SystemState::Get()->payload_state()->GetRollbackVersion(); in ShouldIgnoreUpdate()
1546 const auto* params = SystemState::Get()->request_params(); in ShouldIgnoreUpdate()
1556 if (SystemState::Get()->hardware()->IsOOBEEnabled() && in ShouldIgnoreUpdate()
1557 !SystemState::Get()->hardware()->IsOOBEComplete(nullptr) && in ShouldIgnoreUpdate()
1559 SystemState::Get()->payload_state()->GetRollbackHappened()) && in ShouldIgnoreUpdate()
1591 auto* prefs = SystemState::Get()->prefs(); in IsUpdateAllowedOverCellularByPrefs()
1640 SystemState::Get()->connection_manager(); in IsUpdateAllowedOverCurrentConnection()
1704 SystemState::Get()->hardware()->GetMinKernelKeyVersion(); in SetMaxKernelKeyVersionForRollback()
1730 SystemState::Get()->hardware()->SetMaxKernelKeyRollforward( in SetMaxKernelKeyVersionForRollback()
1736 SystemState::Get()->metrics_reporter()->ReportKeyVersionMetrics( in SetMaxKernelKeyVersionForRollback()
1743 if (SystemState::Get()->prefs()->Exists(kPrefsUpdateFirstSeenAt)) { in LoadOrPersistUpdateFirstSeenAtPref()
1744 if (SystemState::Get()->prefs()->GetInt64(kPrefsUpdateFirstSeenAt, in LoadOrPersistUpdateFirstSeenAtPref()
1765 update_first_seen_at = SystemState::Get()->clock()->GetWallclockTime(); in LoadOrPersistUpdateFirstSeenAtPref()
1767 if (SystemState::Get()->prefs()->SetInt64(kPrefsUpdateFirstSeenAt, in LoadOrPersistUpdateFirstSeenAtPref()