/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | BugreportParserFuncTest.java | 46 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/ |
D | BugreportTest.java | 56 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/ |
D | FrameworkStressTest.java | 147 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()
|
D | DataIdleTest.java | 123 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/ |
D | StartupMetricsTest.java | 129 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/ |
D | PanoramaBenchMarkTest.java | 122 InputStreamSource bugreport = mTestDevice.getBugreport(); in reportMetrics() local 123 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in reportMetrics() 124 bugreport.close(); in reportMetrics()
|
D | CameraShotToShotLatencyTest.java | 177 InputStreamSource bugreport = mTestDevice.getBugreport(); in reportMetrics() local 178 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in reportMetrics() 179 bugreport.close(); in reportMetrics()
|
D | CameraSettingsTest.java | 215 InputStreamSource bugreport = mTestDevice.getBugreport(); in reportMetrics() local 216 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in reportMetrics() 217 bugreport.close(); in reportMetrics()
|
D | CameraLatencyTest.java | 175 InputStreamSource bugreport = mTestDevice.getBugreport(); in executeTest() local 177 LogDataType.BUGREPORT, bugreport); in executeTest() 178 bugreport.close(); in executeTest()
|
D | CameraStressTest.java | 210 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/ |
D | Bugreport.java | 144 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/ |
D | BugreportParser.java | 81 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/ |
D | ImageProcessingTest.java | 90 try (InputStreamSource bugreport = mTestDevice.getBugreport()) { in run() argument 91 standardListener.testLog("bugreport.txt", LogDataType.BUGREPORT, bugreport); in run()
|
D | UiPerformanceTest.java | 155 try (InputStreamSource bugreport = mTestDevice.getBugreport()) { in logOutputFile() argument 156 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport); in logOutputFile()
|
D | OpenGlPerformanceTest.java | 193 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/ |
D | MonkeyBase.java | 458 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/ |
D | NativeDevice.java | 2078 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/ |
D | BugreportCollector.java | 287 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/ |
D | TestDeviceFuncTest.java | 90 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/ |
D | collector.proto | 57 // A java-style format string, e.g. "logcat-%s.log" or "bugreport-%d.log".
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_android_device_test.py | 113 def bugreport(self, params, timeout=android_device.BUG_REPORT_TIMEOUT): member in MockAdbProxy
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | android_device.py | 904 self.adb.bugreport(
|