Searched refs:checkMessage (Results 1 – 5 of 5) sorted by relevance
/tools/loganalysis/tests/src/com/android/loganalysis/util/ |
D | LogPatternUtilTest.java | 35 assertNull(patternUtil.checkMessage("xyz")); in testPatternMatching() 36 assertEquals("cat1", patternUtil.checkMessage("abc")); in testPatternMatching() 37 assertEquals("cat2", patternUtil.checkMessage("123")); in testPatternMatching() 49 assertNull(patternUtil.checkMessage("xyz")); in testExtrasMatching() 50 assertEquals("cat1", patternUtil.checkMessage("abc")); in testExtrasMatching() 51 assertEquals("cat1", patternUtil.checkMessage("abc", "E/tag1")); in testExtrasMatching() 52 assertEquals("cat1", patternUtil.checkMessage("abc", "E/tag2")); in testExtrasMatching() 53 assertNull(patternUtil.checkMessage("123")); in testExtrasMatching() 54 assertEquals("cat2", patternUtil.checkMessage("123", "E/tag1")); in testExtrasMatching() 55 assertEquals("cat3", patternUtil.checkMessage("123", "E/tag2")); in testExtrasMatching()
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
D | LogPatternUtil.java | 85 public String checkMessage(String message) { in checkMessage() method in LogPatternUtil 86 return checkMessage(message, null); in checkMessage() 96 public String checkMessage(String message, Object extras) { in checkMessage() method in LogPatternUtil
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | KernelLogParserTest.java | 197 KernelLogParser.KERNEL_RESET, patternUtil.checkMessage(pattern)); in testPatterns() 200 assertEquals(KernelLogParser.KERNEL_ERROR, patternUtil.checkMessage("Internal error:")); in testPatterns() 201 assertEquals(KernelLogParser.SELINUX_DENIAL, patternUtil.checkMessage( in testPatterns()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | KernelLogParser.java | 156 String category = mPatternUtil.checkMessage(message); in checkAndAddKernelEvent()
|
D | LogcatParser.java | 325 if (mPatternUtil.checkMessage(msg, new ExtrasPattern(level, tag)) != null) { in parseLine() 382 String category = mPatternUtil.checkMessage(msg, new ExtrasPattern( in commit()
|