Lines Matching refs:MergeStatus
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 <<()
196 case MergeStatus::NONE: in operator <<()
198 case MergeStatus::SNAPSHOTTED: in operator <<()
200 case MergeStatus::UNKNOWN: in operator <<()
208 MergeStatus ret = module->getSnapshotMergeStatus(); in do_get_snapshot_merge_status()