Searched refs:addPattern (Results 1 – 6 of 6) sorted by relevance
/tools/loganalysis/tests/src/com/android/loganalysis/util/ |
D | LogPatternUtilTest.java | 32 patternUtil.addPattern(Pattern.compile("abc"), "cat1"); in testPatternMatching() 33 patternUtil.addPattern(Pattern.compile("123"), "cat2"); in testPatternMatching() 45 patternUtil.addPattern(Pattern.compile("abc"), null, "cat1"); in testExtrasMatching() 46 patternUtil.addPattern(Pattern.compile("123"), "E/tag1", "cat2"); in testExtrasMatching() 47 patternUtil.addPattern(Pattern.compile("123"), "E/tag2", "cat3"); in testExtrasMatching()
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
D | LogPatternUtil.java | 63 public void addPattern(Pattern pattern, String category) { in addPattern() method in LogPatternUtil 64 addPattern(pattern, null, category); in addPattern() 75 public void addPattern(Pattern pattern, Object extras, String category) { in addPattern() method in LogPatternUtil
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | KernelLogParser.java | 249 mPatternUtil.addPattern(Pattern.compile(pattern), KERNEL_RESET); in initPatterns() 252 mPatternUtil.addPattern(Pattern.compile(pattern), NORMAL_REBOOT); in initPatterns() 255 mPatternUtil.addPattern(Pattern.compile("Internal error:.*"), KERNEL_ERROR); in initPatterns() 258 mPatternUtil.addPattern(SELINUX_DENIAL_PATTERN, SELINUX_DENIAL); in initPatterns() 260 mPatternUtil.addPattern(PAGE_ALLOC_FAILURE_PATTERN, PAGE_ALLOC_FAILURE); in initPatterns() 262 mPatternUtil.addPattern(LOW_MEMORY_KILLER_PATTERN, LOW_MEMORY_KILLER); in initPatterns()
|
D | LogcatParser.java | 444 mPatternUtil.addPattern(Pattern.compile(".* timed out \\(is the CPU pegged\\?\\).*"), in initPatterns() 448 mPatternUtil.addPattern(Pattern.compile( in initPatterns() 452 mPatternUtil.addPattern(Pattern.compile("\\*\\*\\* WATCHDOG KILLING SYSTEM PROCESS.*"), in initPatterns() 467 public void addPattern(Pattern pattern, String level, String tag, String category) { in addPattern() method in LogcatParser 472 mPatternUtil.addPattern(pattern, new ExtrasPattern(level, tag), category); in addPattern()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | LogcatParserTest.java | 735 parser.addPattern(null, null, "HelloTag", "HelloCategory"); in testAddPattern_byTagOnly() 736 parser.addPattern(null, null, "Watchdog", "WatchdogCategory"); in testAddPattern_byTagOnly() 762 parser.addPattern(null, "I", "Watchdog", "WatchdogCategory"); in testAddPattern_byLevelAndTagOnly() 784 parser.addPattern(Pattern.compile(".*find*."), "W", "Watchdog", "WatchdogCategory"); in testAddPattern_byLevelTagAndMessageOnly()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | LogcatUpdaterEventParser.java | 192 mInternalParser.addPattern(null, "I", tag, UPDATER_CUSTOM_CATEGORY); in registerEventTrigger()
|