Home
last modified time | relevance | path

Searched refs:stripSuffix (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp120 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/
Dih_util.h91 bool stripSuffix(std::string* line, const char* key, bool endAtDelimiter = false);
Dih_util.cpp190 bool stripSuffix(std::string* line, const char* key, bool endAtDelimiter) { in stripSuffix() function
/frameworks/base/cmds/incident_helper/src/parsers/
DCpuInfoParser.cpp34 if (stripSuffix(&record[i], names[j], true)) { in writeSuffixLine()