Searched refs:MergeStatus (Results 1 – 11 of 11) sorted by relevance
/system/extras/bootctl/ |
D | bootctl.cpp | 32 using android::hardware::boot::V1_1::MergeStatus; 153 std::optional<MergeStatus> stringToMergeStatus(const std::string& status) { in stringToMergeStatus() 154 if (status == "cancelled") return MergeStatus::CANCELLED; in stringToMergeStatus() 155 if (status == "merging") return MergeStatus::MERGING; in stringToMergeStatus() 156 if (status == "none") return MergeStatus::NONE; in stringToMergeStatus() 157 if (status == "snapshotted") return MergeStatus::SNAPSHOTTED; in stringToMergeStatus() 158 if (status == "unknown") return MergeStatus::UNKNOWN; in stringToMergeStatus() 183 std::ostream& operator<<(std::ostream& os, MergeStatus state) { in operator <<() 185 case MergeStatus::CANCELLED: in operator <<() 187 case MergeStatus::MERGING: in operator <<() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | device_info.h | 29 using MergeStatus = android::hardware::boot::V1_1::MergeStatus; variable 38 bool SetBootControlMergeStatus(MergeStatus status) override;
|
D | device_info.cpp | 81 bool DeviceInfo::SetBootControlMergeStatus([[maybe_unused]] MergeStatus status) { in SetBootControlMergeStatus()
|
D | snapshot_fuzz_utils.h | 120 bool SetBootControlMergeStatus(android::hardware::boot::V1_1::MergeStatus) override { in SetBootControlMergeStatus() argument
|
D | snapshot_test.cpp | 661 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 664 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 667 ASSERT_EQ(test_device->merge_status(), MergeStatus::SNAPSHOTTED); in TEST_F() 670 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F() 673 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 676 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 679 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F() 687 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F()
|
D | snapshot.cpp | 75 using android::hardware::boot::V1_1::MergeStatus; 2553 auto merge_status = MergeStatus::UNKNOWN; in WriteSnapshotUpdateStatus() 2561 merge_status = MergeStatus::NONE; in WriteSnapshotUpdateStatus() 2564 merge_status = MergeStatus::SNAPSHOTTED; in WriteSnapshotUpdateStatus() 2568 merge_status = MergeStatus::MERGING; in WriteSnapshotUpdateStatus() 2578 merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in WriteSnapshotUpdateStatus()
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 39 using android::hardware::boot::V1_1::MergeStatus; 87 bool SetBootControlMergeStatus(MergeStatus status) override { in SetBootControlMergeStatus() 111 MergeStatus merge_status() const { return merge_status_; } in merge_status() 116 MergeStatus merge_status_;
|
/system/core/fastboot/device/ |
D | commands.cpp | 59 using ::android::hardware::boot::V1_1::MergeStatus; 80 return merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in IsSnapshotUpdateInProgress() 322 if (merge_status == MergeStatus::MERGING) { in SetActiveHandler() 332 if (merge_status == MergeStatus::SNAPSHOTTED) { in SetActiveHandler() 655 MergeStatus status = hal->getSnapshotMergeStatus(); in SnapshotUpdateHandler() 662 case MergeStatus::SNAPSHOTTED: in SnapshotUpdateHandler() 663 case MergeStatus::MERGING: in SnapshotUpdateHandler() 664 hal->setSnapshotMergeStatus(MergeStatus::CANCELLED); in SnapshotUpdateHandler() 670 if (status != MergeStatus::MERGING) { in SnapshotUpdateHandler()
|
D | variables.cpp | 44 using ::android::hardware::boot::V1_1::MergeStatus; 459 MergeStatus status = hal->getSnapshotMergeStatus(); in GetSnapshotUpdateStatus() 461 case MergeStatus::SNAPSHOTTED: in GetSnapshotUpdateStatus() 464 case MergeStatus::MERGING: in GetSnapshotUpdateStatus()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | mock_device_info.h | 31 MOCK_METHOD(bool, SetBootControlMergeStatus, (MergeStatus status), (override));
|
D | snapshot.h | 65 enum class MergeStatus : int32_t; 107 android::hardware::boot::V1_1::MergeStatus status) = 0; 307 using MergeStatus = android::hardware::boot::V1_1::MergeStatus; variable
|