Searched refs:ParseStatusText (Results 1 – 5 of 5) sorted by relevance
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 299 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 …]
|
D | dm_target.cpp | 192 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 | 223 static bool ParseStatusText(const std::string& text, Status* status);
|
/system/core/fs_mgr/libsnapshot/ |
D | power_test.cpp | 371 if (!DmTargetSnapshot::ParseStatusText(targets[0].data, status)) { in GetMergeStatus()
|
D | snapshot.cpp | 790 if (!DmTargetSnapshot::ParseStatusText(target.data, status)) { in QuerySnapshotStatus()
|