Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/
Ddm_test.cpp336 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 …]
Ddm_target.cpp202 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.h242 static bool ParseStatusText(const std::string& text, Status* status);
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1082 if (!DmTargetSnapshot::ParseStatusText(target.data, status)) { in QuerySnapshotStatus()