Searched refs:IsValidDiskName (Results 1 – 3 of 3) sorted by relevance
30 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument40 EXPECT_FALSE(IsValidDiskName(invalid_input1)); in TEST_F()41 EXPECT_FALSE(IsValidDiskName(invalid_input2)); in TEST_F()42 EXPECT_FALSE(IsValidDiskName(invalid_input3)); in TEST_F()43 EXPECT_FALSE(IsValidDiskName(invalid_input4)); in TEST_F()44 EXPECT_FALSE(IsValidDiskName(invalid_input5)); in TEST_F()45 EXPECT_FALSE(IsValidDiskName(invalid_input6)); in TEST_F()46 EXPECT_FALSE(IsValidDiskName(invalid_input7)); in TEST_F()47 EXPECT_FALSE(IsValidDiskName(invalid_input8)); in TEST_F()55 EXPECT_TRUE(IsValidDiskName(valid_input1)); in TEST_F()[all …]
332 BASE_EXPORT bool IsValidDiskName(const std::string& candidate);
729 bool IsValidDiskName(const std::string& candidate) { in IsValidDiskName() function803 if (IsValidDiskName(disk_fields[kDiskDriveName])) { in GetSystemDiskInfo()