Home
last modified time | relevance | path

Searched refs:kPrefsPreviousSlot (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc103 prefs_.SetInt64(kPrefsPreviousSlot, 1); in TEST_F()
127 prefs_.SetInt64(kPrefsPreviousSlot, 1); in TEST_F()
Dupdate_attempter_android.cc942 prefs_->SetInt64(kPrefsPreviousSlot, boot_control_->GetCurrentSlot())); in WriteUpdateCompletedMarker()
949 TEST_AND_RETURN_FALSE(prefs_->Delete(kPrefsPreviousSlot)); in ClearUpdateCompletedMarker()
1054 TEST_AND_RETURN_FALSE(prefs_->GetInt64(kPrefsPreviousSlot, &previous_slot)); in OTARebootSucceeded()
1123 prefs_->SetInt64(kPrefsPreviousSlot, boot_control_->GetCurrentSlot()); in UpdateStateAfterReboot()
1153 prefs_->SetInt64(kPrefsPreviousSlot, boot_control_->GetCurrentSlot()); in UpdateStateAfterReboot()
/system/update_engine/common/
Dconstants.h156 static constexpr const auto& kPrefsPreviousSlot = "previous-slot"; variable