Home
last modified time | relevance | path

Searched refs:ViewerConfigParser (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DLogParserTest.kt36 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()
DViewerConfigParserTest.kt25 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()
DViewerConfigBuilderTest.kt30 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/
DLogParser.kt36 class LogParser(private val configParser: ViewerConfigParser) { in <lambda>()
50 configEntry: ViewerConfigParser.ConfigEntry, in <lambda>()
DViewerConfigParser.kt21 open class ViewerConfigParser { in <lambda>() class
DProtoLogTool.kt197 LogParser(ViewerConfigParser()) in <lambda>()