Home
last modified time | relevance | path

Searched refs:IsValidDiskName (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/process/
Dprocess_metrics_unittest.cc56 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument
66 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 …]
Dprocess_metrics.h372 BASE_EXPORT bool IsValidDiskName(const std::string& candidate);
Dprocess_metrics_linux.cc805 bool IsValidDiskName(const std::string& candidate) { in IsValidDiskName() function
880 if (IsValidDiskName(disk_fields[kDiskDriveName].as_string())) { in GetSystemDiskInfo()