Home
last modified time | relevance | path

Searched refs:IsValidDiskName (Results 1 – 6 of 6) 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()
/external/cronet/base/process/
Dprocess_metrics_unittest.cc76 TEST_F(SystemMetricsTest, IsValidDiskName) { in TEST_F() argument
86 EXPECT_FALSE(IsValidDiskName(invalid_input1)); in TEST_F()
87 EXPECT_FALSE(IsValidDiskName(invalid_input2)); in TEST_F()
88 EXPECT_FALSE(IsValidDiskName(invalid_input3)); in TEST_F()
89 EXPECT_FALSE(IsValidDiskName(invalid_input4)); in TEST_F()
90 EXPECT_FALSE(IsValidDiskName(invalid_input5)); in TEST_F()
91 EXPECT_FALSE(IsValidDiskName(invalid_input6)); in TEST_F()
92 EXPECT_FALSE(IsValidDiskName(invalid_input7)); in TEST_F()
93 EXPECT_FALSE(IsValidDiskName(invalid_input8)); in TEST_F()
101 EXPECT_TRUE(IsValidDiskName(valid_input1)); in TEST_F()
[all …]
Dprocess_metrics_linux.cc639 bool IsValidDiskName(StringPiece candidate) { in IsValidDiskName() function
712 if (!IsValidDiskName(disk_fields[kDiskDriveName])) in GetSystemDiskInfo()
Dprocess_metrics.h472 BASE_EXPORT bool IsValidDiskName(StringPiece candidate);