Searched refs:IsValidDiskName (Results 1 – 3 of 3) sorted by relevance
56 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument66 EXPECT_FALSE(IsValidDiskName(invalid_input1)); in TEST_F()67 EXPECT_FALSE(IsValidDiskName(invalid_input2)); in TEST_F()68 EXPECT_FALSE(IsValidDiskName(invalid_input3)); in TEST_F()69 EXPECT_FALSE(IsValidDiskName(invalid_input4)); in TEST_F()70 EXPECT_FALSE(IsValidDiskName(invalid_input5)); in TEST_F()71 EXPECT_FALSE(IsValidDiskName(invalid_input6)); in TEST_F()72 EXPECT_FALSE(IsValidDiskName(invalid_input7)); in TEST_F()73 EXPECT_FALSE(IsValidDiskName(invalid_input8)); in TEST_F()81 EXPECT_TRUE(IsValidDiskName(valid_input1)); in TEST_F()[all …]
372 BASE_EXPORT bool IsValidDiskName(const std::string& candidate);
805 bool IsValidDiskName(const std::string& candidate) { in IsValidDiskName() function880 if (IsValidDiskName(disk_fields[kDiskDriveName].as_string())) { in GetSystemDiskInfo()