/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | WakelockParserTest.java | 35 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()
|
D | LocationServiceParserTest.java | 35 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()
|
D | ProcrankParserTest.java | 35 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()
|
D | TopParserTest.java | 35 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()
|
D | DumpsysBatteryStatsParserTest.java | 34 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()
|
D | DumpsysWifiStatsParserTest.java | 34 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()
|
D | BatteryStatsSummaryInfoParserTest.java | 36 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()
|
D | SystemPropsParserTest.java | 34 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()
|
D | BatteryStatsDetailedInfoParserTest.java | 34 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()
|
D | DumpsysProcessMeminfoParserTest.java | 51 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()
|
D | MemInfoParserTest.java | 35 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()
|
D | DumpsysProcStatsParserTest.java | 34 List<String> inputBlock = Arrays.asList( in testDumpsysProcStatsParser() local 43 DumpsysProcStatsItem procstats = new DumpsysProcStatsParser().parse(inputBlock); in testDumpsysProcStatsParser()
|
D | ActivityServiceParserTest.java | 34 List<String> inputBlock = Arrays.asList( in testActivityServiceParser() local 54 ActivityServiceItem activityService = new ActivityServiceParser().parse(inputBlock); in testActivityServiceParser()
|
D | DumpsysParserTest.java | 34 List<String> inputBlock = in testDumpsysParser() local 137 DumpsysItem dumpsys = new DumpsysParser().parse(inputBlock); in testDumpsysParser()
|
D | BatteryUsageParserTest.java | 35 List<String> inputBlock = Arrays.asList( in testBatteryUsageParser() local 45 BatteryUsageItem usage = new BatteryUsageParser().parse(inputBlock); in testBatteryUsageParser()
|
D | InterruptParserTest.java | 36 List<String> inputBlock = Arrays.asList( in testInterruptParser() local 46 InterruptItem interrupt = new InterruptParser().parse(inputBlock); in testInterruptParser()
|
D | DumpsysPackageStatsParserTest.java | 31 List<String> inputBlock = in testDumpsysPackageStatsParser() local 48 new DumpsysPackageStatsParser().parse(inputBlock); in testDumpsysPackageStatsParser()
|
D | ProcessUsageParserTest.java | 37 List<String> inputBlock = Arrays.asList( in testProcessUsageParser() local 60 ProcessUsageItem processUsage = new ProcessUsageParser().parse(inputBlock); in testProcessUsageParser()
|