Searched refs:ParseStatusText (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 336 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl() 450 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(target_status[0].data, &status)); in TEST_F() 458 TEST_F(DmTest, ParseStatusText) { in TEST_F() argument 462 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("", &status)); in TEST_F() 463 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("X", &status)); in TEST_F() 464 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123", &status)); in TEST_F() 465 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123/456", &status)); in TEST_F() 466 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456", &status)); in TEST_F() 467 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456", &status)); in TEST_F() 468 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456 789", &status)); in TEST_F() [all …]
|
D | dm_target.cpp | 202 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 | 242 static bool ParseStatusText(const std::string& text, Status* status);
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 1082 if (!DmTargetSnapshot::ParseStatusText(target.data, status)) { in QuerySnapshotStatus()
|