/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | PerfettoListener.java | 195 Log.i(getTag(), "Starting perfetto before test run started."); in onTestRunStart() 200 Log.d(getTag(), "Holding a wakelock at onTestRunSTart."); in onTestRunStart() 219 Log.i(getTag(), "Starting perfetto before test started."); in onTestStart() 224 Log.d(getTag(), "Holding a wakelock at onTestStart."); in onTestStart() 244 getTag(), in onTestEnd() 252 Log.i(getTag(), "Skipping the metric collection due to test failure."); in onTestEnd() 256 Log.e(getTag(), "Failed to stop the perfetto process."); in onTestEnd() 259 Log.e(getTag(), "Failed to stop the perfetto.", e); in onTestEnd() 264 Log.i(getTag(), "Stopping perfetto after test ended."); in onTestEnd() 281 Log.d(getTag(), "Holding a wakelock at onTestEnd."); in onTestEnd() [all …]
|
D | SimpleperfListener.java | 114 Log.i(getTag(), "Starting simpleperf before test run started."); in onTestRunStart() 127 Log.i(getTag(), "Starting simpleperf before test started."); in onTestStart() 144 getTag(), in onTestEnd() 151 Log.i(getTag(), "Skipping metric collection due to test failure"); in onTestEnd() 155 Log.e(getTag(), "Failed to stop the simpleperf process."); in onTestEnd() 158 Log.e(getTag(), "Failed to stop simpleperf", e); in onTestEnd() 161 Log.i(getTag(), "Stopping simpleperf after test ended."); in onTestEnd() 185 Log.i(getTag(), "Skipping simpleperf stop attempt as simpleperf failed to start."); in onTestRunEnd() 189 Log.i(getTag(), "Stopping simpleperf after test run ended"); in onTestRunEnd() 203 Log.e(getTag(), "Simpleperf did not start successfully."); in startSimpleperf() [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 | 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 | 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 | ScreenRecordCollector.java | 91 Log.e(getTag(), "Interrupted when joining the recording thread.", ex); in onTestEnd() 96 Log.d(getTag(), String.format("Adding video part: #%s", recording.getName())); in onTestEnd() 98 String.format("%s_%s", getTag(), recording.getName()), recording); in onTestEnd() 164 getTag(), in run() 193 getTag(), in cancel() 205 private String getTag() { in getTag() method in ScreenRecordCollector.RecordingThread
|
D | BaseMetricListener.java | 128 Log.e(getTag(), "Exception during onTestRunStart.", e); in testRunStarted() 141 Log.e(getTag(), "Exception during onTestRunEnd.", e); in testRunFinished() 161 Log.e(getTag(), "Exception during onTestStart.", e); in testStarted() 175 Log.e(getTag(), "Exception during onTestFail.", e); in testFailure() 188 Log.e(getTag(), "Exception during onTestEnd.", e); in testFinished() 288 Log.e(getTag(), "Error executing: " + command, e); in executeCommandBlocking() 304 Log.e(getTag(), "Unable to create dir: " + destDir.getAbsolutePath()); in createAndEmptyDirectory() 332 String getTag() { in getTag() method in BaseMetricListener 365 Log.i(getTag(), "Metric collection iteration interval cannot be less than 1." in parseArguments() 453 Log.i(getTag(), String.format("Skipping metric collection. Current iteration is %d." in shouldRun()
|
D | LogcatCollector.java | 141 testData.addFileMetric(String.format("%s_%s", getTag(), logcat.getName()), in onTestEnd() 145 Log.e(getTag(), "Error trying to retrieve logcat.", e); in onTestEnd() 159 runData.addStringMetric(getTag(), mDestDir.getAbsolutePath().toString()); in onTestRunEnd() 181 Log.i(getTag(), "Current Date:" + DATE_FORMATTER.format(date)); in getLogcatStartTime() 184 Log.i(getTag(), "Date including the before duration:" + DATE_FORMATTER.format(date)); in getLogcatStartTime()
|
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 | 99 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
|