Home
last modified time | relevance | path

Searched refs:ParseStatusText (Results 1 – 5 of 5) sorted by relevance

/system/core/fs_mgr/libdm/
Ddm_test.cpp327 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 …]
Ddm_target.cpp198 bool DmTargetSnapshot::ParseStatusText(const std::string& text, Status* status) { in ParseStatusText() function in android::dm::DmTargetSnapshot
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h224 static bool ParseStatusText(const std::string& text, Status* status);
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
Dcow_snapuserd_test.cpp818 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1027 if (!DmTargetSnapshot::ParseStatusText(target.data, status)) { in QuerySnapshotStatus()