Searched refs:stripSuffix (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/cmds/incident_helper/tests/ |
D | ih_util_test.cpp | 120 TEST(IhUtilTest, stripSuffix) { in TEST() argument 122 EXPECT_TRUE(stripSuffix(&data1, "abc")); in TEST() 126 EXPECT_FALSE(stripSuffix(&data2, "Not right")); in TEST() 130 EXPECT_TRUE(stripSuffix(&data3, "bc")); in TEST() 134 EXPECT_FALSE(stripSuffix(&data4, "bc", true)); in TEST()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.h | 91 bool stripSuffix(std::string* line, const char* key, bool endAtDelimiter = false);
|
D | ih_util.cpp | 190 bool stripSuffix(std::string* line, const char* key, bool endAtDelimiter) { in stripSuffix() function
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | CpuInfoParser.cpp | 34 if (stripSuffix(&record[i], names[j], true)) { in writeSuffixLine()
|