Searched defs:prefs_ (Results 1 - 14 of 14) sorted by relevance

/system/update_engine/
H A Dcertificate_checker_unittest.cc61 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);
H A Ddaemon_state_android.h63 std::unique_ptr<PrefsInterface> prefs_; member in class:chromeos_update_engine::DaemonStateAndroid
H A Dupdate_attempter_android.h123 PrefsInterface* prefs_; member in class:chromeos_update_engine::UpdateAttempterAndroid
H A Dcertificate_checker.h162 PrefsInterface* prefs_; member in class:chromeos_update_engine::CertificateChecker
H A Dreal_system_state.h99 inline PrefsInterface* prefs() override { return prefs_.get(); }
160 std::unique_ptr<PrefsInterface> prefs_; member in class:chromeos_update_engine::RealSystemState
H A Dpayload_state.h243 // Returns the persisted value from prefs_ for the given key. It also
442 PrefsInterface* prefs_; member in class:chromeos_update_engine::PayloadState
H A Dupdate_attempter.h421 PrefsInterface* prefs_ = nullptr; member in class:chromeos_update_engine::UpdateAttempter
H A Dfake_system_state.h73 inline PrefsInterface* prefs() override { return prefs_; }
130 prefs_ = prefs ? prefs : &mock_prefs_;
196 CHECK(prefs_ == &mock_prefs_);
253 PrefsInterface* prefs_; member in class:chromeos_update_engine::FakeSystemState
H A Dupdate_attempter_unittest.cc142 prefs_ = fake_system_state_.mock_prefs();
201 NiceMock<MockPrefs>* prefs_; // Shortcut to fake_system_state_->mock_prefs(). member in class:chromeos_update_engine::UpdateAttempterTest
218 DownloadAction action(prefs_, nullptr, nullptr, nullptr, fetcher.release());
219 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)).Times(0);
229 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _))
245 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _)).Times(0);
295 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _))
299 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _))
305 EXPECT_CALL(*prefs_, GetInt64(kPrefsDeltaUpdateFailures, _))
311 EXPECT_CALL(*prefs_, GetInt6
[all...]
/system/update_engine/common/
H A Dprefs_unittest.cc48 ASSERT_TRUE(prefs_.Init(prefs_dir_));
58 Prefs prefs_; member in class:chromeos_update_engine::PrefsTest
65 EXPECT_TRUE(prefs_.file_storage_.GetFileNameForKey(kAllvalidCharsKey, &path));
71 EXPECT_FALSE(prefs_.file_storage_.GetFileNameForKey("ABC abc", &path));
76 EXPECT_FALSE(prefs_.file_storage_.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_
343 MemoryPrefs prefs_; member in class:chromeos_update_engine::MemoryPrefsTest
[all...]
/system/update_engine/payload_consumer/
H A Ddownload_action.h147 PrefsInterface* prefs_; member in class:chromeos_update_engine::DownloadAction
H A Ddelta_performer.h83 : prefs_(prefs),
295 PrefsInterface* prefs_; member in class:chromeos_update_engine::DeltaPerformer
H A Ddelta_performer_unittest.cc326 FakePrefs prefs_; member in class:chromeos_update_engine::DeltaPerformerTest
332 DeltaPerformer performer_{&prefs_,
/system/update_engine/update_manager/
H A Dreal_updater_provider.cc310 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

Completed in 160 milliseconds