Searched refs:logcat_out (Results 1 – 2 of 2) sorted by relevance
/system/memory/lmkd/tests/ |
D | lmkd_tests.cpp | 215 std::string logcat_out = ReadLogcat(LMKD_LOGCAT_MARKER ":I", regex); in TEST_F() local 218 size_t line_start = logcat_out.find(LMKD_KILL_LINE_START); in TEST_F() 220 size_t line_end = logcat_out.find('\n', line_start); in TEST_F() 221 std::string line = logcat_out.substr( in TEST_F() 227 line_start = logcat_out.find(LMKD_REAP_LINE_START); in TEST_F() 230 line_start = logcat_out.find(LMKD_REAP_MRELESE_ERR_MARKER); in TEST_F() 234 line_end = logcat_out.find('\n', line_start); in TEST_F() 235 line = logcat_out.substr(line_start, line_end == std::string::npos ? std::string::npos in TEST_F() 240 line_end = logcat_out.find('\n', line_start); in TEST_F() 241 line = logcat_out.substr( in TEST_F()
|
D | lmkd_test.cpp | 334 std::string logcat_out = readLogcat(marker); in TEST() local 343 if ((pos = logcat_out.find(marker, pos)) != std::string::npos) { in TEST() 344 kill_logs << getTextAround(logcat_out, pos, 0, 1); in TEST() 358 pos = logcat_out.find(OOM_MARKER); in TEST() 361 logcat_out.find(OOM_KILL_MARKER, pos) != std::string::npos); in TEST() 367 while ((pos = logcat_out.find(OOM_MARKER, pos)) != std::string::npos) { in TEST() 369 << getTextAround(logcat_out, pos, in TEST() 377 << logcat_out; in TEST()
|