Home
last modified time | relevance | path

Searched refs:Log (Results 1 – 25 of 107) sorted by relevance

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java26 import com.android.ddmlib.Log;
141 Log.i(LOG_TAG, "testExecuteShellCommand"); in testExecuteShellCommand()
157 Log.i(LOG_TAG, "testInstallUninstall"); in testInstallUninstall()
189 Log.i(LOG_TAG, "testInstallUninstall_space"); in testInstallUninstall_space()
206 Log.i(LOG_TAG, "testPushPull"); in testPushPull_normal()
244 Log.i(LOG_TAG, "testPushPull"); in testPushPull_extStorageVariable()
287 Log.i(LOG_TAG, "testPull_noexist"); in testPull_noexist()
336 Log.i(LOG_TAG, "testPush_noexist"); in testPush_noexist()
520 Log.i(LOG_TAG, "testExecuteFastbootCommand_deviceInAdb"); in testExecuteFastbootCommand_deviceInAdb()
522 Log.i(LOG_TAG, "Fastboot not enabled skipping testExecuteFastbootCommand_deviceInAdb"); in testExecuteFastbootCommand_deviceInAdb()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/log/
DLogUtil.java19 import com.android.ddmlib.Log;
20 import com.android.ddmlib.Log.LogLevel;
77 Log.v(getClassName(2), message); in v()
89 Log.v(getClassName(2), String.format(format, args)); in v()
99 Log.d(getClassName(2), message); in d()
111 Log.d(getClassName(2), String.format(format, args)); in d()
121 Log.i(getClassName(2), message); in i()
133 Log.i(getClassName(2), String.format(format, args)); in i()
143 Log.w(getClassName(2), message); in w()
154 Log.w(getClassName(2), getStackTraceString(t)); in w()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestFuncTest.java23 import com.android.ddmlib.Log;
100 Log.i(LOG_TAG, "testRun"); in testRun()
122 Log.i(LOG_TAG, "testRun_testFailed"); in testRun_testFailed()
144 Log.i(LOG_TAG, "testRun_testCrash"); in testRun_testCrash()
184 Log.i(LOG_TAG, "testRun_testTimeout"); in testRun_testTimeout()
217 Log.i(LOG_TAG, "testRun_deviceReboot"); in testRun_deviceReboot()
237 Log.w(LOG_TAG, "interrupted"); in testRun_deviceReboot()
239 Log.w(LOG_TAG, "Device did not come back online after reboot"); in testRun_deviceReboot()
268 Log.i(LOG_TAG, "testRun_maxTimeout"); in testRun_maxTimeout()
294 Log.i(LOG_TAG, "testRun_deviceRuntimeReset"); in testRun_deviceRuntimeReset()
[all …]
DGTestFuncTest.java19 import com.android.ddmlib.Log;
67 Log.i(LOG_TAG, "testRun"); in testRun()
122 Log.i(LOG_TAG, "testRun_testCrash"); in testRun_testCrash()
138 Log.i(LOG_TAG, "testRun_deviceReboot"); in testRun_deviceReboot()
160 Log.w(LOG_TAG, "interrupted"); in testRun_deviceReboot()
162 Log.w(LOG_TAG, "IOException when rebooting"); in testRun_deviceReboot()
176 Log.i(LOG_TAG, "testRun_timeout"); in testRun_timeout()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java20 import com.android.ddmlib.Log;
125 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDevice()
134 Log.i( in recoverDevice()
221 Log.i(LOG_TAG, String.format( in handleDeviceUnresponsive()
269 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDeviceBootloader()
295 Log.i( in recoverDeviceFastbootd()
327 Log.i( in handleDeviceOnlineExpectedBootloader()
348 Log.i( in handleDeviceOnlineExpectedFasbootd()
447 Log.w(LOG_TAG, String.format("failed to reboot %s: %s", device.getSerialNumber(), in rebootDevice()
450 Log.w(LOG_TAG, String.format("failed to reboot %s: timeout", device.getSerialNumber())); in rebootDevice()
[all …]
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiMonitorService.java24 import android.util.Log;
93 Log.d(TAG, "data file is too big. clearing..."); in monitor()
105 Log.e(TAG, "failed to monitor network latency", e); in monitor()
117 Log.d(TAG, "checking network connection with " + urlToCheck); in reconnect()
120 Log.d(TAG, "network connection is bad. reconnecting wifi..."); in reconnect()
125 Log.d(TAG, "network connection is good."); in reconnect()
127 Log.e(TAG, "failed to reconnect", e); in reconnect()
129 Log.e(TAG, "failed to check network connection", e); in reconnect()
163 Log.e(TAG, e.toString()); in clearData()
223 Log.e(TAG, e.toString()); in getData()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraStressTest.java20 import com.android.ddmlib.Log;
208 Log.e(LOG_TAG, String.format("Grabbing bugreport after test '%s' finished with " + in executeTest()
245 Log.d(LOG_TAG, String.format("Sending %d byte file %s into the logosphere!", in logOutputFiles()
254Log.e(LOG_TAG, String.format("IOException while reading or parsing output file: %s", e)); in logOutputFiles()
272 Log.e(LOG_TAG, String.format("Got IOException during %s test processing: %s", in parseOutputFile()
314 Log.d(LOG_TAG, String.format("Got %s key '%s' and captures '%s'", in parseOutputFile()
320 Log.e(LOG_TAG, String.format("Got unmatched line: %s", line)); in parseOutputFile()
355 Log.e(LOG_TAG, String.format("About to report metrics for %s: %s", test.mTestMetricsName, in reportMetrics()
437 Log.e(LOG_TAG, String.format("Got reported metrics: %s", mReportedMetrics.toString())); in testParse_old()
504 Log.e(LOG_TAG, String.format("Got reported metrics: %s", mReportedMetrics.toString())); in testParse_new()
DMediaPlayerStressTest.java20 import com.android.ddmlib.Log;
139 Log.d(LOG_TAG, String.format("Sending %d byte file %s into the logosphere!", in logOutputFile()
146 Log.e(LOG_TAG, String.format( in logOutputFile()
166 Log.e(LOG_TAG, String.format( in parseOutputFile()
179 Log.d(LOG_TAG, String.format("Got '%s' and captures '%s'", in parseOutputFile()
185 Log.d(LOG_TAG, String.format("Got unmatched line: %s", line)); in parseOutputFile()
199 Log.d(LOG_TAG, String.format("About to report metrics: %s", metrics)); in reportMetrics()
DVideoEditingPerformanceTest.java20 import com.android.ddmlib.Log;
180 Log.d(LOG_TAG, String.format( in logOutputFiles()
189 Log.e(LOG_TAG, String.format( in logOutputFiles()
210 Log.e(LOG_TAG, String.format( in parseOutputFile()
223 Log.d(LOG_TAG, String.format("Got '%s' and captures '%s'", key, in parseOutputFile()
229 Log.e(LOG_TAG, String.format("Got unmatched line: %s", line)); in parseOutputFile()
244 Log.d(LOG_TAG, String.format("About to report metrics: %s", metrics)); in reportMetrics()
DVideoEditingMemoryTest.java20 import com.android.ddmlib.Log;
191 Log.d(LOG_TAG, String.format( in logOutputFiles()
200 Log.e( in logOutputFiles()
221 Log.e(LOG_TAG, String.format( in parseOutputFile()
255 Log.d(LOG_TAG, String.format("About to report metrics: %s", mRunMetrics)); in reportMetrics()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java18 import com.android.ddmlib.Log;
113 Log.d(LOG_TAG, String.format("Creating file cache at %s", in FileDownloadCache()
122 Log.d( in FileDownloadCache()
180 Log.w(LOG_TAG, String.format("Unrecognized file type %s in cache", in addFiles()
356 Log.d( in internalfetchRemoteFile()
372 Log.d( in internalfetchRemoteFile()
398 Log.d(LOG_TAG, String.format("Downloading %s to cache", remotePath)); in downloadFile()
477 Log.e(LOG_TAG, "Cache size is less than 0!"); in incrementAndAdjustCache()
482 Log.w(LOG_TAG, "File cache is over-capacity."); in incrementAndAdjustCache()
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DLogUtilFuncTest.java19 import com.android.ddmlib.Log;
20 import com.android.ddmlib.Log.LogLevel;
37 Log.v(CLASS_NAME, "this is the real Log.v"); in testCLog_v()
43 Log.d(CLASS_NAME, "this is the real Log.d"); in testCLog_d()
49 Log.i(CLASS_NAME, "this is the real Log.i"); in testCLog_i()
55 Log.w(CLASS_NAME, "this is the real Log.w"); in testCLog_w()
61 Log.e(CLASS_NAME, "this is the real Log.e"); in testCLog_e()
DLogRegistryTest.java18 import com.android.ddmlib.Log;
19 import com.android.ddmlib.Log.LogLevel;
119 Log.e(LOG_TAG, testMessage); in testThreadedLogging()
127 Log.v(LOG_TAG, testMessage); in testThreadedLogging()
/tools/tradefederation/core/src/com/android/tradefed/result/
DInvocationToJUnitResultForwarder.java18 import com.android.ddmlib.Log;
62 Log.w( in testFailed()
79 Log.i(LOG_TAG, String.format("Run ended in %s", TimeUtil.formatElapsedTime(elapsedTime))); in testRunEnded()
88 Log.e(LOG_TAG, String.format("Run failed: %s", errorMessage)); in testRunFailed()
97 Log.i(LOG_TAG, String.format("Running %s: %d tests", runName, testCount)); in testRunStarted()
105 Log.i( in testRunStopped()
113 Log.d(LOG_TAG, String.format("Starting test: %s", test.toString())); in testStarted()
DXmlResultReporter.java19 import com.android.ddmlib.Log;
20 import com.android.ddmlib.Log.LogLevel;
119 Log.logAndDisplay(LogLevel.INFO, LOG_TAG, msg); in generateSummary()
121 Log.e(LOG_TAG, "Failed to generate report data"); in generateSummary()
220 Log.logAndDisplay(LogLevel.INFO, LOG_TAG, String.format("Saved %s log to %s", dataName, in testLogSaved()
DMetricsXMLResultReporter.java19 import com.android.ddmlib.Log;
20 import com.android.ddmlib.Log.LogLevel;
87 Log.w(TAG, "metrics-folder not specified, unable to record metrics"); in invocationEnded()
117 Log.logAndDisplay(LogLevel.INFO, TAG, msg); in generateResults()
120 Log.e(TAG, "Failed to generate XML metric report"); in generateResults()
/tools/tradefederation/core/src/com/android/tradefed/util/
DClassPathScanner.java19 import com.android.ddmlib.Log;
157 Log.w(LOG_TAG, String.format("Directory %s in classPath is not readable, skipping", in getEntriesFromDir()
174 Log.d(LOG_TAG, String.format("file %s in classPath is not recognized, skipping", in getEntriesFromDir()
209 Log.w(LOG_TAG, String.format( in getClassPathEntries()
214 Log.w(LOG_TAG, String.format("Failed to read class path entry %s. Reason: %s", in getClassPathEntries()
233 Log.w( in getClassPathEntriesFromJar()
240 Log.w( in getClassPathEntriesFromJar()
DTestLoader.java18 import com.android.ddmlib.Log;
65 Log.e(LOG_TAG, String.format("IOException when loading test classes from jar %s", in loadTests()
67 Log.e(LOG_TAG, e); in loadTests()
95 Log.e(LOG_TAG, e); in loadTests()
97 Log.e(LOG_TAG, e); in loadTests()
100 Log.e(LOG_TAG, e); in loadTests()
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java27 import android.util.Log;
107 Log.e(TAG, String.format("Query - File from uri: '%s' does not exists.", uri)); in query()
140 Log.e(TAG, String.format("Insert - File from uri: '%s' does not exists.", uri)); in insert()
144 Log.e( in insert()
171 Log.e(TAG, String.format("Update - File from uri: '%s' does not exists.", uri)); in update()
175 Log.e( in update()
/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/
DDeviceSetupIntentReceiver.java22 import android.util.Log;
39 Log.v(TAG, "Starting Service"); in onReceive()
45 Log.v(TAG, "Stopping Service"); in onReceive()
51 Log.v(TAG, "Re-starting Service"); in onReceive()
55 Log.v(TAG, "Recevied: " + intent.getAction()); in onReceive()
DDeviceSetupService.java28 import android.util.Log;
41 Log.v(DeviceSetupIntentReceiver.TAG, "Setup service started."); in onCreate()
56 Log.v(DeviceSetupIntentReceiver.TAG, "Acquiring wake lock."); in onStartCommand()
75 Log.v(DeviceSetupIntentReceiver.TAG, "Setup service stopped."); in onDestroy()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java19 import com.android.ddmlib.Log;
134 Log.w(LOG_TAG, String.format("Failed to mkdir parent dir %s.", parent)); in mkdirsRWX()
144 Log.w(LOG_TAG, String.format("Failed to set dir %s to be group accessible.", file)); in mkdirsRWX()
203 Log.d(LOG_TAG, String.format("Failed chmod on %s", file.getAbsolutePath())); in chmodGroupRW()
207 Log.d(LOG_TAG, String.format("chmod not available; " in chmodGroupRW()
228 Log.d(LOG_TAG, String.format("Failed chmod on %s", file.getAbsolutePath())); in chmodGroupRWX()
232 Log.d(LOG_TAG, String.format("chmod not available; " in chmodGroupRWX()
DEmail.java19 import com.android.ddmlib.Log;
132 Log.d(LOG_TAG, String.format("About to send email with command: %s", in send()
153Log.e(LOG_TAG, String.format("Mailer finished with non-zero return value: %d", retValue)); in send()
160 Log.e(LOG_TAG, "Mailer output was: " + stdout.toString()); in send()
162 Log.v(LOG_TAG, "Mailer returned successfully."); in send()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeBenchmarkTestParser.java19 import com.android.ddmlib.Log;
73 Log.d(LOG_TAG, line); in parseLine()
76 Log.i(LOG_TAG, String.format("Found result for benchmark %s: %s", getRunName(), line)); in parseLine()
89 Log.w(LOG_TAG, String.format("Value was not a double (%s), trying for scientfic", in parseDoubleValue()
96 Log.e(LOG_TAG, String.format("Could not parse double value in (%s)", in parseDoubleValue()
DNativeStressTest.java20 import com.android.ddmlib.Log;
162 Log.i(LOG_TAG, String.format("Running native stress test %s on %s", fullPath, in doRunAllTestsInSubdirectory()
172 Log.i(LOG_TAG, String.format("Running %s for %d iterations", in doRunAllTestsInSubdirectory()
199 Log.i(LOG_TAG, String.format( in reportTestCompleted()
233 Log.w(LOG_TAG, String.format("Could not find native stress test directory %s in %s!", in run()

12345