Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/
Ddm_test.cpp300 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl()
414 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(target_status[0].data, &status)); in TEST()
422 TEST(libdm, ParseStatusText) { in TEST() argument
426 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("", &status)); in TEST()
427 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("X", &status)); in TEST()
428 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123", &status)); in TEST()
429 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123/456", &status)); in TEST()
430 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456", &status)); in TEST()
431 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456", &status)); in TEST()
432 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123 456 789", &status)); in TEST()
[all …]
Ddm_target.cpp194 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.h223 static bool ParseStatusText(const std::string& text, Status* status);
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp371 if (!DmTargetSnapshot::ParseStatusText(targets[0].data, status)) { in GetMergeStatus()
Dcow_snapuserd_test.cpp703 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl()
Dsnapshot.cpp882 if (!DmTargetSnapshot::ParseStatusText(target.data, status)) { in QuerySnapshotStatus()