HomeSort by relevance Sort by last modified time
    Searched refs:GetFirstLineWithPrefix (Results 1 - 3 of 3) sorted by null

  /system/core/crash_reporter/
user_collector_test.cc 212 TEST_F(UserCollectorTest, GetFirstLineWithPrefix) {
216 EXPECT_FALSE(collector_.GetFirstLineWithPrefix(lines, "Name:", &line));
224 EXPECT_TRUE(collector_.GetFirstLineWithPrefix(lines, "Name:", &line));
228 EXPECT_TRUE(collector_.GetFirstLineWithPrefix(lines, "State:", &line));
232 EXPECT_FALSE(collector_.GetFirstLineWithPrefix(lines, "Foo:", &line));
236 EXPECT_TRUE(collector_.GetFirstLineWithPrefix(lines, " Foo:", &line));
240 EXPECT_FALSE(collector_.GetFirstLineWithPrefix(lines, "Bar:", &line));
user_collector.h 68 FRIEND_TEST(UserCollectorTest, GetFirstLineWithPrefix);
112 bool GetFirstLineWithPrefix(const std::vector<std::string> &lines,
user_collector.cc 130 bool UserCollector::GetFirstLineWithPrefix(
150 if (!GetFirstLineWithPrefix(status_lines, prefix, &id_line)) {
171 if (!GetFirstLineWithPrefix(status_lines, kStatePrefix, &state_line)) {

Completed in 186 milliseconds