/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/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/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/ |
D | EventParserState.kt | 50 fun addPattern(newPattern: String) = addPattern(Pattern.compile(newPattern)) in addPattern() method 52 fun addPattern(newPattern: Pattern): Int { in addPattern() method 71 val patternMatcher = addPattern(regex) in onParseDetailsWithMatch() 82 val patternMatcher = addPattern(regex) in onParseDetailsWithMatch()
|
D | FtraceEvent.kt | 43 ftraceLineMatcher = sharedState.addPattern(FtraceLineRE) in <lambda>() 44 cpuBufferStarted = sharedState.addPattern("##### CPU \\d+ buffer started ####") in <lambda>()
|
D | TraceMarkerEvent.kt | 124 val parentTsMatcher = sharedState.addPattern( in sharedState() 126 val realtimeTsMatcher = sharedState.addPattern( in sharedState()
|
/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/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 | LogcatEventParser.java | 137 mInternalParser.addPattern(null, "I", tag, CUSTOM_CATEGORY); in registerEventTrigger()
|