/system/update_engine/ |
D | omaha_request_action_unittest.cc | 1159 ASSERT_TRUE(fake_prefs_.GetInt64(kPrefsUpdateCheckCount, &count)); in TEST_F() 1178 ASSERT_TRUE(fake_prefs_.GetInt64(kPrefsUpdateCheckCount, &count)); in TEST_F() 1215 ASSERT_TRUE(fake_prefs_.GetInt64(kPrefsUpdateCheckCount, &count)); in TEST_F() 1807 EXPECT_CALL(prefs, GetInt64(kPrefsMetricsCheckLastReportingTime, _)) in PingTest() 1815 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in PingTest() 1817 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in PingTest() 1819 EXPECT_CALL(prefs, GetInt64(kPrefsLastRollCallPingDay, _)) in PingTest() 1851 EXPECT_CALL(prefs, GetInt64(kPrefsMetricsCheckLastReportingTime, _)) in TEST_F() 1857 EXPECT_CALL(prefs, GetInt64(kPrefsInstallDateDays, _)) in TEST_F() 1859 EXPECT_CALL(prefs, GetInt64(kPrefsLastActivePingDay, _)) in TEST_F() [all …]
|
D | omaha_request_action.cc | 298 if (system_state_->prefs()->GetInt64(key, &last_ping) && last_ping >= 0) { in CalculatePingDays() 353 if (prefs->GetInt64(kPrefsInstallDateDays, &stored_value)) { in GetInstallDate() 1141 system_state_->prefs()->GetInt64(kPrefsManifestMetadataSize, in LookupPayloadViaP2P() 1144 system_state_->prefs()->GetInt64(kPrefsManifestSignatureSize, in LookupPayloadViaP2P() 1147 system_state_->prefs()->GetInt64(kPrefsUpdateStateNextDataOffset, in LookupPayloadViaP2P() 1150 system_state_->prefs()->GetInt64(kPrefsUpdateStateNextDataLength, in LookupPayloadViaP2P() 1246 if (system_state_->prefs()->GetInt64(kPrefsWallClockStagingWaitPeriod, in IsWallClockBasedWaitingSatisfied() 1307 if (!system_state_->prefs()->GetInt64(kPrefsUpdateCheckCount, in IsUpdateCheckCountBasedWaitingSatisfied() 1569 !prefs->GetInt64(kPrefsUpdateOverCellularTargetSize, &target_size)) { in IsUpdateAllowedOverCellularByPrefs() 1699 if (system_state_->prefs()->GetInt64(kPrefsUpdateFirstSeenAt, in LoadOrPersistUpdateFirstSeenAtPref()
|
D | update_attempter.cc | 190 system_state_->prefs()->GetInt64(kPrefsDailyMetricsLastReportedAt, in CheckAndReportDailyMetrics() 535 if (prefs_->GetInt64(kPrefsWallClockScatteringWaitPeriod, in CalculateScatteringParams() 708 if (system_state_->prefs()->GetInt64(metadata_key, &value)) in GetPingMetadata() 745 if (!prefs->GetInt64(ping_active_key, &dlc_params.ping_active) || in CalculateDlcParams() 1647 prefs_->GetInt64(kPrefsDeltaUpdateFailures, &delta_failures) && in DisableDeltaUpdateIfNeeded() 1658 if (!prefs_->GetInt64(kPrefsDeltaUpdateFailures, &delta_failures) || in MarkDeltaUpdateFailure() 1714 if (prefs_->GetInt64(kPrefsUpdateCheckCount, &update_check_count_value)) { in DecrementUpdateCheckCount() 1833 prefs_->GetInt64(kPrefsUpdateCompletedBootTime, &boot_time)); in GetBootTimeAtUpdate() 1875 if (system_state_->prefs()->GetInt64(kPrefsUpdateFirstSeenAt, in ReportTimeToUpdateAppliedMetric()
|
D | payload_state.cc | 1013 if (!prefs_->GetInt64(kPrefsBackoffExpiryTime, &stored_value)) in LoadBackoffExpiryTime() 1054 } else if (!prefs_->GetInt64(kPrefsUpdateTimestampStart, &stored_value)) { in LoadUpdateTimestampStart() 1101 } else if (!prefs_->GetInt64(kPrefsUpdateDurationUptime, &stored_value)) { in LoadUpdateDurationUptime() 1309 if (!prefs_->GetInt64(kPrefsTargetVersionInstalledFrom, &installed_from)) { in ReportFailedBootIfNeeded() 1324 if (!prefs_->GetInt64(kPrefsTargetVersionAttempt, &target_attempt)) { in ReportFailedBootIfNeeded() 1353 if (!prefs_->GetInt64(kPrefsTargetVersionAttempt, &target_attempt)) in ExpectRebootInNewVersion() 1373 if (prefs_->GetInt64(kPrefsTargetVersionAttempt, &target_attempt)) in ResetUpdateStatus()
|
D | update_attempter_unittest.cc | 529 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)).Times(0); in TEST_F() 540 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) in TEST_F() 635 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)).Times(0); in TEST_F() 684 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) in TEST_F() 688 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) in TEST_F() 694 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) in TEST_F() 700 EXPECT_CALL(*prefs_, GetInt64(_, _)).Times(0); in TEST_F() 706 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) in TEST_F() 1172 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart() 1183 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart() [all …]
|
D | metrics_utils.cc | 301 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper() 342 if (!prefs->GetInt64(key, &stored_value)) in GetPersistedValue()
|
D | payload_state_unittest.cc | 600 EXPECT_CALL(*prefs2, GetInt64(_, _)).Times(AtLeast(1)); in TEST() 601 EXPECT_CALL(*prefs2, GetInt64(kPrefsPayloadAttemptNumber, _)) in TEST() 603 EXPECT_CALL(*prefs2, GetInt64(kPrefsFullPayloadAttemptNumber, _)) in TEST() 605 EXPECT_CALL(*prefs2, GetInt64(kPrefsCurrentUrlIndex, _)) in TEST() 607 EXPECT_CALL(*prefs2, GetInt64(kPrefsCurrentUrlFailureCount, _)) in TEST() 609 EXPECT_CALL(*prefs2, GetInt64(kPrefsUrlSwitchCount, _)).Times(AtLeast(1)); in TEST() 1176 EXPECT_CALL(*prefs, GetInt64(_, _)).Times(0); in TEST()
|
D | update_attempter_android_unittest.cc | 98 EXPECT_TRUE(prefs_.GetInt64(kPrefsNumReboots, &reboot_count)); in TEST_F()
|
/system/update_engine/common/ |
D | prefs_unittest.cc | 254 TEST_F(PrefsTest, GetInt64) { in TEST_F() argument 257 EXPECT_TRUE(prefs_.GetInt64(kKey, &value)); in TEST_F() 264 EXPECT_FALSE(prefs_.GetInt64(kKey, &value)); in TEST_F() 272 EXPECT_TRUE(prefs_.GetInt64(kKey, &value)); in TEST_F() 281 EXPECT_TRUE(prefs_.GetInt64(kKey, &value)); in TEST_F() 288 EXPECT_TRUE(prefs_.GetInt64(kKey, &value)); in TEST_F() 294 EXPECT_FALSE(prefs_.GetInt64("random-key", &value)); in TEST_F() 515 EXPECT_FALSE(prefs_.GetInt64(kKey, &value)); in TEST_F() 519 EXPECT_TRUE(prefs_.GetInt64(kKey, &value)); in TEST_F()
|
D | mock_prefs.h | 36 MOCK_CONST_METHOD2(GetInt64, bool(const std::string& key, int64_t* value));
|
D | prefs_interface.h | 60 virtual bool GetInt64(const std::string& key, int64_t* value) const = 0;
|
D | fake_prefs.h | 44 bool GetInt64(const std::string& key, int64_t* value) const override;
|
D | prefs.h | 70 bool GetInt64(const std::string& key, int64_t* value) const override;
|
D | fake_prefs.cc | 74 bool FakePrefs::GetInt64(const string& key, int64_t* value) const { in GetInt64() function in chromeos_update_engine::FakePrefs
|
D | prefs.cc | 67 bool PrefsBase::GetInt64(const string& key, int64_t* value) const { in GetInt64() function in chromeos_update_engine::PrefsBase
|
/system/bt/gd/storage/ |
D | config_cache_helper_test.cc | 89 ASSERT_THAT(ConfigCacheHelper(config).GetInt64("A", "B"), Optional(Eq(int64_t(num)))); in TEST() 94 ASSERT_THAT(ConfigCacheHelper(config).GetInt64("A", "B"), Optional(Eq(-1 * num))); in TEST() 98 ASSERT_THAT(ConfigCacheHelper(config).GetInt64("A", "B"), Optional(Eq(int64_t(0)))); in TEST()
|
D | config_cache_helper.cc | 78 std::optional<int64_t> ConfigCacheHelper::GetInt64(const std::string& section, const std::string& p… in GetInt64() function in bluetooth::storage::ConfigCacheHelper 95 auto large_value = GetInt64(section, property); in GetInt()
|
D | config_cache_helper.h | 52 …virtual std::optional<int64_t> GetInt64(const std::string& section, const std::string& property) c… 60 auto value = GetInt64(section, property); in Get()
|
/system/update_engine/payload_consumer/ |
D | download_action.cc | 182 if (prefs_->GetInt64(kPrefsUpdateStatePayloadIndex, &payload_index) && in PerformAction() 255 prefs_->GetInt64(kPrefsManifestMetadataSize, &manifest_metadata_size); in StartDownloading() 256 prefs_->GetInt64(kPrefsManifestSignatureSize, &manifest_signature_size); in StartDownloading() 279 prefs_->GetInt64(kPrefsUpdateStateNextDataOffset, &next_data_offset); in StartDownloading()
|
D | delta_performer.cc | 1784 if (!(prefs->GetInt64(kPrefsUpdateStateNextOperation, &next_operation) && in CanResumeUpdate() 1797 if (prefs->GetInt64(kPrefsResumedUpdateFailures, &resumed_update_failures) && in CanResumeUpdate() 1803 if (!(prefs->GetInt64(kPrefsUpdateStateNextDataOffset, &next_data_offset) && in CanResumeUpdate() 1813 if (!(prefs->GetInt64(kPrefsManifestMetadataSize, &manifest_metadata_size) && in CanResumeUpdate() 1818 if (!(prefs->GetInt64(kPrefsManifestSignatureSize, in CanResumeUpdate() 1898 if (!prefs_->GetInt64(kPrefsUpdateStateNextOperation, &next_operation) || in PrimeUpdateState() 1908 prefs_->GetInt64(kPrefsUpdateStateNextDataOffset, &next_data_offset) && in PrimeUpdateState() 1930 prefs_->GetInt64(kPrefsManifestMetadataSize, &manifest_metadata_size) && in PrimeUpdateState() 1936 prefs_->GetInt64(kPrefsManifestSignatureSize, &manifest_signature_size) && in PrimeUpdateState() 1946 if (prefs_->GetInt64(kPrefsResumedUpdateFailures, &resumed_update_failures)) { in PrimeUpdateState()
|
D | delta_performer_integration_test.cc | 731 EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStateNextOperation, _)) in ApplyDeltaFile()
|
/system/update_engine/update_manager/ |
D | staging_utils.cc | 131 if (prefs->GetInt64(kPrefsWallClockStagingWaitPeriod, &wait_period_in_days) && in CalculateStagingCase()
|
/system/core/fs_mgr/libsnapshot/ |
D | fuzz_utils.h | 138 FUZZ_DEFINE_PRIMITIVE_GETTER(int64_t, GetInt64);
|