Searched refs:ViewerConfigParser (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | LogParserTest.kt | 36 private val configParser: ViewerConfigParser = mock(ViewerConfigParser::class.java) 38 private var config: MutableMap<Int, ViewerConfigParser.ConfigEntry> = mutableMapOf() 68 config[70933285] = ViewerConfigParser.ConfigEntry("Test completed successfully: %b", in parse() 87 config[123] = ViewerConfigParser.ConfigEntry("Test completed successfully: %b %d %% %o" + in parse_formatting() 110 config[123] = ViewerConfigParser.ConfigEntry("Test completed successfully: %b %d %% %o", in parse_invalidParamsTooMany() 132 config[123] = ViewerConfigParser.ConfigEntry("Test completed successfully: %b %d %% %o" + in parse_invalidParamsNotEnough()
|
D | ViewerConfigParserTest.kt | 25 private val parser = ViewerConfigParser() 161 ViewerConfigParser.MessageEntry("Test completed successfully: %b", in parseMessages() 164 ViewerConfigParser.MessageEntry("Attempted to add window to a display that " + in parseMessages() 199 val grp1 = ViewerConfigParser.GroupEntry("WindowManager") in parseGroups() 200 val grp2 = ViewerConfigParser.GroupEntry("WindowManagerError") in parseGroups() 226 val cfg1 = ViewerConfigParser.ConfigEntry("Test completed successfully: %b", in parseConfig()
|
D | ViewerConfigBuilderTest.kt | 30 private val TEST1 = ViewerConfigParser.ConfigEntry("test1", LogLevel.INFO.name, TAG1) 31 private val TEST2 = ViewerConfigParser.ConfigEntry("test2", LogLevel.DEBUG.name, TAG2) 32 private val TEST3 = ViewerConfigParser.ConfigEntry("test3", LogLevel.ERROR.name, TAG2) 43 private fun parseConfig(json: String): Map<Int, ViewerConfigParser.ConfigEntry> { in parseConfig() 44 return ViewerConfigParser().parseConfig(JsonReader(StringReader(json))) in parseConfig()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | LogParser.kt | 36 class LogParser(private val configParser: ViewerConfigParser) { in <lambda>() 50 configEntry: ViewerConfigParser.ConfigEntry, in <lambda>()
|
D | ViewerConfigParser.kt | 21 open class ViewerConfigParser { in <lambda>() class
|
D | ProtoLogTool.kt | 197 LogParser(ViewerConfigParser()) in <lambda>()
|