/system/update_engine/common/ |
certificate_checker_unittest.cc | 61 MockPrefs prefs_; member in class:chromeos_update_engine::CertificateCheckerTest 74 CertificateChecker cert_checker{&prefs_, &openssl_wrapper_}; 85 EXPECT_CALL(prefs_, GetString(cert_key_, _)).WillOnce(Return(false)); 86 EXPECT_CALL(prefs_, SetString(cert_key_, digest_hex_)).WillOnce(Return(true)); 102 EXPECT_CALL(prefs_, GetString(cert_key_, _)) 104 EXPECT_CALL(prefs_, SetString(_, _)).Times(0); 120 EXPECT_CALL(prefs_, GetString(cert_key_, _)) 125 EXPECT_CALL(prefs_, SetString(cert_key_, digest_hex_)).WillOnce(Return(true)); 134 EXPECT_CALL(prefs_, GetString(_, _)).Times(0);
|
certificate_checker.h | 162 PrefsInterface* prefs_; member in class:chromeos_update_engine::CertificateChecker
|
prefs_unittest.cc | 45 ASSERT_TRUE(prefs_.Init(prefs_dir_)); 58 Prefs prefs_; member in class:chromeos_update_engine::PrefsTest 65 EXPECT_TRUE(prefs_.GetFileNameForKey(kAllvalidCharsKey, &path)); 71 EXPECT_FALSE(prefs_.GetFileNameForKey("ABC abc", &path)); 76 EXPECT_FALSE(prefs_.GetFileNameForKey("", &path)); 83 EXPECT_TRUE(prefs_.GetString(kKey, &value)); 89 EXPECT_FALSE(prefs_.GetString(",bad", &value)); 94 EXPECT_FALSE(prefs_.GetString("non-existent-key", &value)); 99 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); 107 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value")) [all...] |
/system/update_engine/ |
daemon_state_android.h | 63 std::unique_ptr<PrefsInterface> prefs_; member in class:chromeos_update_engine::DaemonStateAndroid
|
update_attempter_android.h | 128 PrefsInterface* prefs_; member in class:chromeos_update_engine::UpdateAttempterAndroid
|
real_system_state.h | 93 inline PrefsInterface* prefs() override { return prefs_.get(); } 156 std::unique_ptr<PrefsInterface> prefs_; member in class:chromeos_update_engine::RealSystemState
|
fake_system_state.h | 74 inline PrefsInterface* prefs() override { return prefs_; } 134 prefs_ = prefs ? prefs : &mock_prefs_; 200 CHECK(prefs_ == &mock_prefs_); 257 PrefsInterface* prefs_; member in class:chromeos_update_engine::FakeSystemState
|
payload_state.h | 239 // Returns the persisted value from prefs_ for the given key. It also 428 PrefsInterface* prefs_; member in class:chromeos_update_engine::PayloadState
|
update_attempter.h | 432 PrefsInterface* prefs_ = nullptr; member in class:chromeos_update_engine::UpdateAttempter
|
update_attempter_unittest.cc | 145 prefs_ = fake_system_state_.mock_prefs(); 209 NiceMock<MockPrefs>* prefs_; // Shortcut to fake_system_state_->mock_prefs(). member in class:chromeos_update_engine::UpdateAttempterTest 225 DownloadAction action(prefs_, nullptr, nullptr, nullptr, fetcher.release()); 226 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)).Times(0); 237 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) 253 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)).Times(0); 306 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) 310 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) 316 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)) 322 EXPECT_CALL(*prefs_, GetInt64(_, _)).Times(0) [all...] |
/system/update_engine/payload_consumer/ |
download_action.h | 140 PrefsInterface* prefs_; member in class:chromeos_update_engine::DownloadAction
|
delta_performer.h | 82 : prefs_(prefs), 295 PrefsInterface* prefs_; member in class:chromeos_update_engine::DeltaPerformer
|
delta_performer_unittest.cc | 330 FakePrefs prefs_; member in class:chromeos_update_engine::DeltaPerformerTest 336 &prefs_, &fake_boot_control_, &fake_hardware_, &mock_delegate_, &install_plan_}; [all...] |
/system/update_engine/update_manager/ |
real_updater_provider.cc | 310 prefs_(prefs), 317 prefs_->RemoveObserver(key_, this); 325 if (prefs_ && prefs_->Exists(key_) && !prefs_->GetBoolean(key_, &result)) 335 chromeos_update_engine::PrefsInterface* prefs_; member in class:chromeos_update_manager::BooleanPrefVariable
|