Searched refs:IsValidDiskName (Results 1 – 6 of 6) sorted by relevance
61 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument71 EXPECT_FALSE(IsValidDiskName(invalid_input1)); in TEST_F()72 EXPECT_FALSE(IsValidDiskName(invalid_input2)); in TEST_F()73 EXPECT_FALSE(IsValidDiskName(invalid_input3)); in TEST_F()74 EXPECT_FALSE(IsValidDiskName(invalid_input4)); in TEST_F()75 EXPECT_FALSE(IsValidDiskName(invalid_input5)); in TEST_F()76 EXPECT_FALSE(IsValidDiskName(invalid_input6)); in TEST_F()77 EXPECT_FALSE(IsValidDiskName(invalid_input7)); in TEST_F()78 EXPECT_FALSE(IsValidDiskName(invalid_input8)); in TEST_F()86 EXPECT_TRUE(IsValidDiskName(valid_input1)); in TEST_F()[all …]
428 BASE_EXPORT bool IsValidDiskName(StringPiece candidate);
697 bool IsValidDiskName(StringPiece candidate) { in IsValidDiskName() function770 if (!IsValidDiskName(disk_fields[kDiskDriveName].as_string())) in GetSystemDiskInfo()
76 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument86 EXPECT_FALSE(IsValidDiskName(invalid_input1)); in TEST_F()87 EXPECT_FALSE(IsValidDiskName(invalid_input2)); in TEST_F()88 EXPECT_FALSE(IsValidDiskName(invalid_input3)); in TEST_F()89 EXPECT_FALSE(IsValidDiskName(invalid_input4)); in TEST_F()90 EXPECT_FALSE(IsValidDiskName(invalid_input5)); in TEST_F()91 EXPECT_FALSE(IsValidDiskName(invalid_input6)); in TEST_F()92 EXPECT_FALSE(IsValidDiskName(invalid_input7)); in TEST_F()93 EXPECT_FALSE(IsValidDiskName(invalid_input8)); in TEST_F()101 EXPECT_TRUE(IsValidDiskName(valid_input1)); in TEST_F()[all …]
639 bool IsValidDiskName(StringPiece candidate) { in IsValidDiskName() function712 if (!IsValidDiskName(disk_fields[kDiskDriveName])) in GetSystemDiskInfo()
472 BASE_EXPORT bool IsValidDiskName(StringPiece candidate);