Home
last modified time | relevance | path

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

/external/libchrome/base/process/
Dprocess_metrics_unittest.cc61 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument
71 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 …]
Dprocess_metrics.h428 BASE_EXPORT bool IsValidDiskName(StringPiece candidate);
Dprocess_metrics_linux.cc697 bool IsValidDiskName(StringPiece candidate) { in IsValidDiskName() function
770 if (!IsValidDiskName(disk_fields[kDiskDriveName].as_string())) in GetSystemDiskInfo()