Home
last modified time | relevance | path

Searched refs:mBugreport (Results 1 – 9 of 9) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/parser/
DBugreportParser.java120 private BugreportItem mBugreport = null; field in BugreportParser
144 return mBugreport; in parse()
163 return mBugreport; in parse()
196 if (mParsedInput && mBugreport == null) { in commit()
197 mBugreport = new BugreportItem(); in commit()
200 if (mBugreport != null) { in commit()
201 mBugreport.setCommandLine(mCommandLine); in commit()
202 mBugreport.setMemInfo((MemInfoItem) getSection(mMemInfoParser)); in commit()
203 mBugreport.setProcrank((ProcrankItem) getSection(mProcrankParser)); in commit()
204 mBugreport.setTop((TopItem) getSection(mTopParser)); in commit()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DBugreportTest.java45 private Bugreport mBugreport; field in BugreportTest
85 mBugreport = new Bugreport(mRegularFile, false); in testBugreport_flat()
87 Assert.assertEquals(mRegularFile, mBugreport.getMainFile()); in testBugreport_flat()
88 Assert.assertNull(mBugreport.getListOfFiles()); in testBugreport_flat()
90 mBugreport.close(); in testBugreport_flat()
99 mBugreport = new Bugreport(mZipFile, true); in testBugreport_zipped()
102 Assert.assertEquals(2, mBugreport.getListOfFiles().size()); in testBugreport_zipped()
103 mainFile = mBugreport.getMainFile(); in testBugreport_zipped()
108 mBugreport.close(); in testBugreport_zipped()
117 mBugreport = new Bugreport(mZipFile, true); in testBugreport_getFileByName()
[all …]
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/
DBugreport.java39 private File mBugreport; field in Bugreport
43 mBugreport = bugreportFile; in Bugreport()
62 try (InputStreamSource source = new FileInputStreamSource(mBugreport)) { in log()
73 if (mBugreport == null) { in getMainFile()
77 return mBugreport; in getMainFile()
81 try (ZipFile zip = new ZipFile(mBugreport)) { in getMainFile()
107 if (mBugreport == null) { in getListOfFiles()
114 try (ZipFile zipBugreport = new ZipFile(mBugreport)) { in getListOfFiles()
131 if (mBugreport == null || name == null) { in getFileByName()
145 try (ZipFile zip = new ZipFile(mBugreport)) { in extractFileBugreport()
[all …]
/tools/loganalysis/tests/src/com/android/loganalysis/rule/
DLocationUsageRuleTest.java34 BugreportItem mBugreport; field in LocationUsageRuleTest
42 mBugreport = new BugreportItem(); in setUp()
51 mBugreport.setDumpsys(mDumpsys); in setUp()
52 mBugreport.setActivityService(mActivityService); in setUp()
65 LocationUsageRule locationUsageRule = new LocationUsageRule(mBugreport); in testLocationUsageAnalysis()
82 LocationUsageRule locationUsageRule = new LocationUsageRule(mBugreport); in testNoSignificantLocationUsageAnalysis()
92 LocationUsageRule locationUsageRule = new LocationUsageRule(mBugreport); in testNoLocationUsageAnalysis()
DWifiStatsRuleTest.java32 BugreportItem mBugreport; field in WifiStatsRuleTest
39 mBugreport = new BugreportItem(); in setUp()
47 mBugreport.setDumpsys(mDumpsys); in setUp()
60 WifiStatsRule wifiStatsRule = new WifiStatsRule(mBugreport); in testWifiDisconnectAnalysis()
77 WifiStatsRule wifiStatsRule = new WifiStatsRule(mBugreport); in testWifiScanAnalysis()
94 WifiStatsRule wifiStatsRule = new WifiStatsRule(mBugreport); in testWifiAssociationAnalysis()
DInterruptRuleTest.java34 BugreportItem mBugreport; field in InterruptRuleTest
41 mBugreport = new BugreportItem(); in setUp()
49 mBugreport.setDumpsys(mDumpsys); in setUp()
64 InterruptRule interruptRule = new InterruptRule(mBugreport); in testInterruptAnalysis()
83 InterruptRule interruptRule = new InterruptRule(mBugreport); in testNoSignificantInterruptAnalysis()
93 InterruptRule interruptRule = new InterruptRule(mBugreport); in testMissingInterruptAnalysis()
DWakelockRuleTest.java34 BugreportItem mBugreport; field in WakelockRuleTest
41 mBugreport = new BugreportItem(); in setUp()
49 mBugreport.setDumpsys(mDumpsys); in setUp()
68 WakelockRule wakelockRule = new WakelockRule(mBugreport); in testWakelockAnalysis()
90 WakelockRule wakelockRule = new WakelockRule(mBugreport); in testNoSignificantWakelockAnalysis()
100 WakelockRule wakelockRule = new WakelockRule(mBugreport); in testNoWakelockAnalysis()
DProcessUsageRuleTest.java35 BugreportItem mBugreport; field in ProcessUsageRuleTest
42 mBugreport = new BugreportItem(); in setUp()
50 mBugreport.setDumpsys(mDumpsys); in setUp()
70 ProcessUsageRule usage = new ProcessUsageRule(mBugreport); in testAlarmAnalysis()
99 ProcessUsageRule usage = new ProcessUsageRule(mBugreport); in testSensorAnalysis()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java291 private BugreportItem mBugreport = null; field in MonkeyBase
411 mBugreport = takeBugreport(listener, BUGREPORT_NAME); in runMonkey()
455 if (mBugreport != null && mBugreport.getLastKmsg() != null) { in runMonkey()
457 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()
459 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()
712 Assert.assertNotNull("Bugreport is null", mBugreport); in checkResults()
713 Assert.assertNotNull("Bugreport is empty", mBugreport.getTime()); in checkResults()