/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | PerfettoTracingStrategy.java | 192 getTag(), in testRunStart() 197 Log.e(getTag(), "Failed to stop the perfetto.", e); in testRunStart() 200 Log.i(getTag(), "No perfetto process running before the test run starts."); in testRunStart() 219 Log.i(getTag(), "Adding perfetto process for cleanup - ." + pid); in cleanupPerfettoSessionsFromPreviousRuns() 221 Log.e(getTag(), "Unable to access the perfetto process id file.", fnf); in cleanupPerfettoSessionsFromPreviousRuns() 223 Log.e(getTag(), "Failed to retrieve the perfetto process id.", ioe); in cleanupPerfettoSessionsFromPreviousRuns() 227 getTag(), in cleanupPerfettoSessionsFromPreviousRuns() 238 getTag(), in cleanupPerfettoSessionsFromPreviousRuns() 243 Log.e(getTag(), "Failed to stop the perfetto.", e); in cleanupPerfettoSessionsFromPreviousRuns() 271 Log.e(getTag(), "Perfetto did not start successfully."); in startPerfettoTracing() [all …]
|
D | ScheduledRunMetricListener.java | 50 Log.d(getTag(), "Starting"); in onTestRunStart() 63 Log.e(getTag(), "Interrupted exception thrown from task:", e); in onTestRunStart() 78 Log.d(getTag(), "Finished"); in onTestRunEnd() 120 Log.e(getTag(), "Failed to parse the interval value.", e); in getIntervalFromArgs() 124 Log.d(getTag(), in getIntervalFromArgs()
|
D | SimpleperfListener.java | 170 Log.i(getTag(), "onTestRunStart arguments mTestIterations=" + mTestIterations); in onTestRunStart() 177 Log.i(getTag(), "Starting simpleperf before test run started."); in onTestRunStart() 190 Log.i(getTag(), "Starting simpleperf before test started."); in onTestStart() 207 getTag(), in onTestEnd() 214 Log.i(getTag(), "Skipping metric collection due to test failure"); in onTestEnd() 218 Log.e(getTag(), "Failed to stop the simpleperf process."); in onTestEnd() 221 Log.e(getTag(), "Failed to stop simpleperf", e); in onTestEnd() 224 Log.i(getTag(), "Stopping simpleperf after test ended."); in onTestEnd() 251 Log.i(getTag(), "Skipping simpleperf stop attempt as simpleperf failed to start."); in onTestRunEnd() 255 Log.i(getTag(), "Stopping simpleperf after test run ended"); in onTestRunEnd() [all …]
|
D | ScreenshotOnFailureCollector.java | 85 Log.e(getTag(), String.format("Invalid screenshot quality: %d.", quality)); in onTestRunStart() 88 Log.e(getTag(), "Failed to parse screenshot quality", e); in onTestRunStart() 125 testData.addFileMetric(String.format("%s_%s", getTag(), img.getName()), img); in onTestFail() 132 String.format("%s_%s", getTag(), uixFile.getName()), uixFile); in onTestFail() 142 Log.w(getTag(), String.format("File exists: %s", img.getAbsolutePath())); in takeScreenshot() 152 Log.e(getTag(), "Unable to save screenshot", e); in takeScreenshot() 172 Log.w(getTag(), String.format("File exists: %s.", uixFile.getAbsolutePath())); in collectUiXml() 179 Log.e(getTag(), "Failed to collect UI XML on failure."); in collectUiXml()
|
D | BatteryStatsListener.java | 87 Log.w(getTag(), "dumpsys batterystats requires API version >= 21"); in onTestRunStart() 135 … testData.addFileMetric(String.format("%s_%s", getTag(), logFile.getName()), logFile); in onTestEnd() 138 String key = String.format("%s_%s.%s.bytes", getTag(), description.getClassName(), in onTestEnd() 158 … runData.addFileMetric(String.format("%s_%s", getTag(), logFile.getName()), logFile); in onTestRunEnd() 161 String key = String.format("%s_%s.bytes", getTag(), mTestClassName); in onTestRunEnd() 195 Log.e(getTag(), "Unable to dump batterystats", e); in dumpBatteryStats() 220 Log.e(getTag(), "Unable to reset batterystats"); in resetBatteryStats() 223 Log.e(getTag(), "Unable to reset batterystats", ex); in resetBatteryStats()
|
D | PerfettoTracingPerClassStrategy.java | 83 Log.d(getTag(), "Stopping perfetto on test end"); in testStart() 94 getTag(), in testRunEnd() 100 Log.d(getTag(), "Stopping perfetto on test run end"); in testRunEnd() 140 Log.i(getTag(), "Starting perfetto before test started."); in doStartOnClassChange() 148 getTag(), in doStartOnClassChange()
|
D | ScreenRecordCollector.java | 122 Log.v(getTag(), String.format("Using video dimensions: %s", mVideoDimensions)); in setupAdditionalArgs() 124 Log.e(getTag(), "Failed to query the device dimensions. Using default.", e); in setupAdditionalArgs() 156 Log.e(getTag(), "Interrupted when joining the recording thread.", ex); in onTestEnd() 161 Log.d(getTag(), String.format("Adding video part: #%s", recording.getName())); in onTestEnd() 163 String.format("%s_%s", getTag(), recording.getName()), recording); in onTestEnd() 235 getTag(), in run() 270 getTag(), in cancel() 282 private String getTag() { in getTag() method in ScreenRecordCollector.RecordingThread
|
D | PerfettoTracingPerRunStrategy.java | 76 Log.i(getTag(), "Starting perfetto before test run started."); in testRunStart() 86 getTag(), in testRunEnd() 94 Log.i(getTag(), "Stopping perfetto after test run ended."); in testRunEnd()
|
D | BaseMetricListener.java | 134 Log.e(getTag(), "Exception during onTestRunStart.", e); in testRunStarted() 149 Log.e(getTag(), "Exception during onTestRunEnd.", e); in testRunFinished() 171 Log.e(getTag(), "Exception during onTestStart.", e); in testStarted() 186 Log.e(getTag(), "Exception during onTestFail.", e); in testFailure() 200 Log.e(getTag(), "Exception during onTestEnd.", e); in testFinished() 346 Log.e(getTag(), "Error executing: " + command, e); in executeCommandBlocking() 365 Log.e(getTag(), "Unable to create dir: " + destDir.getAbsolutePath()); in createDirectory() 408 String getTag() { in getTag() method in BaseMetricListener 441 Log.i(getTag(), "Metric collection iteration interval cannot be less than 1." in parseArguments() 529 Log.i(getTag(), String.format("Skipping metric collection. Current iteration is %d." in shouldRun()
|
D | LogcatCollector.java | 140 testData.addFileMetric(String.format("%s_%s", getTag(), logcat.getName()), in onTestEnd() 144 Log.e(getTag(), "Error trying to retrieve logcat.", e); in onTestEnd() 158 runData.addStringMetric(getTag(), mDestDir.getAbsolutePath().toString()); in onTestRunEnd() 180 Log.i(getTag(), "Current Date:" + DATE_FORMATTER.format(date)); in getLogcatStartTime() 183 Log.i(getTag(), "Date including the before duration:" + DATE_FORMATTER.format(date)); in getLogcatStartTime()
|
D | PerfettoTracingPerTestStrategy.java | 93 Log.i(getTag(), "Starting perfetto before test started."); in testStart() 104 getTag(), in testEnd() 117 Log.i(getTag(), "Stopping perfetto after test ended."); in testEnd()
|
D | MobilityChangeCollector.java | 59 String.format("%s_%s", getTag(), mobilityLog.getName()), mobilityLog); in onTestRunEnd() 67 Log.e(getTag(), "Error trying to retrieve mobility logcat.", e); in onTestRunEnd()
|
D | BaseCollectionListener.java | 108 Log.i(getTag(), "Skipping the metric collection."); in onTestEnd()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/ |
D | TestCaseLogger.java | 36 Log.d(getTag(), message); in testStarted() 45 Log.d(getTag(), message); in testFinished() 51 String getTag() { in getTag() method in TestCaseLogger
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | SystemHealthRule.java | 96 errorDetails.append(entry.getTag());
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | ScreenRecordCollectorTest.java | 336 if (key.startsWith(mListener.getTag())) { in testNullMethodNameDoesNotAppearInVideoName()
|