/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ResultForwarder.java | 95 } catch (RuntimeException e) { in invocationStarted() 96 CLog.e( in invocationStarted() 99 CLog.e(e); in invocationStarted() 112 } catch (RuntimeException e) { in invocationFailed() 113 CLog.e( in invocationFailed() 116 CLog.e(e); in invocationFailed() 146 } catch (RuntimeException e) { in testLog() 147 CLog.e("Exception while invoking %s#testLog", listener.getClass().getName()); in testLog() 148 CLog.e(e); in testLog() 161 } catch (RuntimeException e) { in testRunStarted() [all …]
|
D | RetentionFileSaver.java | 47 } catch (IOException e) { in writeRetentionFile() 48 CLog.e("Unable to create retention file in directory in %s", dir.getAbsolutePath()); in writeRetentionFile() 49 CLog.e(e); in writeRetentionFile() 63 } catch (IOException e) { in shouldDelete() 64 CLog.e("Unable to read retention file %s", retentionFile.getAbsolutePath()); in shouldDelete() 65 CLog.e(e); in shouldDelete() 66 } catch (ParseException e) { in shouldDelete() 67 … CLog.e("Unable to read timestamp in retention file %s", retentionFile.getAbsolutePath()); in shouldDelete() 68 CLog.e(e); in shouldDelete()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/metricregression/ |
D | MetricsTest.java | 55 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testAddRunMetrics() 63 Arrays.asList("1.0", "1.1", "1.2").forEach(e -> mMetrics.addTestMetric(id1, "metric1", e)); in testAddTestMetrics() 65 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> mMetrics.addTestMetric(id2, "metric1", e)); in testAddTestMetrics() 66 Arrays.asList("3.0", "3.1", "3.2").forEach(e -> mMetrics.addTestMetric(id2, "metric2", e)); in testAddTestMetrics() 84 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testValidate() 86 Arrays.asList("1.0", "1.1", "1.2").forEach(e -> mMetrics.addTestMetric(id1, "metric1", e)); in testValidate() 88 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> mMetrics.addTestMetric(id2, "metric1", e)); in testValidate() 89 Arrays.asList("3.0", "3.1").forEach(e -> mMetrics.addTestMetric(id2, "metric2", e)); in testValidate() 99 e -> { in testCrossValidate() 100 mMetrics.addRunMetric("metric1", e); in testCrossValidate() [all …]
|
D | DetectRegressionTest.java | 119 .forEach(e -> before.addRunMetric("metric-1", e)); in testRunRegressionDetection() 121 .forEach(e -> before.addRunMetric("metric-2", e)); in testRunRegressionDetection() 123 .forEach(e -> before.addRunMetric("metric-3", e)); in testRunRegressionDetection() 125 .forEach(e -> before.addTestMetric(id1, "metric-4", e)); in testRunRegressionDetection() 127 .forEach(e -> before.addTestMetric(id2, "metric-5", e)); in testRunRegressionDetection() 129 .forEach(e -> before.addTestMetric(id2, "metric-6", e)); in testRunRegressionDetection() 133 .forEach(e -> after.addRunMetric("metric-1", e)); in testRunRegressionDetection() 135 .forEach(e -> after.addRunMetric("metric-2", e)); in testRunRegressionDetection() 137 .forEach(e -> after.addRunMetric("metric-3", e)); in testRunRegressionDetection() 139 .forEach(e -> after.addTestMetric(id1, "metric-4", e)); in testRunRegressionDetection() [all …]
|
/tools/dexter/testdata/expected/ |
D | hello_nodebug.code_coverage | 1 1: mi=0 s=0 e=4 2 2: mi=0 s=6 e=7 3 3: mi=0 s=10 e=10 4 4: mi=1 s=0 e=2 5 5: mi=1 s=5 e=5 6 6: mi=2 s=0 e=2 7 7: mi=2 s=5 e=5 8 8: mi=3 s=0 e=2 9 9: mi=3 s=5 e=5 10 10: mi=3 s=7 e=7 [all …]
|
D | exit_hooks.code_coverage | 1 1: mi=0 s=0 e=2 2 2: mi=0 s=5 e=5 3 3: mi=1 s=0 e=1 4 4: mi=1 s=3 e=3 5 5: mi=1 s=5 e=5 6 6: mi=1 s=8 e=8 7 7: mi=1 s=11 e=11 8 8: mi=1 s=13 e=13 9 9: mi=1 s=15 e=15 10 10: mi=1 s=18 e=18 [all …]
|
D | hello.code_coverage | 1 1: mi=0 s=0 e=4 2 2: mi=0 s=6 e=7 3 3: mi=0 s=10 e=10 4 4: mi=1 s=0 e=2 5 5: mi=1 s=5 e=5 6 6: mi=2 s=0 e=2 7 7: mi=2 s=5 e=5 8 8: mi=3 s=0 e=2 9 9: mi=3 s=5 e=5 10 10: mi=3 s=7 e=7 [all …]
|
D | entry_hooks.code_coverage | 1 1: mi=0 s=0 e=2 2 2: mi=0 s=5 e=5 3 3: mi=1 s=0 e=3 4 4: mi=1 s=5 e=5 5 5: mi=1 s=7 e=8 6 6: mi=1 s=10 e=15 7 7: mi=1 s=18 e=19 8 8: mi=1 s=21 e=26 9 9: mi=1 s=28 e=28 10 10: mi=1 s=31 e=34 [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/xml/ |
D | AndroidManifestWriter.java | 99 } catch (TransformerConfigurationException e) { in saveXmlToFile() 100 CLog.e("Failed to write xml file %s", mOsManifestFilePath); in saveXmlToFile() 101 CLog.e(e); in saveXmlToFile() 103 } catch (TransformerException e) { in saveXmlToFile() 104 CLog.e("Failed to write xml file %s", mOsManifestFilePath); in saveXmlToFile() 105 CLog.e(e); in saveXmlToFile() 125 } catch (ParserConfigurationException e) { in parse() 126 CLog.e("Error parsing file %s", osManifestFilePath); in parse() 127 CLog.e(e); in parse() 129 } catch (SAXException e) { in parse() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | RemoteManager.java | 156 } catch (IOException e) { in openSocket() 161 e.getMessage()); in openSocket() 175 CLog.e("Started remote manager thread without connecting"); in run() 183 } catch (SocketException e) { in run() 184 CLog.e("Error when setting socket timeout"); in run() 185 CLog.e(e); in run() 203 } catch (InterruptedException e) { in getPort() 223 } catch (SocketTimeoutException e) { in processClientConnections() 225 } catch (IOException e) { in processClientConnections() 226 CLog.e("Failed to accept connection"); in processClientConnections() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 53 CLog.e( in testStarted() 56 CLog.e(any); in testStarted() 67 CLog.e( in testStarted() 70 CLog.e(any); in testStarted() 82 CLog.e( in testAssumptionFailure() 85 CLog.e(any); in testAssumptionFailure() 96 CLog.e( in testFailed() 99 CLog.e(any); in testFailed() 110 CLog.e( in testIgnored() 113 CLog.e(any); in testIgnored() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlFormattedGeneratorReporter.java | 36 } catch (IOException e) { in finalizeResults() 37 CLog.e("Failed to create the result directory:"); in finalizeResults() 38 CLog.e(e); in finalizeResults() 47 } catch (IOException e) { in finalizeResults() 48 CLog.e("Failed to generate the formatted report file:"); in finalizeResults() 49 CLog.e(e); in finalizeResults()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestLoader.java | 60 } catch (IOException e) { in loadTests() 61 Log.e(LOG_TAG, String.format("IOException when loading test classes from jar %s", in loadTests() 63 Log.e(LOG_TAG, e); in loadTests() 90 } catch (NoClassDefFoundError e) { in loadTests() 91 Log.e(LOG_TAG, e); in loadTests() 92 } catch (ClassNotFoundException e) { in loadTests() 93 Log.e(LOG_TAG, e); in loadTests() 94 } catch (RuntimeException e) { in loadTests() 96 Log.e(LOG_TAG, e); in loadTests()
|
D | Bugreport.java | 92 } catch (IOException e) { in getMainFile() 93 CLog.e("Error while unzipping bugreportz"); in getMainFile() 94 CLog.e(e); in getMainFile() 118 } catch (IOException e) { in getListOfFiles() 119 CLog.e("Error reading the list of files in the bugreport"); in getListOfFiles() 120 CLog.e(e); in getListOfFiles() 148 } catch (IOException e) { in extractFileBugreport() 149 CLog.e("Error while unzipping bugreportz"); in extractFileBugreport() 150 CLog.e(e); in extractFileBugreport()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ByteArrayListTest.java | 156 } catch (IndexOutOfBoundsException e) { in testRetrieve() 202 } catch (IllegalArgumentException e) { in testLimits_setSize() 204 assertTrue(e.getMessage().contains("New size")); in testLimits_setSize() 205 assertTrue(e.getMessage().contains("non-negative")); in testLimits_setSize() 213 } catch (IllegalArgumentException e) { in testLimits_ensureCapacity() 215 assertTrue(e.getMessage().contains("Minimum capacity")); in testLimits_ensureCapacity() 216 assertTrue(e.getMessage().contains("non-negative")); in testLimits_ensureCapacity() 224 } catch (IndexOutOfBoundsException e) { in testLimits_get() 232 } catch (IndexOutOfBoundsException e) { in testLimits_get() 241 } catch (IndexOutOfBoundsException e) { in testLimits_set() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactory.java | 92 } catch (SandboxConfigurationException e) { in createConfigurationFromArgs() 97 CLog.e(e); in createConfigurationFromArgs() 98 throw e; in createConfigurationFromArgs() 100 } catch (IOException e) { in createConfigurationFromArgs() 101 CLog.e(e); in createConfigurationFromArgs() 102 throw new ConfigurationException("Failed to dump global config.", e); in createConfigurationFromArgs() 103 } catch (ConfigurationException e) { in createConfigurationFromArgs() 104 CLog.e(e); in createConfigurationFromArgs() 105 throw e; in createConfigurationFromArgs()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DeviceTestResult.java | 45 RuntimeDeviceNotAvailableException(DeviceNotAvailableException e) { in RuntimeDeviceNotAvailableException() argument 46 super(e.getMessage()); in RuntimeDeviceNotAvailableException() 47 mException = e; in RuntimeDeviceNotAvailableException() 67 catch (AssertionFailedError e) { in runProtected() 68 addFailure(test, e); in runProtected() 70 catch (ThreadDeath e) { // don't catch ThreadDeath by accident in runProtected() 71 throw e; in runProtected() 73 catch (DeviceNotAvailableException e) { in runProtected() 74 addError(test, e); in runProtected() 75 throw new RuntimeDeviceNotAvailableException(e); in runProtected() [all …]
|
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiMonitorService.java | 107 } catch (final Exception e) { in monitor() 109 Log.e(TAG, "failed to monitor network latency", e); in monitor() 130 } catch (final WifiException e) { in reconnect() 131 Log.e(TAG, "failed to reconnect", e); in reconnect() 132 } catch (final Exception e) { in reconnect() 133 Log.e(TAG, "failed to check network connection", e); in reconnect() 152 } catch (final IOException e) { in checkLatency() 169 } catch (final Exception e) { in clearData() 170 Log.e(TAG, e.toString()); in clearData() 228 } catch (final IOException e) { in getData() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 205 } catch (BuildError e) { in performInvocation() 206 exception = e; in performInvocation() 207 CLog.w("Build failed on device '%s'. Reason: %s", e.getDeviceDescriptor(), in performInvocation() 208 e.toString()); in performInvocation() 210 badDevice = context.getDeviceBySerial(e.getDeviceDescriptor().getSerial()); in performInvocation() 211 if (e instanceof DeviceFailedToBootError) { in performInvocation() 218 reportFailure(e, listener, config, context, rescheduler, invocationPath); in performInvocation() 219 } catch (TargetSetupError e) { in performInvocation() 220 exception = e; in performInvocation() 221 CLog.e("Caught exception while running invocation"); in performInvocation() [all …]
|
D | ShardMasterResultForwarder.java | 125 } catch (Exception e) { in testLogSaved() 126 CLog.e("Exception while invoking %s#testLogSaved", listener.getClass().getName()); in testLogSaved() 127 CLog.e(e); in testLogSaved() 143 } catch (RuntimeException e) { in testLogForward() 144 CLog.e( in testLogForward() 147 CLog.e(e); in testLogForward() 162 } catch (RuntimeException e) { in logAssociation() 163 CLog.e("Failed to provide the log association"); in logAssociation() 164 CLog.e(e); in logAssociation() 194 CLog.e( in copyShardBuildInfoToMain()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileReadOnlyTest.java | 40 } catch (IOException e) { in cannotCreateRoFileOnNonExistingFile() 61 } catch (IllegalStateException e) { in cannotUpdateInRoMode() 73 } catch (IllegalStateException e) { in cannotAddFilesInRoMode() 86 } catch (IllegalStateException e) { in cannotAddRecursivelyInRoMode() 98 } catch (IllegalStateException e) { in cannotReplaceFilesInRoMode() 112 } catch (IllegalStateException e) { in cannotDeleteFilesInRoMode() 125 } catch (IllegalStateException e) { in cannotMergeInRoMode() 138 } catch (IllegalStateException e) { in cannotTouchInRoMode() 150 } catch (IllegalStateException e) { in cannotRealignInRoMode() 162 } catch (IllegalStateException e) { in cannotAddExtensionInRoMode() [all …]
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | Camera2StressTest.java | 133 } catch (DeviceNotAvailableException e) { in postScreenshotOnFailure() 134 CLog.e(e); in postScreenshotOnFailure() 135 } catch (IOException e) { in postScreenshotOnFailure() 136 CLog.e(e); in postScreenshotOnFailure() 180 } catch (IOException e) { in parseLog() 182 CLog.e(e); in parseLog() 183 } catch (DeviceNotAvailableException e) { in parseLog() 185 CLog.e(e); in parseLog() 186 } catch (NumberFormatException e) { in parseLog() 188 CLog.e(e); in parseLog()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TopHelper.java | 99 } catch (IOException e) { in logToFile() 100 CLog.e("Error creating fileWriter:"); in logToFile() 101 CLog.e(e); in logToFile() 120 } catch (IOException e) { in processNewLines() 121 CLog.e("Error writing to file:"); in processNewLines() 122 CLog.e(e); in processNewLines() 158 } catch (IOException e) { in cancel() 159 CLog.e("Error closing writer:"); in cancel() 160 CLog.e(e); in cancel() 240 } catch (DeviceNotAvailableException e) { in run() [all …]
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
D | PreloadedClassesTest.java | 96 CLog.e("Unable to find the preload tool."); in run() 118 CLog.e(msg + ". Continuing anyway..."); in run() 129 } catch (NumberFormatException e) { in run() 131 throw e; in run() 133 CLog.e("Failed to parse threshold: %s", thresholdStr); in run() 134 CLog.e(e); in run() 153 CLog.e(msg + ". Continuing anyway..."); in run() 174 } catch (IOException e) { in scanAndExportClasses() 175 CLog.e("Failed while creating temp file."); in scanAndExportClasses() 176 CLog.e(e); in scanAndExportClasses() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreClient.java | 54 } catch (IOException e) { in JSONFileKeyStoreClient() 56 mJsonFile.toString(), e)); in JSONFileKeyStoreClient() 57 } catch (JSONException e) { in JSONFileKeyStoreClient() 60 mJsonFile.toString(), e)); in JSONFileKeyStoreClient() 92 } catch (JSONException e) { in fetchKey() 93 CLog.e("failed to fetch key from json key store"); in fetchKey() 94 CLog.e(e); in fetchKey()
|