Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/
DPwrStatsUtilHelper.java52 } catch (IOException e) { in startCollecting()
53 Log.e(LOG_TAG, e.toString()); in startCollecting()
64 } catch (IOException e) { in startCollecting()
65 Log.e(LOG_TAG, e.toString()); in startCollecting()
80 } catch (IOException e) { in stopCollecting()
81 Log.e(LOG_TAG, e.toString()); in stopCollecting()
86 } catch (InterruptedException e) { in stopCollecting()
87 Log.e(LOG_TAG, e.toString()); in stopCollecting()
130 } catch (IOException e) { in processMetricsFromLogFile()
131 Log.e(LOG_TAG, e.toString()); in processMetricsFromLogFile()
[all …]
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DThermalThrottlingHelper.java51 } catch (IOException e) { in startThrottling()
52 Log.e(TAG, "Failed to start emulating throttling: " + e.getMessage()); in startThrottling()
63 Log.e(TAG, "Failed to start emulating thermal throttling."); in startThrottling()
78 } catch (IOException e) { in stopThrottling()
79 Log.e(TAG, "Failed to stop emulating throttling: " + e); in stopThrottling()
90 Log.e(TAG, "Throttling still ongoing; failed to stop emulating thermal throttling."); in stopThrottling()
106 } catch (IOException e) { in isThrottlingEnabled()
107 Log.e(TAG, "Unable to check throttling status: " + e.getMessage()); in isThrottlingEnabled()
DTimeInStateHelper.java58 Log.e(LOG_TAG, "Failed to parse " + freqKeys[i]); in setUp()
69 } catch (IOException e) { in setUp()
70 Log.e(LOG_TAG, "Error when checking source file " + source); in setUp()
73 Log.e(LOG_TAG, "Source " + source + " does not exist"); in setUp()
86 } catch (Exception e) { in startCollecting()
87 Log.e(LOG_TAG, "Failed to collect frequency stats at the start time.", e); in startCollecting()
88 throw new RuntimeException(e); in startCollecting()
113 } catch (Exception e) { in getMetrics()
114 Log.e(LOG_TAG, "Failed to collect frequency stats at the end time.", e); in getMetrics()
115 throw new RuntimeException(e); in getMetrics()
[all …]
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DMemhogHelper.java65 } catch (IOException e) { in startMemhog()
66 Log.e(TAG, "Failed to start memhog: " + e.getMessage()); in startMemhog()
79 Log.e(TAG, "Memhog process not found; failed to start memhog."); in startMemhog()
89 Log.e(TAG, "stopMemhog() was called, but memhog is not running."); in stopMemhog()
94 } catch (IOException e) { in stopMemhog()
95 Log.e(TAG, "Failed to stop memhog: " + e); in stopMemhog()
107 Log.e(TAG, "Memhog process still present; failed to stop memhog."); in stopMemhog()
122 } catch (IOException e) { in isMemhogRunning()
123 Log.e(TAG, "Unable to check memhog status: " + e.getMessage()); in isMemhogRunning()
DShowmapSnapshotHelper.java110 Log.e(TAG, String.format("Invalid test setup")); in startCollecting()
123 Log.e(TAG, String.format("Failed to delete result output file %s", filePath)); in startCollecting()
128 Log.e(TAG, String.format("Failed to create result output directory %s", in startCollecting()
138 Log.e(TAG, in startCollecting()
142 } catch (IOException e) { in startCollecting()
143 Log.e(TAG, String.format("Failed to create result output file %s", filePath), e); in startCollecting()
177 } catch (IOException e) { in getMetrics()
178 Log.e(TAG, String.format("Failed to execute %s", ACTIVITY_LRU_CMD)); in getMetrics()
228 } catch (RuntimeException e) { in getMetrics()
229 Log.e(TAG, e.getMessage(), e.getCause()); in getMetrics()
[all …]
DPinnerHelper.java58 Log.e(TAG, String.format("Invalid test setup")); in startCollecting()
71 Log.e( in startCollecting()
79 Log.e( in startCollecting()
91 Log.e( in startCollecting()
96 } catch (IOException e) { in startCollecting()
97 Log.e(TAG, String.format("Failed to create result output file %s", filePath), e); in startCollecting()
120 } catch (IOException e) { in getMetrics()
121 throw new RuntimeException("Unable to execute dumpsys pinner command", e); in getMetrics()
132 } catch (IOException e) { in getMetrics()
133 Log.e(TAG, String.format("Failed to write output file %s", mTestOutputFile), e); in getMetrics()
[all …]
DProcessShowmapHelper.java93 Log.e(TAG, "Unable to collect any showmap metrics at end. Returning empty metrics"); in getMetrics()
140 Log.e(TAG, "Process names or UI device is null. Make sure you've called setup."); in sampleMemoryOfProcesses()
163 } catch (IOException | ParseException e) { in sampleMemory()
164 Log.e(TAG, String.format("Unable to get pid of %s ", processName), e); in sampleMemory()
172 } catch (IOException e) { in sampleMemory()
173 Log.e(TAG, String.format("Failed to get showmap output for %s ", processName) , e); in sampleMemory()
194 } catch (IndexOutOfBoundsException | InputMismatchException e) { in sampleMemory()
195 Log.e(TAG, String.format("Unexpected showmap format for %s ", processName), e); in sampleMemory()
DHeapDumpHelper.java132 } catch (Throwable e) { in getMetrics()
133 Log.e(TAG, "dumpheap command failed", e); in getMetrics()
136 Log.e(TAG, "Metric collector is enabled but the heap dump file id is not valid."); in getMetrics()
152 } catch (IOException e) { in getPid()
153 Log.e(TAG, String.format("Failed to get the pid of %s", processName), e); in getPid()
168 } catch (IOException e) { in execHeapDump()
170 String.format("Unable to execute heapdump command for %s ", processName), e); in execHeapDump()
198 } catch (IOException e) { in renameEmptyFile()
199 Log.i(TAG, String.format("Rename %s failed.", oldFile), e); in renameEmptyFile()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DTraceMonitorRule.kt53 } catch (e: Throwable) { in apply()
54 Log.e( in apply()
60 throw e in apply()
78 } catch (e: Throwable) { in doStartMonitors()
79 Log.e(FLICKER_TAG, "Unable to start $it", e) in doStartMonitors()
80 throw e in doStartMonitors()
94 } catch (e: Throwable) { in doStopMonitors()
95 Log.e(FLICKER_TAG, "Unable to stop $it", e) in doStopMonitors()
96 throw e in doStopMonitors()
/platform_testing/libraries/collectors-helper/simpleperf/src/com/android/helpers/
DSimpleperfHelper.java95 } catch (IOException e) { in startCollecting()
96 Log.e(LOG_TAG, "Failed to start simpleperf."); in startCollecting()
108 Log.e(LOG_TAG, "Simpleperf sampling failed to start."); in startCollecting()
111 } catch (IOException e) { in startCollecting()
112 Log.e(LOG_TAG, "Unable to start simpleperf sampling due to :" + e.getMessage()); in startCollecting()
134 Log.e(LOG_TAG, "Simpleperf failed to stop"); in stopCollecting()
137 } catch (IOException e) { in stopCollecting()
138 Log.e(LOG_TAG, "Unable to stop the simpleperf samping due to " + e.getMessage()); in stopCollecting()
151 Log.e(LOG_TAG, "Simpleperf stop called, but simpleperf is not running."); in stopSimpleperf()
164 Log.e(LOG_TAG, "Simpleperf failed to stop"); in stopSimpleperf()
[all …]
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DTestMetricRule.java113 } catch (Exception e) { in TestMetricRule()
119 e); in TestMetricRule()
131 } catch (Exception e) { in TestMetricRule()
137 e); in TestMetricRule()
157 } catch (Exception e) { in starting()
158 Log.e( in starting()
163 e); in starting()
173 } catch (Exception e) { in finished()
174 Log.e( in finished()
179 e); in finished()
[all …]
DTestWatcher.java58 } catch (AssumptionViolatedException e) { in apply()
60 skipped(e, description); in apply()
62 throw e; in apply()
63 } catch (Throwable e) { in apply()
65 failed(e, description); in apply()
67 throw e; in apply()
84 protected void skipped(AssumptionViolatedException e, Description description) {}
87 protected void failed(Throwable e, Description description) {}
113 } catch (IOException e) {
114 throw new RuntimeException(e);
DSuspendUnsuspendAppRule.java85 } catch (Exception e) { in starting()
86 Log.e(TAG, "Could not suspend the package " + mPkgName); in starting()
87 throw new RuntimeException(e); in starting()
98 } catch (Exception e) { in starting()
99 Log.e(TAG, "Could not unsuspend the package " + mPkgName); in starting()
100 throw new RuntimeException(e); in starting()
DDynamicRuleChain.java94 } catch (Exception e) { in apply()
99 e); in apply()
111 } catch (Exception e) { in apply()
116 e); in apply()
129 } catch (ClassNotFoundException e) { in loadRuleByFullyQualifiedName()
144 } catch (NoSuchMethodException e) { in loadRuleByFullyQualifiedName()
149 e); in loadRuleByFullyQualifiedName()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DLogGenerator.java86 } catch (IOException e) { in save()
87 Log.w(TAG, String.format("Failed to take bugreport: %s", e.getMessage())); in save()
98 } catch (IOException e) { in save()
99 Log.w(TAG, String.format("Failed to take bugreport: %s", e.getMessage())); in save()
110 } catch (IOException e) { in save()
111 Log.w(TAG, String.format("Failed to save frangmentation: %s", e.getMessage())); in save()
122 } catch (IOException e) { in save()
123 Log.w(TAG, String.format("Failed to save graphicsstats: %s", e.getMessage())); in save()
135 } catch (IOException e) { in save()
136 Log.w(TAG, String.format("Failed to save ION heap: %s", e.getMessage())); in save()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DFlickerServiceRule.kt96 public override fun failed(e: Throwable?, description: Description) { in failed()
98 handleFailed(e, description) in failed()
103 public override fun skipped(e: AssumptionViolatedException, description: Description) { in skipped()
105 handleSkipped(e, description) in skipped()
127 private fun handleFailed(e: Throwable?, description: Description) { in handleFailed()
128 Log.e(LOG_TAG, "$description test failed with", e) in handleFailed()
129 metricsCollector.testFailure(Failure(description, e)) in handleFailed()
133 private fun handleSkipped(e: AssumptionViolatedException, description: Description) { in handleSkipped()
134 Log.i(LOG_TAG, "Test skipped $description with", e) in handleSkipped()
162 Log.e(LOG_TAG, "FaaS reported execution errors", executionError) in handleFinished()
[all …]
DArtifactSaverRule.kt28 override fun failed(e: Throwable, description: Description?) { in failed()
45 } catch (e: Exception) { in failed()
46 Log.e(FLICKER_TAG, "Failed to write last Winscope dumps on error", e) in failed()
49 ArtifactSaver.onError(description, e) in failed()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java67 } catch (NumberFormatException e) { in parseStatsValue()
68 Log.e(LOG_TAG, "Encountered exception parsing value: " + v, e); in parseStatsValue()
77 } catch (Exception e) { in startCollecting()
78 Log.e(LOG_TAG, "Encountered exception enabling dumpsys SurfaceFlinger.", e); in startCollecting()
79 throw new RuntimeException(e); in startCollecting()
90 } catch (Exception e) { in getMetrics()
91 Log.e(LOG_TAG, "Encountered exception calling dumpsys SurfaceFlinger.", e); in getMetrics()
92 throw new RuntimeException(e); in getMetrics()
155 } catch (Exception e) { in stopCollecting()
156 Log.e(LOG_TAG, "Encountered exception disabling dumpsys SurfaceFlinger.", e); in stopCollecting()
[all …]
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DHealthRunnerBuilder.java55 } catch (ClassNotFoundException e) { in HealthRunnerBuilder()
76 } catch (NoSuchMethodException e) { in runnerForClass()
81 e); in runnerForClass()
82 } catch (SecurityException e) { in runnerForClass()
83 throw new RuntimeException(e); in runnerForClass()
/platform_testing/libraries/health/composers/host/src/android/host/test/composer/
DIterate.java28 } catch (NumberFormatException e) { in getIterationsArgument()
30 String.format("Failed to parse iterations option: %s", iterations), e); in getIterationsArgument()
44 } catch (IllegalArgumentException e) { in getOrdersArgument()
48 e); in getOrdersArgument()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScheduledRunMetricListener.java60 } catch (InterruptedException e) { in onTestRunStart()
63 Log.e(getTag(), "Interrupted exception thrown from task:", e); in onTestRunStart()
119 } catch (NumberFormatException e) { in getIntervalFromArgs()
120 Log.e(getTag(), "Failed to parse the interval value.", e); in getIntervalFromArgs()
DBaseMetricListener.java132 } catch (RuntimeException e) { in testRunStarted()
134 Log.e(getTag(), "Exception during onTestRunStart.", e); in testRunStarted()
147 } catch (RuntimeException e) { in testRunFinished()
149 Log.e(getTag(), "Exception during onTestRunEnd.", e); in testRunFinished()
169 } catch (RuntimeException e) { in testStarted()
171 Log.e(getTag(), "Exception during onTestStart.", e); in testStarted()
184 } catch (RuntimeException e) { in testFailure()
186 Log.e(getTag(), "Exception during onTestFail.", e); in testFailure()
198 } catch (RuntimeException e) { in testFinished()
200 Log.e(getTag(), "Exception during onTestEnd.", e); in testFinished()
[all …]
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSimpleGLSurfaceView.java51 public boolean onTouchEvent(MotionEvent e) { in onTouchEvent() argument
56 float x = e.getX(); in onTouchEvent()
57 float y = e.getY(); in onTouchEvent()
59 switch (e.getAction()) { in onTouchEvent()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DHelperTestUtility.java64 } catch (IOException e) { in executeShellCommand()
65 throw new RuntimeException(e); in executeShellCommand()
130 } catch (RemoteException e) { in setOrientationNatural()
131 throw new RuntimeException(e); in setOrientationNatural()
141 } catch (RemoteException e) { in unfreezeRotation()
142 throw new RuntimeException(e); in unfreezeRotation()
/platform_testing/libraries/metrics-helper/tests/src/android/support/test/metricshelper/
DMetricsAssertsTest.java93 } catch (AssertionError e) { in testHasActionLogFalse()
94 assertEquals(message, e.getMessage()); in testHasActionLogFalse()
109 } catch (AssertionError e) { in testHasVisibleLogFalse()
110 assertEquals(message, e.getMessage()); in testHasVisibleLogFalse()
125 } catch (AssertionError e) { in testHasHiddenLogFalse()
126 assertEquals(message, e.getMessage()); in testHasHiddenLogFalse()
160 } catch (AssertionError e) { in testDoesNotHaveTemplateLog()
161 assertEquals(message, e.getMessage()); in testDoesNotHaveTemplateLog()

12345678910>>...13