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; 160 std::optional<MergeStatus> stringToMergeStatus(const std::string &status) { in stringToMergeStatus() 161 if (status == "cancelled") return MergeStatus::CANCELLED; in stringToMergeStatus() 162 if (status == "merging") return MergeStatus::MERGING; in stringToMergeStatus() 163 if (status == "none") return MergeStatus::NONE; in stringToMergeStatus() 164 if (status == "snapshotted") return MergeStatus::SNAPSHOTTED; in stringToMergeStatus() 165 if (status == "unknown") return MergeStatus::UNKNOWN; in stringToMergeStatus() 190 std::ostream& operator<<(std::ostream& os, MergeStatus state) { in operator <<() 192 case MergeStatus::CANCELLED: in operator <<() 194 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 39 bool SetBootControlMergeStatus(MergeStatus status) override;
|
D | device_info.cpp | 83 bool DeviceInfo::SetBootControlMergeStatus([[maybe_unused]] MergeStatus status) { in SetBootControlMergeStatus()
|
D | snapshot_test.cpp | 601 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 604 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 607 ASSERT_EQ(test_device->merge_status(), MergeStatus::SNAPSHOTTED); in TEST_F() 610 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F() 613 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 616 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 619 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F()
|
D | snapshot_fuzz_utils.h | 120 bool SetBootControlMergeStatus(android::hardware::boot::V1_1::MergeStatus) override { in SetBootControlMergeStatus() argument
|
D | snapshot.cpp | 68 using android::hardware::boot::V1_1::MergeStatus; 1982 auto merge_status = MergeStatus::UNKNOWN; in WriteSnapshotUpdateStatus() 1990 merge_status = MergeStatus::NONE; in WriteSnapshotUpdateStatus() 1993 merge_status = MergeStatus::SNAPSHOTTED; in WriteSnapshotUpdateStatus() 1997 merge_status = MergeStatus::MERGING; in WriteSnapshotUpdateStatus() 2007 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; 88 bool SetBootControlMergeStatus(MergeStatus status) override { in SetBootControlMergeStatus() 106 MergeStatus merge_status() const { return merge_status_; } in merge_status() 111 MergeStatus merge_status_;
|
/system/core/fastboot/device/ |
D | commands.cpp | 51 using ::android::hardware::boot::V1_1::MergeStatus; 70 return merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in IsSnapshotUpdateInProgress() 272 if (merge_status == MergeStatus::MERGING) { in SetActiveHandler() 282 if (merge_status == MergeStatus::SNAPSHOTTED) { in SetActiveHandler() 605 MergeStatus status = hal->getSnapshotMergeStatus(); in SnapshotUpdateHandler() 612 case MergeStatus::SNAPSHOTTED: in SnapshotUpdateHandler() 613 case MergeStatus::MERGING: in SnapshotUpdateHandler() 614 hal->setSnapshotMergeStatus(MergeStatus::CANCELLED); in SnapshotUpdateHandler() 620 if (status != MergeStatus::MERGING) { in SnapshotUpdateHandler()
|
D | variables.cpp | 38 using ::android::hardware::boot::V1_1::MergeStatus; 453 MergeStatus status = hal->getSnapshotMergeStatus(); in GetSnapshotUpdateStatus() 455 case MergeStatus::SNAPSHOTTED: in GetSnapshotUpdateStatus() 458 case MergeStatus::MERGING: in GetSnapshotUpdateStatus()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | mock_device_info.h | 32 MOCK_METHOD(bool, SetBootControlMergeStatus, (MergeStatus status), (override));
|
D | snapshot.h | 62 enum class MergeStatus : int32_t; 102 android::hardware::boot::V1_1::MergeStatus status) = 0; 256 using MergeStatus = android::hardware::boot::V1_1::MergeStatus; variable
|