Home
last modified time | relevance | path

Searched refs:inputBlock (Results 1 – 18 of 18) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DWakelockParserTest.java35 List<String> inputBlock = Arrays.asList( in testKernelWakelockParser() local
46 WakelockItem wakelock = new WakelockParser().parse(inputBlock); in testKernelWakelockParser()
59 List<String> inputBlock = Arrays.asList( in testPartialWakelockParser() local
69 WakelockItem wakelock = new WakelockParser().parse(inputBlock); in testPartialWakelockParser()
84 List<String> inputBlock = Arrays.asList( in testPartialWakelockParserOnOldFormat() local
94 WakelockItem wakelock = new WakelockParser().parse(inputBlock); in testPartialWakelockParserOnOldFormat()
109 List<String> inputBlock = Arrays.asList( in testInvalidInputWakelockParser() local
119 WakelockItem wakelock = new WakelockParser().parse(inputBlock); in testInvalidInputWakelockParser()
DLocationServiceParserTest.java35 List<String> inputBlock = Arrays.asList( in testLocationClientsSize() local
49 LocationDumpsItem locationClients = new LocationServiceParser().parse(inputBlock); in testLocationClientsSize()
58 List<String> inputBlock = Arrays.asList( in testLocationClientParser() local
64 LocationDumpsItem locationClients = new LocationServiceParser().parse(inputBlock); in testLocationClientParser()
79 List<String> inputBlock = Arrays.asList( in testLocationClientParserInvalidInput() local
84 LocationDumpsItem locationClients = new LocationServiceParser().parse(inputBlock); in testLocationClientParserInvalidInput()
DProcrankParserTest.java35 List<String> inputBlock = Arrays.asList( in testProcRankParserShortLine() local
49 ProcrankItem procrank = new ProcrankParser().parse(inputBlock); in testProcRankParserShortLine()
61 assertEquals(ArrayUtil.join("\n", inputBlock), procrank.getText()); in testProcRankParserShortLine()
68 List<String> inputBlock = Arrays.asList( in testProcRankParserLongLine() local
82 ProcrankItem procrank = new ProcrankParser().parse(inputBlock); in testProcRankParserLongLine()
94 assertEquals(ArrayUtil.join("\n", inputBlock), procrank.getText()); in testProcRankParserLongLine()
DTopParserTest.java35 List<String> inputBlock = Arrays.asList( in testTopParser() local
42 TopItem item = new TopParser().parse(inputBlock); in testTopParser()
52 assertEquals(ArrayUtil.join("\n", inputBlock), item.getText()); in testTopParser()
59 List<String> inputBlock = Arrays.asList( in testLastTop() local
64 TopItem item = new TopParser().parse(inputBlock); in testLastTop()
DDumpsysBatteryStatsParserTest.java34 List<String> inputBlock = Arrays.asList( in testBatteryStatsParser() local
88 DumpsysBatteryStatsItem batteryStats = new DumpsysBatteryStatsParser().parse(inputBlock); in testBatteryStatsParser()
94 List<String> inputBlock = Arrays.asList( in testBatteryStatsWithNoKB() local
148 DumpsysBatteryStatsItem batteryStats = new DumpsysBatteryStatsParser().parse(inputBlock); in testBatteryStatsWithNoKB()
DDumpsysWifiStatsParserTest.java34 List<String> inputBlock = Arrays.asList( in testDumpsysWifiStatsParser() local
64 DumpsysWifiStatsItem wifiStats = new DumpsysWifiStatsParser().parse(inputBlock); in testDumpsysWifiStatsParser()
74 List<String> inputBlock = Arrays.asList( in testDumpsysWifiStatsParser_no_wifi_scan_disconnect() local
97 DumpsysWifiStatsItem wifiStats = new DumpsysWifiStatsParser().parse(inputBlock); in testDumpsysWifiStatsParser_no_wifi_scan_disconnect()
DBatteryStatsSummaryInfoParserTest.java36 List<String> inputBlock = Arrays.asList( in testBatteryStatsSummaryInfoParser() local
83 BatteryStatsSummaryInfoItem summary = new BatteryStatsSummaryInfoParser().parse(inputBlock); in testBatteryStatsSummaryInfoParser()
100 List<String> inputBlock = Arrays.asList( in testNoBatteryDischarge() local
103 BatteryStatsSummaryInfoItem summary = new BatteryStatsSummaryInfoParser().parse(inputBlock); in testNoBatteryDischarge()
DBatteryStatsDetailedInfoParserTest.java34 List<String> inputBlock = Arrays.asList( in testBatteryStatsDetailedInfoParser() local
79 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); in testBatteryStatsDetailedInfoParser()
92 List<String> inputBlock = Arrays.asList( in testMissingWakelockSection() local
120 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); in testMissingWakelockSection()
DSystemPropsParserTest.java34 List<String> inputBlock = Arrays.asList( in testSimpleParse() local
40 SystemPropsItem map = new SystemPropsParser().parse(inputBlock); in testSimpleParse()
54 List<String> inputBlock = Arrays.asList( in testParseError() local
60 SystemPropsItem map = new SystemPropsParser().parse(inputBlock); in testParseError()
DDumpsysProcessMeminfoParserTest.java51 List<String> inputBlock = Arrays.asList(TEST_INPUT.split("\n")); in testDumpsysProcessMeminfoParser() local
52 DumpsysProcessMeminfoItem dump = new DumpsysProcessMeminfoParser().parse(inputBlock); in testDumpsysProcessMeminfoParser()
99 List<String> inputBlock = Arrays.asList(INVALID_TEST_INPUT.split("\n")); in testDumpsysProcessMeminfoParserInvalid() local
100 DumpsysProcessMeminfoItem dump = new DumpsysProcessMeminfoParser().parse(inputBlock); in testDumpsysProcessMeminfoParserInvalid()
DMemInfoParserTest.java35 List<String> inputBlock = Arrays.asList( in testMemInfoParser() local
44 MemInfoItem item = new MemInfoParser().parse(inputBlock); in testMemInfoParser()
54 assertEquals(ArrayUtil.join("\n", inputBlock), item.getText()); in testMemInfoParser()
DDumpsysProcStatsParserTest.java34 List<String> inputBlock = Arrays.asList( in testDumpsysProcStatsParser() local
43 DumpsysProcStatsItem procstats = new DumpsysProcStatsParser().parse(inputBlock); in testDumpsysProcStatsParser()
DActivityServiceParserTest.java34 List<String> inputBlock = Arrays.asList( in testActivityServiceParser() local
54 ActivityServiceItem activityService = new ActivityServiceParser().parse(inputBlock); in testActivityServiceParser()
DDumpsysParserTest.java34 List<String> inputBlock = in testDumpsysParser() local
137 DumpsysItem dumpsys = new DumpsysParser().parse(inputBlock); in testDumpsysParser()
DInterruptParserTest.java36 List<String> inputBlock = Arrays.asList( in testInterruptParser() local
46 InterruptItem interrupt = new InterruptParser().parse(inputBlock); in testInterruptParser()
DBatteryUsageParserTest.java35 List<String> inputBlock = Arrays.asList( in testBatteryUsageParser() local
45 BatteryUsageItem usage = new BatteryUsageParser().parse(inputBlock); in testBatteryUsageParser()
DDumpsysPackageStatsParserTest.java31 List<String> inputBlock = in testDumpsysPackageStatsParser() local
48 new DumpsysPackageStatsParser().parse(inputBlock); in testDumpsysPackageStatsParser()
DProcessUsageParserTest.java37 List<String> inputBlock = Arrays.asList( in testProcessUsageParser() local
60 ProcessUsageItem processUsage = new ProcessUsageParser().parse(inputBlock); in testProcessUsageParser()