Home
last modified time | relevance | path

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

123456

/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/flicker/test/src/com/android/server/wm/flicker/
DLayersTraceSubjectTest.java51 } catch (Exception e) { in readLayerTraceFromFile()
52 throw new RuntimeException(e); in readLayerTraceFromFile()
62 } catch (AssertionError e) { in testCanDetectEmptyRegionFromLayerTrace()
64 .that(e.getMessage()) in testCanDetectEmptyRegionFromLayerTrace()
66 assertWithMessage("Contains timestamp").that(e.getMessage()).contains("0h38m28s8ms"); in testCanDetectEmptyRegionFromLayerTrace()
68 .that(e.getMessage()) in testCanDetectEmptyRegionFromLayerTrace()
71 .that(e.getMessage()) in testCanDetectEmptyRegionFromLayerTrace()
74 .that(e.getMessage()) in testCanDetectEmptyRegionFromLayerTrace()
90 } catch (AssertionError e) { in testCanDetectIncorrectVisibilityFromLayerTrace()
92 .that(e.getMessage()) in testCanDetectIncorrectVisibilityFromLayerTrace()
[all …]
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DShowmapSnapshotHelper.java76 Log.e(TAG, String.format("Invalid test setup")); in startCollecting()
88 Log.e(TAG, String.format("Failed to delete result output file %s", filePath)); in startCollecting()
93 Log.e(TAG, String.format("Failed to create result output directory %s", mTestOutputDir)); in startCollecting()
102 Log.e(TAG, String.format("Race with another user of result output file %s", filePath)); in startCollecting()
105 } catch (IOException e) { in startCollecting()
106 Log.e(TAG, String.format("Failed to create result output file %s", filePath), e); in startCollecting()
146 } catch (RuntimeException e) { in getMetrics()
147 Log.e(TAG, e.getMessage(), e.getCause()); in getMetrics()
156 } catch (RuntimeException e) { in getMetrics()
157 Log.e(TAG, e.getMessage(), e.getCause()); 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()
DGarbageCollectionHelper.java73 Log.e(TAG,"Process name or UI device is null. Make sure you've called setup."); in garbageCollect()
85 } catch (IOException e) { in garbageCollect()
86 Log.e(TAG,"Unable to execute shell command to GC", e); in garbageCollect()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
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()
/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 …]
DFilesystemUtil.java92 } catch (RemoteException e) { in saveBugreportz()
93 throw new IOException("Could not capture bugreportz", e); in saveBugreportz()
116 } catch (FileNotFoundException e) { in dumpMeminfo()
117 Log.e(TAG, "exception while dumping meminfo", e); in dumpMeminfo()
118 } catch (IOException e) { in dumpMeminfo()
119 Log.e(TAG, "exception while dumping meminfo", e); in dumpMeminfo()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DWindowManagerTraceMonitor.java42 } catch (RemoteException e) { in start()
43 throw new RuntimeException("Could not start trace", e); in start()
51 } catch (RemoteException e) { in stop()
52 throw new RuntimeException("Could not stop trace", e); in stop()
DLayersTraceMonitor.java52 } catch (RemoteException e) { in isEnabled()
53 e.printStackTrace(); in isEnabled()
61 } catch (RemoteException e) { in setEnabled()
62 e.printStackTrace(); in setEnabled()
DScreenRecorder.java66 } catch (IOException e) { in start()
67 Log.e(TAG, "Error executing " + command, e); in start()
78 } catch (InterruptedException e) { in stop()
DTransitionMonitor.java93 } catch (NoSuchAlgorithmException e) { in calculateChecksum()
94 throw new IllegalArgumentException("Checksum algorithm SHA-256 not found", e); in calculateChecksum()
95 } catch (IOException e) { in calculateChecksum()
96 throw new IllegalArgumentException("File not found", e); in calculateChecksum()
/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/perfetto/src/com/android/helpers/
DPerfettoHelper.java73 Log.e(LOG_TAG, "Perfetto config file name is null or empty."); in startCollecting()
104 Log.e(LOG_TAG, "Perfetto tracing failed to start."); in startCollecting()
108 Log.e(LOG_TAG, "Unable to start the perfetto tracing due to :" + ioe.getMessage()); in startCollecting()
137 Log.e(LOG_TAG, "Perfetto failed to stop."); in stopCollecting()
141 Log.e(LOG_TAG, "Unable to stop the perfetto tracing due to " + ioe.getMessage()); in stopCollecting()
166 Log.e(LOG_TAG, "Perfetto stopped successfully."); in stopPerfetto()
183 Log.e(LOG_TAG, "Not able to check the perfetto status due to:" + ioe.getMessage()); in isPerfettoRunning()
204 Log.e(LOG_TAG, String.format( in copyFileOutput()
216 Log.e(LOG_TAG, String.format( in copyFileOutput()
222 Log.e(LOG_TAG, in copyFileOutput()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java65 } catch (NumberFormatException e) { in parseStatsValue()
66 Log.e(LOG_TAG, "Encountered exception parsing value: " + v, e); in parseStatsValue()
75 } catch (Exception e) { in startCollecting()
76 Log.e(LOG_TAG, "Encountered exception enabling dumpsys SurfaceFlinger.", e); in startCollecting()
77 throw new RuntimeException(e); in startCollecting()
88 } catch (Exception e) { in getMetrics()
89 Log.e(LOG_TAG, "Encountered exception calling dumpsys SurfaceFlinger.", e); in getMetrics()
90 throw new RuntimeException(e); in getMetrics()
138 } catch (Exception e) { in stopCollecting()
139 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()
159 } catch (RuntimeException e) { in testStarted()
161 Log.e(getTag(), "Exception during onTestStart.", e); in testStarted()
173 } catch (RuntimeException e) { in testFailure()
175 Log.e(getTag(), "Exception during onTestFail.", e); in testFailure()
186 } catch (RuntimeException e) { in testFinished()
188 Log.e(getTag(), "Exception during onTestEnd.", e); in testFinished()
[all …]
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()
/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/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()
/platform_testing/libraries/metrics-helper/tests/src/android/support/test/metricshelper/
DMetricsAssertsTest.java94 } catch (AssertionError e) { in testHasActionLogFalse()
95 assertEquals(message, e.getMessage()); in testHasActionLogFalse()
110 } catch (AssertionError e) { in testHasVisibleLogFalse()
111 assertEquals(message, e.getMessage()); in testHasVisibleLogFalse()
126 } catch (AssertionError e) { in testHasHiddenLogFalse()
127 assertEquals(message, e.getMessage()); in testHasHiddenLogFalse()
161 } catch (AssertionError e) { in testDoesNotHaveTemplateLog()
162 assertEquals(message, e.getMessage()); in testDoesNotHaveTemplateLog()
/platform_testing/utils/esimutility/src/com/android/test/util/esimutility/
DESimUtilityInstrumentation.java47 } catch (Exception e) { in onStart()
48 updateWithException(e); in onStart()
58 private void updateWithException(Exception e) { in updateWithException() argument
60 result.putString("sim_utility_exception", e.getMessage()); in updateWithException()
61 StackTraceElement[] elements = e.getStackTrace(); in updateWithException()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/listeners/
DFailureScreenshotTestWatcher.java43 protected void failed(Throwable e, Description description) { in failed() argument
47 Log.e(LOG_TAG, "Failed to capture a screenshot for unknown reasons."); in failed()
50 Log.e(LOG_TAG, "Failed to capture a screenshot.", ioe); in failed()
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DHandheldHelperTest.java27 } catch (RemoteException e) { in initialize()
28 throw new TestHelperException("Could not set orientation.", e); in initialize()
/platform_testing/libraries/health/runners/longevity/
DREADME.md35 `adb shell am instrument -w -r -e <option> <value> -e class <suite>
40 `adb shell am instrument -w -r -e iterations 50 -e quitter true
41 -e class android.platform.test.longevity.samples.SimpleSuite
46 `adb shell am instrument -w -r -e iterations 10 -e shuffle true -e suite-timeout_msec 1800000
47 -e class android.platform.test.longevity.samples.SimpleSuite
52 `adb shell am instrument -w -r -e iterations 100 -e min-battery 0.05
53 -e class android.platform.test.longevity.samples.SimpleSuite
58 `adb shell am instrument -w -r -e profile sample_profile
59 -e class android.platform.test.longevity.samples.SimpleProfile
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java183 } catch (StatsUnavailableException e) { in registerConfigsWithStatsManager()
184 Log.e( in registerConfigsWithStatsManager()
188 configName, e.toString())); in registerConfigsWithStatsManager()
229 } catch (StatsUnavailableException e) { in pullReportsAndRemoveConfigs()
230 Log.e( in pullReportsAndRemoveConfigs()
234 configName, e.toString())); in pullReportsAndRemoveConfigs()
235 } catch (InvalidProtocolBufferException e) { in pullReportsAndRemoveConfigs()
236 Log.e( in pullReportsAndRemoveConfigs()
240 configName, e.toString())); in pullReportsAndRemoveConfigs()
241 } catch (IOException e) { in pullReportsAndRemoveConfigs()
[all …]

123456