/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | BugreportParserTest.java | 164 BugreportItem bugreport = new BugreportParser().parse(lines); in testParse() local 165 assertNotNull(bugreport); in testParse() 166 assertEquals(parseTime("2012-04-25 20:45:10.000"), bugreport.getTime()); in testParse() 168 assertNotNull(bugreport.getMemInfo()); in testParse() 169 assertEquals(5, bugreport.getMemInfo().size()); in testParse() 171 assertNotNull(bugreport.getTop()); in testParse() 172 assertEquals(994, bugreport.getTop().getTotal()); in testParse() 174 assertNotNull(bugreport.getProcrank()); in testParse() 175 assertEquals(3, bugreport.getProcrank().getPids().size()); in testParse() 177 assertNotNull(bugreport.getKernelLog()); in testParse() [all …]
|
D | BugreportParserFuncTest.java | 40 BugreportItem bugreport = null; in testParse() local 43 bugreport = new BugreportParser().parse(bugreportReader); in testParse() 56 assertNotNull(bugreport); in testParse() 57 assertNotNull(bugreport.getTime()); in testParse() 59 assertNotNull(bugreport.getSystemProps()); in testParse() 60 assertTrue(bugreport.getSystemProps().size() > 0); in testParse() 62 assertNotNull(bugreport.getMemInfo()); in testParse() 63 assertTrue(bugreport.getMemInfo().size() > 0); in testParse() 65 assertNotNull(bugreport.getProcrank()); in testParse() 66 assertTrue(bugreport.getProcrank().getPids().size() > 0); in testParse() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/ |
D | LogAnalyzer.java | 117 BugreportItem bugreport = new BugreportParser().parse(reader); in run() local 118 printBugreport(bugreport); in run() 178 private void printBugreport(BugreportItem bugreport) { in printBugreport() argument 181 printJson(bugreport); in printBugreport() 185 printJson(bugreport); in printBugreport() 188 printBugreportAnalysis(getBugreportAnalysis(bugreport)); in printBugreport() 200 result.put(RAW_DATA, bugreport.toJson()); in printBugreport() 203 result.put(ANALYSIS_DATA, getBugreportAnalysis(bugreport)); in printBugreport() 218 private JSONArray getBugreportAnalysis(BugreportItem bugreport) { in getBugreportAnalysis() argument 219 RuleEngine ruleEngine = new RuleEngine(bugreport); in getBugreportAnalysis()
|
/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/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/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/tests/src/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 718 File bugreport = null; in testGetSshBugreport() local 720 bugreport = GceManager.getBugreportzWithSsh(fakeInfo, mOptions, mMockRunUtil); in testGetSshBugreport() 721 assertNotNull(bugreport); in testGetSshBugreport() 724 FileUtil.deleteFile(bugreport); in testGetSshBugreport() 794 File bugreport = null; in testGetNestedSshBugreport() local 796 bugreport = GceManager.getNestedDeviceSshBugreportz(fakeInfo, mOptions, mMockRunUtil); in testGetNestedSshBugreport() 797 assertNotNull(bugreport); in testGetNestedSshBugreport() 800 FileUtil.deleteFile(bugreport); in testGetNestedSshBugreport() 833 File bugreport = null; in testGetSshBugreport_Fail() local 835 bugreport = GceManager.getBugreportzWithSsh(fakeInfo, mOptions, mMockRunUtil); in testGetSshBugreport_Fail() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | ManagedRemoteDevice.java | 190 InputStreamSource bugreport = new FileInputStreamSource(bugreportFile); in getSshBugreport() local 191 mTestLogger.testLog("bugreportz-ssh", LogDataType.BUGREPORTZ, bugreport); in getSshBugreport() 192 StreamUtil.cancel(bugreport); in getSshBugreport()
|
D | RemoteAndroidVirtualDevice.java | 238 InputStreamSource bugreport = new FileInputStreamSource(bugreportFile); in getSshBugreport() local 239 mTestLogger.testLog("bugreportz-ssh", LogDataType.BUGREPORTZ, bugreport); in getSshBugreport() 240 StreamUtil.cancel(bugreport); in getSshBugreport()
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | MonkeyBase.java | 506 Bugreport bugreport = mTestDevice.takeBugreport(); in takeBugreport() local 507 if (bugreport == null) { in takeBugreport() 511 bugreport.log(bugreportName, listener); in takeBugreport() 515 main = bugreport.getMainFile(); in takeBugreport() 530 StreamUtil.close(bugreport); in takeBugreport()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 2362 InputStreamSource bugreport = getBugreportInternal(); in getBugreport() local 2363 if (bugreport == null) { in getBugreport() 2367 return bugreport; in getBugreport() 2386 File bugreport = ZipUtil2.extractFileFromZip(zip, bugreportName); in getBugreport() local 2387 return new FileInputStreamSource(bugreport, true); in getBugreport() 2444 InputStreamSource bugreport = null; in logBugreport() local 2447 bugreport = getBugreportz(); in logBugreport() 2450 if (bugreport == null) { in logBugreport() 2452 bugreport = getBugreportInternal(); in logBugreport() 2456 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 | 96 InputStreamSource bugreport = mTestDevice.getBugreport(); in testBugreport() local 98 String data = StreamUtil.getStringFromStream(bugreport.createInputStream()); in testBugreport() 105 StreamUtil.cancel(bugreport); in testBugreport()
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_android_device_test.py | 116 def bugreport(self, params, timeout=android_device.BUG_REPORT_TIMEOUT): member in MockAdbProxy
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | android_device.py | 960 self.adb.bugreport(
|
/tools/tradefederation/core/tests/res/testdata/ |
D | tradefed-prebuilt-cts-8.0_r21.jar | META-INF/
META-INF/MANIFEST.MF
jline/
jline/CompletionHandler.class
CompletionHandler ... |