Searched refs:MergeFailureCode (Results 1 – 10 of 10) sorted by relevance
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot_stats.h | 37 virtual void set_merge_failure_code(MergeFailureCode code) = 0; 44 virtual MergeFailureCode merge_failure_code() = 0; 81 void set_merge_failure_code(MergeFailureCode code) override; 82 MergeFailureCode merge_failure_code() override;
|
D | snapshot.h | 178 virtual MergeFailureCode ReadMergeFailureCode() = 0; 348 MergeFailureCode ReadMergeFailureCode() override; 399 FRIEND_TEST(SnapshotTest, MergeFailureCode); 552 MergeFailureCode failure_code = MergeFailureCode::Ok); 561 MergeFailureCode MergeSecondPhaseSnapshots(LockedFile* lock); 562 MergeFailureCode SwitchSnapshotToMerge(LockedFile* lock, const std::string& name); 563 MergeFailureCode RewriteSnapshotDeviceTable(const std::string& dm_name); 566 void AcknowledgeMergeFailure(MergeFailureCode failure_code); 595 MergeFailureCode failure_code = MergeFailureCode::Ok) 598 MergeFailureCode failure_code; [all …]
|
D | mock_snapshot_merge_stats.h | 37 MOCK_METHOD(void, set_merge_failure_code, (MergeFailureCode), (override)); 45 MOCK_METHOD(MergeFailureCode, merge_failure_code, (), (override));
|
D | snapshot_stub.h | 32 MergeFailureCode ReadMergeFailureCode() override;
|
D | mock_snapshot.h | 30 MOCK_METHOD(MergeFailureCode, ReadMergeFailureCode, (), (override));
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_stub.cpp | 138 void set_merge_failure_code(MergeFailureCode) override {} in set_merge_failure_code() argument 139 MergeFailureCode merge_failure_code() override { return MergeFailureCode::Ok; } in merge_failure_code() 171 auto SnapshotManagerStub::ReadMergeFailureCode() -> MergeFailureCode { in ReadMergeFailureCode() 173 return MergeFailureCode::Ok; in ReadMergeFailureCode()
|
D | snapshot.cpp | 744 auto reported_code = MergeFailureCode::Ok; in InitiateMerge() 750 if (code != MergeFailureCode::Ok) { in InitiateMerge() 752 if (reported_code == MergeFailureCode::Ok) { in InitiateMerge() 761 if (reported_code != MergeFailureCode::Ok) { in InitiateMerge() 769 MergeFailureCode SnapshotManager::SwitchSnapshotToMerge(LockedFile* lock, const std::string& name) { in SwitchSnapshotToMerge() 772 return MergeFailureCode::ReadStatus; in SwitchSnapshotToMerge() 781 if (auto code = RewriteSnapshotDeviceTable(name); code != MergeFailureCode::Ok) { in SwitchSnapshotToMerge() 796 return MergeFailureCode::Ok; in SwitchSnapshotToMerge() 799 MergeFailureCode SnapshotManager::RewriteSnapshotDeviceTable(const std::string& name) { in RewriteSnapshotDeviceTable() 805 return MergeFailureCode::GetTableInfo; in RewriteSnapshotDeviceTable() [all …]
|
D | snapshot_stats.cpp | 132 void SnapshotMergeStats::set_merge_failure_code(MergeFailureCode code) { in set_merge_failure_code() 136 MergeFailureCode SnapshotMergeStats::merge_failure_code() { in merge_failure_code()
|
D | snapshot_test.cpp | 682 TEST_F(SnapshotTest, MergeFailureCode) { in TEST_F() argument 686 MergeFailureCode::ListSnapshots)); in TEST_F() 691 ASSERT_EQ(status.merge_failure_code(), MergeFailureCode::ListSnapshots); in TEST_F()
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 146 enum MergeFailureCode { enum 193 MergeFailureCode merge_failure_code = 7; 227 MergeFailureCode merge_failure_code = 9;
|