Home
last modified time | relevance | path

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

123456789

/platform_testing/libraries/collectors-helper/simpleperf/src/com/android/helpers/
DSimpleperfHelper.java82 } catch (IOException e) { in startCollecting()
83 Log.e(LOG_TAG, "Failed to start simpleperf."); in startCollecting()
95 Log.e(LOG_TAG, "Simpleperf sampling failed to start."); in startCollecting()
98 } catch (IOException e) { in startCollecting()
99 Log.e(LOG_TAG, "Unable to start simpleperf sampling due to :" + e.getMessage()); in startCollecting()
121 Log.e(LOG_TAG, "Simpleperf failed to stop"); in stopCollecting()
124 } catch (IOException e) { in stopCollecting()
125 Log.e(LOG_TAG, "Unable to stop the simpleperf samping due to " + e.getMessage()); in stopCollecting()
138 Log.e(LOG_TAG, "Simpleperf stop called, but simpleperf is not running."); in stopSimpleperf()
151 Log.e(LOG_TAG, "Simpleperf failed to stop"); in stopSimpleperf()
[all …]
/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/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.java84 Log.e(TAG, String.format("Invalid test setup")); in startCollecting()
96 Log.e(TAG, String.format("Failed to delete result output file %s", filePath)); in startCollecting()
101 Log.e(TAG, String.format("Failed to create result output directory %s", in startCollecting()
111 Log.e(TAG, in startCollecting()
115 } catch (IOException e) { in startCollecting()
116 Log.e(TAG, String.format("Failed to create result output file %s", filePath), e); in startCollecting()
160 } catch (RuntimeException e) { in getMetrics()
161 Log.e(TAG, e.getMessage(), e.getCause()); in getMetrics()
179 } catch (RuntimeException e) { in getMetrics()
180 Log.e(TAG, e.getMessage(), e.getCause()); in getMetrics()
[all …]
DPinnerHelper.java60 Log.e(TAG, String.format("Invalid test setup")); in startCollecting()
72 Log.e(TAG, String.format("Result file %s already exists and cannot be deleted", in startCollecting()
78 Log.e(TAG, String.format("Failed to create result output directory %s", in startCollecting()
88 Log.e(TAG, in startCollecting()
92 } catch (IOException e) { in startCollecting()
93 Log.e(TAG, String.format("Failed to create result output file %s", filePath), e); in startCollecting()
109 } catch (IOException e) { in getMetrics()
110 throw new RuntimeException("Unable to execute dumpsys pinner command", e); in getMetrics()
121 } catch (IOException e) { in getMetrics()
122 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()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DTestWatcher.java50 } catch (AssumptionViolatedException e) { in apply()
51 skipped(e, description); in apply()
52 throw e; in apply()
53 } catch (Throwable e) { in apply()
54 failed(e, description); in apply()
55 throw e; in apply()
70 protected void skipped(AssumptionViolatedException e, Description description) {}
73 protected void failed(Throwable e, Description description) {}
99 } catch (IOException e) {
100 throw new RuntimeException(e);
DTestMetricRule.java83 } catch (Exception e) { in TestMetricRule()
89 e); in TestMetricRule()
101 } catch (Exception e) { in TestMetricRule()
107 e); in TestMetricRule()
124 } catch (Exception e) { in starting()
125 Log.e( in starting()
130 e); in starting()
140 } catch (Exception e) { in finished()
141 Log.e( in finished()
146 e); in finished()
[all …]
DNaturalOrientationRule.java30 } catch (RemoteException e) { in starting()
31 throw new RuntimeException(e); in starting()
39 } catch (RemoteException e) { in finished()
40 throw new RuntimeException(e); in finished()
DLandscapeOrientationRule.java53 } catch (RemoteException e) { in starting()
55 throw new RuntimeException(message, e); in starting()
66 } catch (RemoteException e) { in finished()
68 throw new RuntimeException(message, e); in finished()
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/collectors-helper/system/src/com/android/helpers/
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/perfetto/src/com/android/helpers/
DPerfettoHelper.java75 Log.e(LOG_TAG, "Perfetto config file name is null or empty."); in startCollecting()
80 Log.e(LOG_TAG, "Perfetto trace config root directory name is null or empty."); in startCollecting()
112 Log.e(LOG_TAG, "Perfetto tracing failed to start."); in startCollecting()
116 Log.e(LOG_TAG, "Unable to start the perfetto tracing due to :" + ioe.getMessage()); in startCollecting()
145 Log.e(LOG_TAG, "Perfetto failed to stop."); in stopCollecting()
149 Log.e(LOG_TAG, "Unable to stop the perfetto tracing due to " + ioe.getMessage()); in stopCollecting()
174 Log.e(LOG_TAG, "Perfetto stopped successfully."); in stopPerfetto()
191 Log.e(LOG_TAG, "Not able to check the perfetto status due to:" + ioe.getMessage()); in isPerfettoRunning()
212 Log.e(LOG_TAG, String.format( in copyFileOutput()
224 Log.e(LOG_TAG, String.format( in copyFileOutput()
[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/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/device-collectors/src/main/java/android/device/collectors/
DBaseMetricListener.java126 } catch (RuntimeException e) { in testRunStarted()
128 Log.e(getTag(), "Exception during onTestRunStart.", e); in testRunStarted()
139 } catch (RuntimeException e) { in testRunFinished()
141 Log.e(getTag(), "Exception during onTestRunEnd.", e); in testRunFinished()
160 } catch (RuntimeException e) { in testStarted()
162 Log.e(getTag(), "Exception during onTestStart.", e); in testStarted()
174 } catch (RuntimeException e) { in testFailure()
176 Log.e(getTag(), "Exception during onTestFail.", e); in testFailure()
187 } catch (RuntimeException e) { in testFinished()
189 Log.e(getTag(), "Exception during onTestEnd.", e); in testFinished()
[all …]
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DUtils.kt37 } catch (e: Exception) { in readWmTraceFromFile()
38 throw RuntimeException(e) in readWmTraceFromFile()
45 } catch (e: Exception) { in readWmTraceFromDumpFile()
46 throw RuntimeException(e) in readWmTraceFromDumpFile()
57 } catch (e: Exception) { in readLayerTraceFromFile()
58 throw RuntimeException(e) in readLayerTraceFromFile()
66 } catch (e: Exception) { in readTagTraceFromFile()
67 throw RuntimeException(e) in readTagTraceFromFile()
/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/flicker/src/com/android/server/wm/flicker/monitor/
DWindowManagerTraceMonitor.kt38 } catch (e: RemoteException) { in start()
39 throw RuntimeException("Could not start trace", e) in start()
46 } catch (e: RemoteException) { in stop()
47 throw RuntimeException("Could not stop trace", e) in stop()
DLayersTraceMonitor.kt44 } catch (e: RemoteException) { in start()
45 throw RuntimeException("Could not start trace", e) in start()
52 } catch (e: RemoteException) { in stop()
53 throw RuntimeException("Could not stop trace", e) in stop()
/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()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DTestWatcherTest.java56 } catch (RuntimeException e) { in testCallsFail_starting()
72 } catch (RuntimeException e) { in testCallsFail_statement()
88 } catch (RuntimeException e) { in testCallsFail_succeeded()
104 } catch (AssumptionViolatedException e) { in testStatementIsSkipped()
120 } catch (RuntimeException e) { in testCallFails_skipped()
124 assertTrue(!(e instanceof AssumptionViolatedException)); in testCallFails_skipped()
137 } catch (RuntimeException e) { in testCallsFail_failed()
153 } catch (RuntimeException e) { in testCallsFail_finished()
203 protected void failed(Throwable e, Description description) { in failed() argument
211 protected void skipped(AssumptionViolatedException e, Description description) { in skipped() argument
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java53 } catch (FileNotFoundException e) { in getRunListener()
54 e.printStackTrace(); in getRunListener()
81 } catch (ClassNotFoundException e) { in main()
82 throw new RuntimeException(e); in main()
103 } catch (IOException e) { in main()
104 throw new RuntimeException(e); in main()

123456789