Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/
Ddm_test.cpp299 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl()
413 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(target_status[0].data, &status)); in TEST()
421 TEST(libdm, ParseStatusText) { in TEST() argument
425 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("", &status)); in TEST()
426 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("X", &status)); in TEST()
427 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123", &status)); in TEST()
428 EXPECT_FALSE(DmTargetSnapshot::ParseStatusText("123/456", &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 789", &status)); in TEST()
[all …]
Ddm_target.cpp192 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()
Dsnapshot.cpp790 if (!DmTargetSnapshot::ParseStatusText(target.data, status)) { in QuerySnapshotStatus()