Home
last modified time | relevance | path

Searched refs:bugreport (Results 1 – 22 of 22) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DBugreportParserFuncTest.java46 BugreportItem bugreport = null; in testParse() local
49 bugreport = new BugreportParser().parse(bugreportReader); in testParse()
64 assertNotNull(bugreport); in testParse()
65 assertNotNull(bugreport.getTime()); in testParse()
67 assertNotNull(bugreport.getSystemProps()); in testParse()
68 assertTrue(bugreport.getSystemProps().size() > 0); in testParse()
70 assertNotNull(bugreport.getMemInfo()); in testParse()
71 assertTrue(bugreport.getMemInfo().size() > 0); in testParse()
73 assertNotNull(bugreport.getProcrank()); in testParse()
74 assertTrue(bugreport.getProcrank().getPids().size() > 0); in testParse()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DBugreportTest.java56 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); in setUp() local
57 InputStream name = new ByteArrayInputStream(bugreport.getName().getBytes()); in setUp()
60 FileUtil.writeToFile(content, bugreport); in setUp()
66 ZipUtil.addToZip(out, bugreport, new LinkedList<String>()); in setUp()
162 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); in testBugreportz_noMainFile() local
164 FileUtil.writeToFile(content, bugreport); in testBugreportz_noMainFile()
169 ZipUtil.addToZip(out, bugreport, new LinkedList<String>()); in testBugreportz_noMainFile()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DFrameworkStressTest.java147 BugreportItem bugreport = null; in testEnded() local
150 bugreport = parser.parse(new BufferedReader(new InputStreamReader( in testEnded()
152 Assert.assertNotNull(bugreport); in testEnded()
153 Assert.assertNotNull(bugreport.getSystemLog()); in testEnded()
158 LogcatItem systemLog = bugreport.getSystemLog(); in testEnded()
DDataIdleTest.java123 try (InputStreamSource bugreport = mTestDevice.getBugreport()) { in logBugReport() argument
124 listener.testLog(BUG_REPORT_LABEL, LogDataType.BUGREPORT, bugreport); in logBugReport()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DStartupMetricsTest.java129 BugreportItem bugreport = null; in fetchBugReportMetrics() local
133 bugreport = parser.parse(new BufferedReader(new InputStreamReader( in fetchBugReportMetrics()
140 if (bugreport != null) { in fetchBugReportMetrics()
142 MemInfoItem item = bugreport.getMemInfo(); in fetchBugReportMetrics()
149 if (bugreport.getProcrank() != null) { in fetchBugReportMetrics()
150 parseProcRankMap(listener, bugreport.getProcrank()); in fetchBugReportMetrics()
/tools/tradefederation/contrib/src/com/android/media/tests/
DPanoramaBenchMarkTest.java122 InputStreamSource bugreport = mTestDevice.getBugreport(); in reportMetrics() local
123 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in reportMetrics()
124 bugreport.close(); in reportMetrics()
DCameraShotToShotLatencyTest.java177 InputStreamSource bugreport = mTestDevice.getBugreport(); in reportMetrics() local
178 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in reportMetrics()
179 bugreport.close(); in reportMetrics()
DCameraSettingsTest.java215 InputStreamSource bugreport = mTestDevice.getBugreport(); in reportMetrics() local
216 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in reportMetrics()
217 bugreport.close(); in reportMetrics()
DCameraLatencyTest.java175 InputStreamSource bugreport = mTestDevice.getBugreport(); in executeTest() local
177 LogDataType.BUGREPORT, bugreport); in executeTest()
178 bugreport.close(); in executeTest()
DCameraStressTest.java210 InputStreamSource bugreport = mTestDevice.getBugreport(); in executeTest() local
212 LogDataType.BUGREPORT, bugreport); in executeTest()
213 bugreport.cancel(); in executeTest()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBugreport.java144 File bugreport = null; in extractFileBugreport() local
146 bugreport = ZipUtil2.extractFileFromZip(zip, name); in extractFileBugreport()
147 return bugreport; in extractFileBugreport()
/tools/loganalysis/src/com/android/loganalysis/parser/
DBugreportParser.java81 BugreportItem bugreport = null;
83 if (bugreport == null && !"".equals(line.trim())) {
84 bugreport = new BugreportItem();
88 bugreport.setTime(parseTime(m.group(1)));
106 return bugreport;
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DImageProcessingTest.java90 try (InputStreamSource bugreport = mTestDevice.getBugreport()) { in run() argument
91 standardListener.testLog("bugreport.txt", LogDataType.BUGREPORT, bugreport); in run()
DUiPerformanceTest.java155 try (InputStreamSource bugreport = mTestDevice.getBugreport()) { in logOutputFile() argument
156 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in logOutputFile()
DOpenGlPerformanceTest.java193 try (InputStreamSource bugreport = mTestDevice.getBugreport()) { in logOutputFile() argument
194 listener.testLog("bugreport.txt", LogDataType.BUGREPORT, bugreport); in logOutputFile()
/tools/tradefederation/core/prod-tests/src/com/android/monkey/
DMonkeyBase.java458 Bugreport bugreport = mTestDevice.takeBugreport(); in takeBugreport() local
459 if (bugreport == null) { in takeBugreport()
463 bugreport.log(bugreportName, listener); in takeBugreport()
467 main = bugreport.getMainFile(); in takeBugreport()
482 StreamUtil.close(bugreport); in takeBugreport()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2078 InputStreamSource bugreport = getBugreportInternal(); in getBugreport() local
2079 if (bugreport == null) { in getBugreport()
2083 return bugreport; in getBugreport()
2102 File bugreport = ZipUtil2.extractFileFromZip(zip, bugreportName); in getBugreport() local
2103 return new FileInputStreamSource(bugreport, true); in getBugreport()
2147 InputStreamSource bugreport = null; in logBugreport() local
2150 bugreport = getBugreportz(); in logBugreport()
2153 if (bugreport == null) { in logBugreport()
2155 bugreport = getBugreportInternal(); in logBugreport()
2159 if (bugreport != null) { in logBugreport()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java287 try (InputStreamSource bugreport = mTestDevice.getBugreport()) { in grabBugreport() argument
288 mListener.testLog(logName, LogDataType.BUGREPORT, bugreport); in grabBugreport()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java90 InputStreamSource bugreport = mTestDevice.getBugreport(); in testBugreport() local
92 String data = StreamUtil.getStringFromStream(bugreport.createInputStream()); in testBugreport()
99 StreamUtil.cancel(bugreport); in testBugreport()
/tools/tradefederation/core/proto/
Dcollector.proto57 // A java-style format string, e.g. "logcat-%s.log" or "bugreport-%d.log".
/tools/test/connectivity/acts/framework/tests/
Dacts_android_device_test.py113 def bugreport(self, params, timeout=android_device.BUG_REPORT_TIMEOUT): member in MockAdbProxy
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py904 self.adb.bugreport(