Home
last modified time | relevance | path

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

/external/chromium_org/base/process/
Dprocess_metrics_unittest.cc30 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument
40 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 …]
Dprocess_metrics.h332 BASE_EXPORT bool IsValidDiskName(const std::string& candidate);
Dprocess_metrics_linux.cc729 bool IsValidDiskName(const std::string& candidate) { in IsValidDiskName() function
803 if (IsValidDiskName(disk_fields[kDiskDriveName])) { in GetSystemDiskInfo()