/system/update_engine/common/ |
D | prefs_unittest.cc | 59 EXPECT_FALSE(common_prefs_->Exists(key0)); in MultiNamespaceKeyTest() 60 EXPECT_FALSE(common_prefs_->Exists(key1A)); in MultiNamespaceKeyTest() 61 EXPECT_FALSE(common_prefs_->Exists(key1B)); in MultiNamespaceKeyTest() 62 EXPECT_FALSE(common_prefs_->Exists(key2)); in MultiNamespaceKeyTest() 71 EXPECT_TRUE(common_prefs_->Exists(key0)); in MultiNamespaceKeyTest() 72 EXPECT_TRUE(common_prefs_->Exists(key0corner)); in MultiNamespaceKeyTest() 73 EXPECT_TRUE(common_prefs_->Exists(key1A)); in MultiNamespaceKeyTest() 74 EXPECT_TRUE(common_prefs_->Exists(key1B)); in MultiNamespaceKeyTest() 75 EXPECT_TRUE(common_prefs_->Exists(key2)); in MultiNamespaceKeyTest() 76 EXPECT_TRUE(common_prefs_->Exists(key2corner)); in MultiNamespaceKeyTest() [all …]
|
D | mock_prefs.h | 41 MOCK_CONST_METHOD1(Exists, bool(const std::string& key));
|
D | prefs_interface.h | 77 virtual bool Exists(const std::string& key) const = 0;
|
D | fake_prefs.h | 50 bool Exists(const std::string& key) const override;
|
D | prefs.h | 76 bool Exists(const std::string& key) const override;
|
D | fake_prefs.cc | 93 bool FakePrefs::Exists(const string& key) const { in Exists() function in chromeos_update_engine::FakePrefs
|
D | prefs.cc | 102 bool PrefsBase::Exists(const string& key) const { in Exists() function in chromeos_update_engine::PrefsBase
|
/system/update_engine/aosp/ |
D | update_attempter_android_unittest.cc | 94 ASSERT_TRUE(prefs_.Exists(kPrefsBootId)); in TEST_F() 99 ASSERT_TRUE(prefs_.Exists(kPrefsNumReboots)); in TEST_F() 122 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F() 123 EXPECT_FALSE(prefs_.Exists(kPrefsUpdateTimestampStart)); in TEST_F() 124 EXPECT_FALSE(prefs_.Exists(kPrefsSystemUpdatedMarker)); in TEST_F() 126 EXPECT_TRUE(prefs_.Exists(kPrefsPayloadAttemptNumber)); in TEST_F() 164 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F() 165 EXPECT_FALSE(prefs_.Exists(kPrefsPayloadAttemptNumber)); in TEST_F() 166 EXPECT_FALSE(prefs_.Exists(kPrefsUpdateTimestampStart)); in TEST_F() 167 EXPECT_TRUE(prefs_.Exists(kPrefsSystemUpdatedMarker)); in TEST_F()
|
D | update_attempter_android.cc | 257 if (install_plan_.is_resume && prefs_->Exists(kPrefsVerityWritten)) { in ApplyPayload() 801 return (prefs_->Exists(kPrefsUpdateCompletedOnBootId) && in UpdateCompletedOnThisBoot() 897 if (!prefs_->Exists(kPrefsPreviousVersion)) { in UpdatePrefsAndReportUpdateMetricsOnReboot() 913 bool is_reboot = prefs_->Exists(kPrefsBootId) && in UpdatePrefsAndReportUpdateMetricsOnReboot() 918 if (is_reboot && prefs_->Exists(kPrefsNumReboots)) { in UpdatePrefsAndReportUpdateMetricsOnReboot() 934 bool previous_attempt_exists = prefs_->Exists(kPrefsPayloadAttemptNumber); in UpdatePrefsAndReportUpdateMetricsOnReboot()
|
/system/bt/gd/storage/ |
D | device_test.cc | 44 ASSERT_FALSE(device.Exists()); in TEST() 51 ASSERT_TRUE(device2.Exists()); in TEST() 58 ASSERT_TRUE(device3.Exists()); in TEST() 69 ASSERT_FALSE(device.Exists()); in TEST() 76 ASSERT_TRUE(device2.Exists()); in TEST() 83 ASSERT_TRUE(device3.Exists()); in TEST() 94 ASSERT_FALSE(device.Exists()); in TEST() 105 ASSERT_TRUE(device2.Exists()); in TEST() 114 ASSERT_FALSE(device.Exists()); in TEST() 119 ASSERT_TRUE(device.Exists()); in TEST() [all …]
|
D | device.cc | 83 bool Device::Exists() { in Exists() function in bluetooth::storage::Device
|
D | device.h | 149 bool Exists();
|
/system/core/fs_mgr/libfs_avb/ |
D | util.h | 61 enum class FileWaitMode { Exists, DoesNotExist }; enumerator 63 FileWaitMode wait_mode = FileWaitMode::Exists);
|
D | util.cpp | 95 if (file_wait_mode == FileWaitMode::Exists) { in WaitForFile()
|
/system/update_engine/cros/ |
D | excluder_chromeos.cc | 48 return prefs->Exists(key); in IsExcluded()
|
D | common_service.cc | 240 if (prefs->Exists(kPrefsOmahaCohortHint) && in GetCohortHint() 265 if (prefs->Exists(kPrefsP2PEnabled) && in GetP2PUpdatePermission() 343 if (!prefs->Exists(kPrefsUpdateOverCellularPermission)) { in GetUpdateOverCellularPermission()
|
D | update_attempter_unittest.cc | 503 EXPECT_FALSE(prefs_->Exists(kPrefsDeltaUpdateFailures)); in TEST_F() 606 EXPECT_FALSE(prefs_->Exists(kPrefsDeltaUpdateFailures)); in TEST_F() 1122 EXPECT_TRUE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart() 1135 EXPECT_TRUE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart() 1185 EXPECT_FALSE(fake_prefs->Exists(kPrefsWallClockScatteringWaitPeriod)); in NoScatteringDoneDuringManualUpdateTestStart() 1189 EXPECT_FALSE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in NoScatteringDoneDuringManualUpdateTestStart() 1248 EXPECT_FALSE(fake_prefs->Exists(kPrefsWallClockScatteringWaitPeriod)); in StagingSetsPrefsAndTurnsOffScatteringStart() 1255 EXPECT_FALSE(prefs_->Exists(kPrefsUpdateCheckCount)); in CheckStagingOff() 1256 EXPECT_FALSE(prefs_->Exists(kPrefsWallClockScatteringWaitPeriod)); in CheckStagingOff() 1257 EXPECT_FALSE(prefs_->Exists(kPrefsWallClockStagingWaitPeriod)); in CheckStagingOff() [all …]
|
D | update_attempter.cc | 220 if (SystemState::Get()->prefs()->Exists(kPrefsDailyMetricsLastReportedAt) && in CheckAndReportDailyMetrics() 674 if (!SystemState::Get()->prefs()->Exists(metadata_key)) in GetPingMetadata() 1462 if (SystemState::Get()->prefs()->Exists(kPrefsOmahaEolDate) && in GetStatus() 1659 if (!prefs_->Exists(kPrefsUpdateCheckCount)) { in DecrementUpdateCheckCount() 1712 prefs_->Exists(kPrefsSystemUpdatedMarker)) { in UpdateEngineStarted() 1731 if (!prefs_->Exists(key) && powerwash_safe_prefs->Exists(key)) { in MoveToPrefs() 1789 if (!prefs_->Exists(kPrefsUpdateCompletedOnBootId) || in GetBootTimeAtUpdate() 1843 if (SystemState::Get()->prefs()->Exists(kPrefsUpdateFirstSeenAt)) { in ReportTimeToUpdateAppliedMetric()
|
D | payload_state.cc | 428 !prefs_->Exists(kPrefsNoIgnoreBackoff)) { in ShouldBackoffDownload() 883 if (prefs_->Exists(kPrefsCurrentResponseSignature) && in LoadResponseSignature() 1004 if (!prefs_->Exists(kPrefsBackoffExpiryTime)) in LoadBackoffExpiryTime() 1040 if (!prefs_->Exists(kPrefsUpdateTimestampStart)) { in LoadUpdateTimestampStart() 1086 if (!prefs_->Exists(kPrefsUpdateDurationUptime)) { in LoadUpdateDurationUptime() 1287 if (prefs_->Exists(kPrefsTargetVersionInstalledFrom)) { in ReportFailedBootIfNeeded() 1330 if (prefs_->Exists(kPrefsTargetVersionUniqueId) && in ExpectRebootInNewVersion()
|
D | omaha_request_action.cc | 1342 if (SystemState::Get()->prefs()->Exists(kPrefsUpdateCheckCount)) { in IsUpdateCheckCountBasedWaitingSatisfied() 1409 return SystemState::Get()->prefs()->Exists(kPrefsInstallDateDays); in HasInstallDate() 1433 if (value.empty() && SystemState::Get()->prefs()->Exists(prefs_key)) { in PersistCohortData() 1593 if (prefs->Exists(kPrefsUpdateOverCellularPermission) && in IsUpdateAllowedOverCellularByPrefs() 1601 if (!prefs->Exists(kPrefsUpdateOverCellularTargetVersion) || in IsUpdateAllowedOverCellularByPrefs() 1602 !prefs->Exists(kPrefsUpdateOverCellularTargetSize)) { in IsUpdateAllowedOverCellularByPrefs() 1743 if (SystemState::Get()->prefs()->Exists(kPrefsUpdateFirstSeenAt)) { in LoadOrPersistUpdateFirstSeenAtPref()
|
D | payload_state_unittest.cc | 602 EXPECT_CALL(*prefs, Exists(_)).WillRepeatedly(Return(true)); in TEST_F() 1124 EXPECT_TRUE(fake_prefs->Exists(kPrefsSystemUpdatedMarker)); in TEST_F() 1143 EXPECT_FALSE(fake_prefs->Exists(kPrefsSystemUpdatedMarker)); in TEST_F() 1156 EXPECT_CALL(*prefs, Exists(_)).Times(0); in TEST_F() 1196 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F() 1215 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F() 1220 EXPECT_TRUE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F() 1225 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F()
|
D | omaha_request_action_unittest.cc | 682 EXPECT_FALSE(fake_prefs_->Exists(kPrefsOmahaCohort)); in TEST_F() 683 EXPECT_FALSE(fake_prefs_->Exists(kPrefsOmahaCohortHint)); in TEST_F() 684 EXPECT_FALSE(fake_prefs_->Exists(kPrefsOmahaCohortName)); in TEST_F() 2381 EXPECT_TRUE(fake_prefs_->Exists(kPrefsPreviousVersion)); in TEST_F() 2540 EXPECT_FALSE(fake_prefs_->Exists(kPrefsInstallDateDays)); in TEST_F() 2544 EXPECT_TRUE(fake_prefs_->Exists(kPrefsInstallDateDays)); in TEST_F() 2577 EXPECT_FALSE(fake_prefs_->Exists(kPrefsInstallDateDays)); in TEST_F() 2588 EXPECT_FALSE(fake_prefs_->Exists(kPrefsInstallDateDays)); in TEST_F() 2597 EXPECT_TRUE(fake_prefs_->Exists(kPrefsInstallDateDays)); in TEST_F() 2812 EXPECT_TRUE(fake_prefs_->Exists(kPrefsUpdateFirstSeenAt)); in TEST_F() [all …]
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | util_test.cpp | 182 auto wait_file = std::async(WaitForFile, wait_path.value(), 500ms, FileWaitMode::Exists); in TEST() 203 auto wait_file = std::async(WaitForFile, wait_path.value(), 50ms, FileWaitMode::Exists); in TEST()
|
/system/update_engine/update_manager/ |
D | real_updater_provider.cc | 320 if (prefs->Exists(key_) && !prefs->GetBoolean(key_, &result)) in OnPrefSet() 449 if (prefs->Exists(key) && prefs->GetInt64(key, &result)) { in GetValue()
|
/system/apex/proto/ |
D | apex_manifest.proto | 76 // Exists only for compressed APEX
|