Searched refs:ParseStatusText (Results 1 – 5 of 5) sorted by relevance
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 327 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl() 441 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(target_status[0].data, &status)); in TEST_F() 449 TEST_F(DmTest, ParseStatusText) { in TEST_F() argument 453 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("", &status)); in TEST_F() 454 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("X", &status)); in TEST_F() 455 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123", &status)); in TEST_F() 456 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123/456", &status)); in TEST_F() 457 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456", &status)); in TEST_F() 458 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456", &status)); in TEST_F() 459 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456 789", &status)); in TEST_F() [all …]
|
D | dm_target.cpp | 198 bool DmTargetSnapshot::ParseStatusText(const std::string& text, Status* status) { in ParseStatusText() function in android::dm::DmTargetSnapshot
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 224 static bool ParseStatusText(const std::string& text, Status* status);
|
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
D | cow_snapuserd_test.cpp | 818 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 1027 if (!DmTargetSnapshot::ParseStatusText(target.data, status)) { in QuerySnapshotStatus()
|