Home
last modified time | relevance | path

Searched refs:PrefsInterface (Results 1 – 25 of 37) sorted by relevance

12

/aosp12/system/update_engine/
H A Dmetrics_utils.h53 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs);
56 void SetNumReboots(int64_t num_reboots, PrefsInterface* prefs);
60 PrefsInterface* prefs);
63 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs);
68 PrefsInterface* prefs);
73 PrefsInterface* prefs);
81 PrefsInterface* prefs,
H A Dmetrics_utils.cc297 int64_t GetPersistedValue(const std::string& key, PrefsInterface* prefs) { in GetPersistedValue()
315 void SetNumReboots(int64_t num_reboots, PrefsInterface* prefs) { in SetNumReboots()
323 PrefsInterface* prefs) { in SetPayloadAttemptNumber()
329 void SetSystemUpdatedMarker(ClockInterface* clock, PrefsInterface* prefs) { in SetSystemUpdatedMarker()
339 PrefsInterface* prefs) { in SetUpdateTimestampStart()
348 PrefsInterface* prefs) { in SetUpdateBootTimestampStart()
357 PrefsInterface* prefs, in LoadAndReportTimeToReboot()
H A Dcertificate_checker.h30 class PrefsInterface; variable
102 CertificateChecker(PrefsInterface* prefs, OpenSSLWrapper* openssl_wrapper);
162 PrefsInterface* prefs_;
/aosp12/system/update_engine/payload_consumer/
H A Ddelta_performer.h48 class PrefsInterface; variable
68 DeltaPerformer(PrefsInterface* prefs, in DeltaPerformer()
139 static bool CanResumeUpdate(PrefsInterface* prefs,
149 PrefsInterface* prefs,
198 PrefsInterface* prefs,
331 PrefsInterface* prefs_;
/aosp12/system/update_engine/cros/
H A Dfake_system_state.h86 inline PrefsInterface* prefs() override { return prefs_; } in prefs()
88 inline PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs()
145 inline void set_prefs(PrefsInterface* prefs) { in set_prefs()
149 inline void set_powerwash_safe_prefs(PrefsInterface* powerwash_safe_prefs) { in set_powerwash_safe_prefs()
289 PrefsInterface* prefs_;
290 PrefsInterface* powerwash_safe_prefs_;
H A Dreal_system_state.h85 PrefsInterface* prefs() override { return prefs_.get(); } in prefs()
87 PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs()
148 std::unique_ptr<PrefsInterface> prefs_;
151 std::unique_ptr<PrefsInterface> powerwash_safe_prefs_;
H A Ddownload_action_chromeos.h41 class PrefsInterface; variable
52 DownloadActionChromeos(PrefsInterface* prefs,
119 PrefsInterface* prefs_;
H A Domaha_request_builder_xml_unittest.cc396 const string dlc_cohort_key = PrefsInterface::CreateSubKey( in TEST_F()
400 const string dlc_cohort_name_key = PrefsInterface::CreateSubKey( in TEST_F()
404 const string dlc_cohort_hint_key = PrefsInterface::CreateSubKey( in TEST_F()
H A Dupdate_attempter_unittest.cc2291 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
2294 auto last_rollcall_key = PrefsInterface::CreateSubKey( in TEST_F()
2330 PrefsInterface::CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in TEST_F()
2331 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
2333 auto last_rollcall_key = PrefsInterface::CreateSubKey( in TEST_F()
2361 PrefsInterface::CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in TEST_F()
2362 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
2364 auto last_rollcall_key = PrefsInterface::CreateSubKey( in TEST_F()
2388 PrefsInterface::CreateSubKey({kDlcPrefsSubDir, dlc_id, kPrefsPingActive}); in TEST_F()
2389 auto last_active_key = PrefsInterface::CreateSubKey( in TEST_F()
[all …]
H A Dpayload_state.h434 PrefsInterface* prefs_;
439 PrefsInterface* powerwash_safe_prefs_;
/aosp12/system/update_engine/common/
H A Ddownload_action.h65 class PrefsInterface; variable
76 DownloadAction(PrefsInterface* prefs,
124 PrefsInterface* prefs_;
H A Dsystem_state.h88 virtual PrefsInterface* prefs() = 0;
94 virtual PrefsInterface* powerwash_safe_prefs() = 0;
H A Ddynamic_partition_control_stub.cc66 PrefsInterface* prefs, in GetCleanupPreviousUpdateAction()
71 bool DynamicPartitionControlStub::ResetUpdate(PrefsInterface* prefs) { in ResetUpdate()
H A Dmock_dynamic_partition_control.h66 MOCK_METHOD(bool, ResetUpdate, (PrefsInterface*), (override));
70 PrefsInterface*,
H A Dprefs_interface.h32 class PrefsInterface {
46 virtual ~PrefsInterface() = default;
H A Ddynamic_partition_control_stub.h48 PrefsInterface* prefs,
50 bool ResetUpdate(PrefsInterface* prefs) override;
H A Ddynamic_partition_control_interface.h124 PrefsInterface* prefs,
138 virtual bool ResetUpdate(PrefsInterface* prefs) = 0;
H A Dexcluder_interface.h27 class PrefsInterface; variable
H A Dmock_prefs.h30 class MockPrefs : public PrefsInterface {
H A Dprefs_unittest.cc140 PrefsInterface* common_prefs_;
212 EXPECT_EQ(PrefsInterface::CreateSubKey({name_space, sub_pref1, sub_key}), in TEST_F()
214 EXPECT_EQ(PrefsInterface::CreateSubKey({name_space, sub_pref2, sub_key}), in TEST_F()
508 class MockPrefsObserver : public PrefsInterface::ObserverInterface {
H A Dfake_prefs.h37 class FakePrefs : public PrefsInterface {
/aosp12/system/update_engine/aosp/
H A Dcleanup_previous_update_action.h51 PrefsInterface* prefs,
70 PrefsInterface* prefs_;
H A Dupdate_attempter_android.h59 PrefsInterface* prefs,
206 PrefsInterface* prefs_;
H A Ddaemon_state_android.h63 std::unique_ptr<PrefsInterface> prefs_;
H A Ddynamic_partition_control_android.h60 PrefsInterface* prefs,
63 bool ResetUpdate(PrefsInterface* prefs) override;

12