/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | ThermalThrottlingHelper.java | 28 private static final String TAG = ThermalThrottlingHelper.class.getSimpleName(); field in ThermalThrottlingHelper 48 Log.i(TAG, "Starting emulating thermal throttling at level " + emulSeverity); 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() 66 Log.i(TAG, "Successfully started emulating throttling."); in startThrottling() 73 Log.w(TAG, "stopThrottling() was called, but thermal throttling is not enabled."); 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() 93 Log.i(TAG, "Successfully stopped emulating throttling."); in stopThrottling() 107 Log.e(TAG, "Unable to check throttling status: " + e.getMessage()); in isThrottlingEnabled()
|
D | BugReportDurationHelper.java | 47 private static final String TAG = BugReportDurationHelper.class.getSimpleName(); field in BugReportDurationHelper 94 Log.d(TAG, "Started collecting for BugReportDuration."); in startCollecting() 154 Log.d(TAG, "Grabbing metrics for BugReportDuration."); in getMetrics() 159 Log.w(TAG, "No bug report was found in directory: " + bugReportDir); in getMetrics() 166 Log.w(TAG, "No lines relevant to bug report durations were found."); in getMetrics() 180 Log.e(TAG, "Dumpstate section name or duration could not be parsed from: " + line); in getMetrics() 198 Log.e(TAG, "Dumpstate section name or duration could not be parsed from: " + line); in getMetrics() 212 Log.w(TAG, "No lines relevant to dumpstate board durations were found."); in getMetrics() 215 Log.w(TAG, "Mismatch in the number of dumpstate_board section names and durations."); in getMetrics() 236 TAG, in getMetrics() [all …]
|
D | TimingHelper.java | 40 private static final String TAG = TimingHelper.class.getSimpleName(); field in TimingHelper 60 Log.d(TAG, "Found log line: " + log); in getMetrics() 65 Log.e(TAG, "Log did not contain a valid key-value pair: " + log); in getMetrics() 86 Log.e(TAG, "Failed to get timing-related log line."); in getTimingLogs() 98 Log.w(TAG, "Final string doesn't have one key and one value."); in parseTimingInfo() 102 Log.w(TAG, "Value was not a number."); in parseTimingInfo()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | MemhogHelper.java | 29 private static final String TAG = MemhogHelper.class.getSimpleName(); field in MemhogHelper 50 Log.i(TAG, "Starting memhog."); 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() 82 Log.i(TAG, "Successfully started memhog."); in startMemhog() 89 Log.e(TAG, "stopMemhog() was called, but memhog is not running."); 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() 110 Log.i(TAG, "Successfully stopped memhog."); in stopMemhog() 118 Log.i(TAG, String.format("Memhog pid - %s", memhogProcId)); in isMemhogRunning() [all …]
|
D | GarbageCollectionHelper.java | 32 private static final String TAG = GarbageCollectionHelper.class.getSimpleName(); field in GarbageCollectionHelper 74 Log.e(TAG,"Process name or UI device is null. Make sure you've called setup."); in garbageCollect() 87 Log.e(TAG,"Unable to execute shell command to GC", e); in garbageCollect() 97 TAG, in garbageCollect()
|
D | TotalPssHelper.java | 40 private static final String TAG = TotalPssHelper.class.getSimpleName(); field in TotalPssHelper 78 Log.w(TAG, "Need atleast 3 iterations to check memory usage stabilization."); in getMetrics() 103 Log.i(TAG, "Tracking memory usage of the process - " + processName); in measureMemory() 112 Log.i(TAG, "Memory usage stabilized at iteration count = " + iteration); in measureMemory() 120 Log.i(TAG, processName + " memory usage did not stabilize." in measureMemory() 156 Log.i(TAG, in getPss() 161 Log.w(TAG, "Not able to find the process id for the process = " + processName); in getPss() 175 Log.i(TAG, "diff1=" + diff1 + " diff2=" + diff2); in stabilized()
|
D | ShowmapSnapshotHelper.java | 50 private static final String TAG = ShowmapSnapshotHelper.class.getSimpleName(); field in ShowmapSnapshotHelper 110 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() 143 Log.e(TAG, String.format("Failed to create result output file %s", filePath), e); in startCollecting() 162 Log.i(TAG, "Collecting memory metrics for all processes."); in getMetrics() 165 Log.i(TAG, "Collecting memory only for given list of process"); in getMetrics() 176 Log.d(TAG, String.format("Dumpsys activity lru output: %s", activityLRU)); in getMetrics() 178 Log.e(TAG, String.format("Failed to execute %s", ACTIVITY_LRU_CMD)); in getMetrics() [all …]
|
D | HeapDumpHelper.java | 38 private static final String TAG = HeapDumpHelper.class.getSimpleName(); field in HeapDumpHelper 85 Log.i(TAG, "Metric collector enabled. Dumping the hprof."); 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() 151 Log.i(TAG, String.format("The PID of %s is %s.", processName, output)); in getPid() 153 Log.e(TAG, String.format("Failed to get the pid of %s", processName), e); in getPid() 166 Log.i(TAG, "Running heapdump command :" + heapdumpCommand); in execHeapDump() 187 Log.i(TAG, String.format("File size of %s is %s bytes", path, bytes)); in isEmptyFile() 199 Log.i(TAG, String.format("Rename %s failed.", oldFile), e); in renameEmptyFile()
|
D | PinnerHelper.java | 38 private static final String TAG = PinnerHelper.class.getSimpleName(); field in PinnerHelper 58 Log.e(TAG, String.format("Invalid test setup")); in startCollecting() 72 TAG, in startCollecting() 80 TAG, in startCollecting() 92 TAG, in startCollecting() 97 Log.e(TAG, String.format("Failed to create result output file %s", filePath), e); in startCollecting() 119 Log.i(TAG, "Pinner output:\n" + pinnerOutput); in getMetrics() 133 Log.e(TAG, String.format("Failed to write output file %s", mTestOutputFile), e); in getMetrics()
|
/platform_testing/tests/example/instrumentation/src/android/test/example/helloworld/ |
D | HelloWorldTest.java | 35 private static final String TAG = HelloWorldTest.class.getSimpleName(); field in HelloWorldTest 39 Log.d(TAG, "beforeClass()"); in beforeClass() 44 Log.d(TAG, "afterClass()"); in afterClass() 49 Log.d(TAG, "before()"); in before() 54 Log.d(TAG, "after()"); in after() 60 Log.d(TAG, "testHelloWorld()"); in testHelloWorld() 67 Log.d(TAG, "testHalloWelt()"); in testHalloWelt()
|
/platform_testing/scripts/perf-setup/tests/src/android/test/perfsetup/ |
D | PerfSetupTest.java | 34 private static final String TAG = PerfSetupTest.class.getSimpleName(); field in PerfSetupTest 38 Log.d(TAG, "beforeClass()"); in beforeClass() 43 Log.d(TAG, "afterClass()"); in afterClass() 48 Log.d(TAG, "before()"); in before() 53 Log.d(TAG, "after()"); in after() 59 Log.d(TAG, "testPerfSetup()"); in testPerfSetup()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ui/ |
D | UiSearch.java | 39 private static final String TAG = "UiSearch"; field in UiSearch 59 Log.d(TAG, in search() 63 Log.d(TAG, in search() 72 Log.w(TAG, format("Selector[%s] is null", selector)); in search() 81 Log.w(TAG, format("Scroller is null. So looking for %s[%s] in in %s seconds", name, in search() 87 Log.w(TAG, format("Given Scroller[%s] was not found in %s seconds", in search() 117 Log.d(TAG, in search() 121 Log.d(TAG, in search() 129 Log.w(TAG, format("Selector[%s] is null", selector)); in search() 139 Log.w(TAG, format("Scroller is null. So looking for %s[%s] in in %s seconds", name, in search() [all …]
|
D | UiSearch2.java | 39 private static final String TAG = "UiSearch2"; field in UiSearch2 63 Log.d(TAG, in search() 67 Log.d(TAG, in search() 76 Log.w(TAG, format("Selector[%s] is null", selector)); in search() 85 Log.w(TAG, format("Scroller is null. So looking for %s[%s] in in %s seconds", name, in search() 91 Log.w(TAG, format("Given Scroller[%s] was not found in %s seconds", in search() 121 Log.d(TAG, in search() 125 Log.d(TAG, in search() 133 Log.w(TAG, format("Selector[%s] is null", selector)); in search() 143 Log.w(TAG, format("Scroller is null. So looking for %s[%s] in in %s seconds", name, in search() [all …]
|
D | UiAutomatorUtils.java | 33 private static final String TAG = "UiAutomatorUtils"; field in UiAutomatorUtils 66 Log.i(TAG, line.trim()); in dumpViewHierarchy() 69 Log.e(TAG, "error dumping XML to logcat", e); in dumpViewHierarchy()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | PowerTestRunListener.java | 33 public static final String TAG = PowerTestRunListener.class.getCanonicalName(); field in PowerTestRunListener 41 Log.d(TAG, "Disconnecting device for " + maxTime + "second(s)"); in testRunStarted() 45 Log.i(TAG, "Device disconnected successfully before the test start"); in testRunStarted() 47 Log.i(TAG, "Finished testRunStarted"); in testRunStarted() 51 Log.i(TAG, "====== Entered in device disconnect from host method ====="); in disconnectDeviceFromHost() 53 Log.i(TAG, "Checking if cable breaker is present in the device using " + cbHelpCmd); in disconnectDeviceFromHost() 56 Log.i(TAG, "Running command to disconnect using cable breaker: " + command); in disconnectDeviceFromHost()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | AssertionStateDataFactoryTest.kt | 79 wmAssertionFactory.createTagAssertion(TAG) {}, in checkBuildsTagAssertion() 81 TAG in checkBuildsTagAssertion() 84 layersAssertionFactory.createTagAssertion(TAG) {}, in checkBuildsTagAssertion() 86 TAG in checkBuildsTagAssertion() 88 validate(eventLogAssertionFactory.createTagAssertion(TAG) {}, EventLogSubject::class, TAG) in checkBuildsTagAssertion() 103 internal const val TAG = "tag" constant
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | LogGenerator.java | 36 private static final String TAG = "AuptDataCollector"; field in LogGenerator 63 Log.w(TAG, "Error while saving dumpsys meminfo -c: " + ioe.getMessage()); in save() 75 Log.w(TAG, "Error while saving dumpsys cpuinfo : " + ioe.getMessage()); in save() 87 Log.w(TAG, String.format("Failed to take bugreport: %s", e.getMessage())); in save() 99 Log.w(TAG, String.format("Failed to take bugreport: %s", e.getMessage())); in save() 111 Log.w(TAG, String.format("Failed to save frangmentation: %s", e.getMessage())); in save() 123 Log.w(TAG, String.format("Failed to save graphicsstats: %s", e.getMessage())); in save() 136 Log.w(TAG, String.format("Failed to save ION heap: %s", e.getMessage())); in save() 148 Log.w(TAG, String.format("Failed to save pagetypeinfo: %s", e.getMessage())); in save() 160 Log.w(TAG, String.format("Failed to save trace: %s", e.getMessage())); in save()
|
D | ProcessStatusTracker.java | 37 private static final String TAG = "ProcessStatusTracker"; field in ProcessStatusTracker 74 Log.v(TAG, "getProcessDetails - No pids to track, not doing anything"); in getProcessDetails() 82 Log.e(TAG, "Failed to retrieve list of running apps"); in getProcessDetails() 87 Log.i(TAG, "Got running processes"); in getProcessDetails() 98 Log.d(TAG, String.format( in getProcessDetails() 140 Log.v(TAG, "Started tracking pid changes: " + processName); in setAllowProcessTracking() 147 Log.i(TAG, "Getting process details"); in verifyRunningProcess() 153 Log.v(TAG, String.format("verifyRunningProcess - proc: %s, state: %s", in verifyRunningProcess() 161 Log.v(TAG, String.format("Process started: %s - %d", d.processName, d.pid0)); in verifyRunningProcess() 202 Log.e(TAG, "Error with buffered reader", exception); in getRunningAppProcesses() [all …]
|
D | FilesystemUtil.java | 38 private static final String TAG = FilesystemUtil.class.getSimpleName(); field in FilesystemUtil 43 Log.d(TAG, String.format("Saving command \"%s\" output into file %s", in saveProcessOutput() 101 Log.i(TAG, outputDir.toString()); in dumpMeminfo() 104 Log.i(TAG, yes ? "created" : "not created"); in dumpMeminfo() 107 Log.i(TAG, outputFile.toString()); in dumpMeminfo() 117 Log.e(TAG, "exception while dumping meminfo", e); in dumpMeminfo() 119 Log.e(TAG, "exception while dumping meminfo", e); in dumpMeminfo()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/ |
D | FoldableDeviceController.kt | 59 printInstrumentationStatus(TAG, "Folding") in <lambda>() 67 printInstrumentationStatus(TAG, "Unfolding") in <lambda>() 75 printInstrumentationStatus(TAG, "Half-folding") in <lambda>() 83 printInstrumentationStatus(TAG, "Rear display") in <lambda>() 90 printInstrumentationStatus(TAG, "resetDeviceState") in <lambda>() 138 Log.e(TAG, "setting device state to the same state already set.") in <lambda>() 153 Log.d(TAG, "Device state set to ${state.desc()}") in <lambda>() 193 Log.d(TAG, "Request activated: ${request.state.desc()}") in <lambda>() 201 Log.d(TAG, "Request cancelled: ${request.state.desc()}") in <lambda>() 208 Log.d(TAG, "Request suspended: ${request.state.desc()}") in <lambda>() [all …]
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/stressmodes/ |
D | BackgroundTranscodingStressTestMode.java | 41 private static final String TAG = BackgroundTranscodingStressTestMode.class.getSimpleName(); field in BackgroundTranscodingStressTestMode 64 Log.i(TAG, "BackgroundTranscodingStressTestMode stress started"); in testStarted() 68 Log.i(TAG, "Transcoding file " + file); in testStarted() 99 Log.d(TAG, "transcoding to format: " + videoTrackFormat); in testStarted() 107 TAG, in testStarted() 116 Log.i(TAG, "BackgroundTranscodingStressTestMode stress finished"); in testFinished()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | GarbageCollectRule.java | 31 private static final String TAG = GarbageCollectRule.class.getSimpleName(); field in GarbageCollectRule 58 Log.e(TAG, "Cannot force garbage collection because package names are empty."); in initGcHelper() 90 Log.v(TAG, "Force Garbage collection at the starting of the rule."); in starting() 105 Log.v(TAG, "Force Garbage collection at the end of the rule."); in finished()
|
D | ScreenRecordRule.kt | 97 Log.w(TAG, "Device is not rooted. Skipping screen recording.") in <lambda>() 142 TAG, in <lambda>() 188 Log.e(TAG, "File not created successfully. Can't determine size of $outputFile") in <lambda>() 194 TAG, in <lambda>() 205 Log.e(TAG, "Recording not created successfully.", e) in <lambda>() 218 Log.e(TAG, "Recording size didn't settle.", e) in <lambda>() 232 private fun log(s: String) = Log.d(TAG, s) in <lambda>() 241 private const val TAG = "ScreenRecordRule" in <lambda>() constant
|
/platform_testing/libraries/notes-role-test-helper/src/android/platform/helpers/notesrole/ |
D | NotesRoleUtil.kt | 107 TAG, in setRoleHolder() 121 Log.d(TAG, "After clear note role") in setRoleHolder() 131 Log.d(TAG, "Start setting note holder to $packageName") in setRoleHolder() 140 Log.d(TAG, "Callback for setting note role to $packageName: $it") in setRoleHolder() 151 Log.d(TAG, "After setting note role to $packageName") in setRoleHolder() 176 const val TAG = "NotesRoleUtil" constant
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 25 private static final String TAG = MetricUtility.class.getSimpleName(); field in MetricUtility 92 Log.e(TAG, String.format("No such metric key %s", metricKey)); in getMetricDoubles() 97 Log.e(TAG, String.format("Missed value of metric key %s", metricKey)); in getMetricDoubles() 106 TAG, in getMetricDoubles() 131 Log.i(TAG, "Start reading the data"); in executeCommandBlocking() 135 Log.i(TAG, "Stop reading the data"); in executeCommandBlocking() 138 Log.e(TAG, "Error executing: " + command, e); in executeCommandBlocking()
|