Home
last modified time | relevance | path

Searched refs:CLog (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DLogUtilFuncTest.java23 import com.android.tradefed.log.LogUtil.CLog;
50 CLog.v("this is CLog.v"); in testCLog_v()
51 CLog.v("this is CLog.v with a format string: %s has length %d", STRING, STRING.length()); in testCLog_v()
56 CLog.d("this is CLog.d"); in testCLog_d()
57 CLog.d("this is CLog.d with a format string: %s has length %d", STRING, STRING.length()); in testCLog_d()
62 CLog.i("this is CLog.i"); in testCLog_i()
63 CLog.i("this is CLog.i with a format string: %s has length %d", STRING, STRING.length()); in testCLog_i()
68 CLog.w("this is CLog.w"); in testCLog_w()
69 CLog.w("this is CLog.w with a format string: %s has length %d", STRING, STRING.length()); in testCLog_w()
74 CLog.e("this is CLog.e"); in testCLog_e()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DResultForwarder.java19 import com.android.tradefed.log.LogUtil.CLog;
96 CLog.e( in invocationStarted()
99 CLog.e(e); in invocationStarted()
113 CLog.e( in invocationFailed()
116 CLog.e(e); in invocationFailed()
147 CLog.e("Exception while invoking %s#testLog", listener.getClass().getName()); in testLog()
148 CLog.e(e); in testLog()
162 CLog.e("Exception while invoking %s#testRunStarted", listener.getClass().getName()); in testRunStarted()
163 CLog.e(e); in testRunStarted()
177 CLog.e("Exception while invoking %s#testRunFailed", listener.getClass().getName()); in testRunFailed()
[all …]
DRetentionFileSaver.java18 import com.android.tradefed.log.LogUtil.CLog;
48 CLog.e("Unable to create retention file in directory in %s", dir.getAbsolutePath()); in writeRetentionFile()
49 CLog.e(e); in writeRetentionFile()
55 CLog.w("%s is not a retention file", retentionFile.getAbsolutePath()); in shouldDelete()
64 CLog.e("Unable to read retention file %s", retentionFile.getAbsolutePath()); in shouldDelete()
65 CLog.e(e); in shouldDelete()
67CLog.e("Unable to read timestamp in retention file %s", retentionFile.getAbsolutePath()); in shouldDelete()
68 CLog.e(e); in shouldDelete()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java20 import com.android.tradefed.log.LogUtil.CLog;
53 CLog.e( in testStarted()
56 CLog.e(any); in testStarted()
67 CLog.e( in testStarted()
70 CLog.e(any); in testStarted()
82 CLog.e( in testAssumptionFailure()
85 CLog.e(any); in testAssumptionFailure()
96 CLog.e( in testFailed()
99 CLog.e(any); in testFailed()
110 CLog.e( in testIgnored()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DTraceCmdCollector.java27 import com.android.tradefed.log.LogUtil.CLog;
91 CLog.w("--trace-cmd-binary was not set, skipping trace metric collection"); in startTracing()
108 CLog.i("Issuing trace-cmd: %s ", traceCmd.toString()); in startTracing()
114 CLog.e("Error starting trace-cmd:"); in startTracing()
115 CLog.e(e); in startTracing()
122 CLog.w("trace-cmd was not set, skipping attempt to stop trace collection"); in stopTracing()
131 CLog.i("Collecting trace-cmd log from device: " + device.getSerialNumber()); in stopTracing()
141 CLog.e("Error stopping atrace"); in stopTracing()
142 CLog.e(e); in stopTracing()
DAtraceCollector.java26 import com.android.tradefed.log.LogUtil.CLog;
132 CLog.i("issuing command : %s to device: %s", cmd, device.getSerialNumber()); in startTracing()
137 CLog.e("Error starting atrace:"); in startTracing()
138 CLog.e(e); in startTracing()
140 CLog.i("command output: %s", c.getOutput()); in startTracing()
146 CLog.d("no categories specified to trace, not running AtraceMetricCollector"); in onTestStart()
156 CLog.i("collecting atrace log from device: %s", device.getSerialNumber()); in stopTracing()
165 CLog.e("Error stopping atrace"); in stopTracing()
166 CLog.e(e); in stopTracing()
174 CLog.w("No trace postprocessor specified. Skipping trace postprocessing."); in postProcess()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java27 import com.android.tradefed.log.LogUtil.CLog;
158 CLog.w( in openSocket()
175 CLog.e("Started remote manager thread without connecting"); in run()
184 CLog.e("Error when setting socket timeout"); in run()
185 CLog.e(e); in run()
226 CLog.e("Failed to accept connection"); in processClientConnections()
227 CLog.e(e); in processClientConnections()
306 CLog.e("Failed to handle remote command"); in addErrorToResult()
307 CLog.e(e); in addErrorToResult()
311 CLog.e("Failed to build json remote response"); in addErrorToResult()
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2StressTest.java22 import com.android.tradefed.log.LogUtil.CLog;
82 CLog.v("The instrumentation result not found. Fall back to get the metrics from a " in testEnded()
118 CLog.v("Skipping the screenshot (%s) that doesn't match the current " in postScreenshotOnFailure()
124 CLog.w("Could not pull screenshot: %s", remoteFile.getFullPath()); in postScreenshotOnFailure()
134 CLog.e(e); in postScreenshotOnFailure()
136 CLog.e(e); in postScreenshotOnFailure()
166 CLog.v("%s: %s", key, value); in parseLog()
175 CLog.w("Failed to start stress tests. test setup configured incorrectly?"); in parseLog()
181 CLog.w("Couldn't parse the output log file:"); in parseLog()
182 CLog.e(e); in parseLog()
[all …]
DVideoMultimeterTest.java24 import com.android.tradefed.log.LogUtil.CLog;
163 CLog.e(e.getMessage()); in startPlayback()
183 CLog.i("Starting calibration: " + cr.getStdout()); in doCalibration()
199 CLog.e("Calibration timed out."); in doCalibration()
201 CLog.i("Calibration succeeds."); in doCalibration()
213 CLog.i("syncing device time to host time"); in setupTestEnv()
222 CLog.i("Stopping measurement: " + cr.getStdout()); in setupTestEnv()
227 CLog.i("Setting calibration values: " + caliValues); in setupTestEnv()
232 CLog.i("Calibration values are set to: " + caliValues); in setupTestEnv()
235 CLog.e("Failed to set calibration values: " + cr.getStdout()); in setupTestEnv()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceStateMonitor.java23 import com.android.tradefed.log.LogUtil.CLog;
45 CLog.i("Waiting %d ms for device %s package manager", in waitForPmResponsive()
55 CLog.v("%s returned %s", cmd, output); in waitForPmResponsive()
60 CLog.i("%s on device %s failed: %s", cmd, getSerialNumber(), e.getMessage()); in waitForPmResponsive()
62 CLog.i("%s on device %s failed: timeout", cmd, getSerialNumber()); in waitForPmResponsive()
64 CLog.i("%s on device %s failed: %s", cmd, getSerialNumber(), e.getMessage()); in waitForPmResponsive()
66 CLog.i("%s on device %s failed: %s", cmd, getSerialNumber(), e.getMessage()); in waitForPmResponsive()
71 CLog.w("Device %s package manager is unresponsive", getSerialNumber()); in waitForPmResponsive()
DNativeDeviceStateMonitor.java24 import com.android.tradefed.log.LogUtil.CLog;
162 CLog.i("Waiting %d ms for device %s shell to be responsive", waitTime, in waitForDeviceShell()
177 CLog.i("%s failed:", cmd); in waitForDeviceShell()
178 CLog.e(e); in waitForDeviceShell()
180 CLog.i("%s failed: timeout", cmd); in waitForDeviceShell()
181 CLog.e(e); in waitForDeviceShell()
186 CLog.w("Device %s shell is unresponsive", getSerialNumber()); in waitForDeviceShell()
235 CLog.i("Waiting %d ms for device %s boot complete", waitTime, getSerialNumber()); in waitForBootComplete()
246 CLog.i("%s on device %s failed: %s", cmd, getSerialNumber(), e.getMessage()); in waitForBootComplete()
250 CLog.i("%s on device %s failed: %s", cmd, getSerialNumber(), e.getMessage()); in waitForBootComplete()
[all …]
DNativeDevice.java40 import com.android.tradefed.log.LogUtil.CLog;
392 CLog.i("%s for device %s is null, re-querying in fastboot", description, in internalGetProperty()
396 CLog.d("property collection for device %s is null, re-querying for prop %s", in internalGetProperty()
411 CLog.d("Device %s is not online cannot get property %s.", getSerialNumber(), name); in getProperty()
577 CLog.w("Could not get device %s build id.", getSerialNumber()); in getBuildId()
595 CLog.w("Could not get device %s build flavor.", getSerialNumber()); in getBuildFlavor()
675 CLog.v("%s on %s returned %s", command, getSerialNumber(), output); in executeShellCommand()
907 CLog.w("Failed to pull %s from %s to %s. Message %s", remoteFilePath, in pullFile()
936 CLog.w("Encountered IOException while trying to pull '%s':", remoteFilePath); in pullFile()
937 CLog.e(e); in pullFile()
[all …]
/tools/tradefederation/core/prod-tests/src/com/android/ota/tests/
DSideloadOtaStabilityTest.java35 import com.android.tradefed.log.LogUtil.CLog;
195 CLog.i("Starting OTA sideload test from %s to %s, for %d iterations", in run()
211 CLog.i("Device %s successfully OTA-ed to build %s. Iteration: %d of %d", in run()
217 CLog.e(e); in run()
219 CLog.i("Encountered TargetSetupError, marking this test as resumable"); in run()
221 CLog.e(e); in run()
231 CLog.i("Device is not online, attempting to recover before capturing logs"); in run()
298 CLog.i("Pushing OTA package %s", otaBuild.getOtaPackageFile().getAbsolutePath()); in installOta()
310 CLog.i("Rebooting to install OTA"); in installOta()
330 CLog.i("Didn't go to recovery, went straight to update"); in installOta()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/xml/
DAndroidManifestWriter.java18 import com.android.tradefed.log.LogUtil.CLog;
100 CLog.e("Failed to write xml file %s", mOsManifestFilePath); in saveXmlToFile()
101 CLog.e(e); in saveXmlToFile()
104 CLog.e("Failed to write xml file %s", mOsManifestFilePath); in saveXmlToFile()
105 CLog.e(e); in saveXmlToFile()
126 CLog.e("Error parsing file %s", osManifestFilePath); in parse()
127 CLog.e(e); in parse()
130 CLog.e("Error parsing file %s", osManifestFilePath); in parse()
131 CLog.e(e); in parse()
134 CLog.e("Error parsing file %s", osManifestFilePath); in parse()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DEmailHostHealthAgent.java21 import com.android.tradefed.log.LogUtil.CLog;
69 CLog.i("No metric to send, skipping HostMetricAgentEmail."); in flush()
73 CLog.w("No email sent because no destination addresses were set."); in flush()
77 CLog.w("No email sent because no sender addresse was set."); in flush()
92 CLog.d(msg.getSubject()); in flush()
93 CLog.d(msg.getBody()); in flush()
96 CLog.e("Failed to send email"); in flush()
97 CLog.e(e); in flush()
99 CLog.e("Failed to send email"); in flush()
100 CLog.e(e); in flush()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClient.java19 import com.android.tradefed.log.LogUtil.CLog;
72 CLog.i("fetching key for %s", key); in containsKey()
74 CLog.w("Key Store is null"); in containsKey()
83 CLog.w("null key passed"); in fetchKey()
87 CLog.w("null keystore"); in fetchKey()
93 CLog.e("failed to fetch key from json key store"); in fetchKey()
94 CLog.e(e); in fetchKey()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationFileTest.java22 import com.android.tradefed.log.LogUtil.CLog;
121 CLog.d("Try to run tests from file for the %d/%d attempts", in writeTestsToFileAndRun()
125 CLog.d("Running tests from file exceeded max attempts." in writeTestsToFileAndRun()
129 CLog.d("Running tests from file exceeded max attempts. Ignore the rest tests"); in writeTestsToFileAndRun()
152 CLog.d("Test file %s was successfully created", testFile.getAbsolutePath()); in writeTestsToFileAndRun()
158 CLog.d("Test file %s was successfully pushed to %s on device", in writeTestsToFileAndRun()
163 CLog.e("Failed to push file to device, re-running tests serially"); in writeTestsToFileAndRun()
166 CLog.e("Failed to push file to device, ignore the rest of tests"); in writeTestsToFileAndRun()
171 CLog.e("Failed to run tests from file, re-running tests serially: %s", in writeTestsToFileAndRun()
175 CLog.e("Failed to push file to device, ignore the rest of tests"); in writeTestsToFileAndRun()
[all …]
DDeviceBatteryLevelChecker.java26 import com.android.tradefed.log.LogUtil.CLog;
114 CLog.w("Failed to determine battery level for device %s.", in run()
119 CLog.w("Battery level %d is below the min level %d; holding for device %s to charge " + in run()
124 CLog.d("Battery level %d is above the minimum of %d; %s is good to go.", batteryLevel, in run()
131 CLog.d("Rebooting device %s prior to holding", mTestDevice.getSerialNumber()); in run()
154 CLog.w("Battery level for device %s is currently %d", mTestDevice.getSerialNumber(), in run()
159 CLog.w( in run()
169 CLog.w("Breaking out of wait loop because battery level read failed for device %s", in run()
174 CLog.w("Warning: battery discharged from %d to %d on device %s during the last " + in run()
178 CLog.v("Battery level for device %s is currently %d", mTestDevice.getSerialNumber(), in run()
[all …]
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
DRadioHelper.java20 import com.android.tradefed.log.LogUtil.CLog;
76 CLog.d("phonetype: %s", phoneType); in isCdmaDevice()
77 CLog.d("gsm.sim.state: %s", simState); in isCdmaDevice()
82 CLog.d("Error: phoneType or simState is null."); in isCdmaDevice()
90 CLog.d("it is a CDMA device, return true"); in isCdmaDevice()
112 CLog.d("Start ping test, ping %s", host); in pingTest()
132 CLog.d("not a CDMA device, no need to activiate the device"); in radioActivation()
136 CLog.d("CDMA device has been activated."); in radioActivation()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBulkEmailer.java24 import com.android.tradefed.log.LogUtil.CLog;
68 CLog.d("No emails to send."); in sendEmails()
79 CLog.d("Sending initial burst of %d emails\n", mInitialBurst); in sendEmails()
88 CLog.i("Sending email %d/%d", i, mEmails); in sendEmails()
92 CLog.e("exception sending email"); in sendEmails()
93 CLog.e(iox); in sendEmails()
95 CLog.e("sleep interrupted"); in sendEmails()
96 CLog.e(ix); in sendEmails()
DBugreport.java19 import com.android.tradefed.log.LogUtil.CLog;
85 CLog.w("main_entry.txt was not found inside the bugreport"); in getMainFile()
89 CLog.d("bugreport name: '%s'", bugreportName); in getMainFile()
93 CLog.e("Error while unzipping bugreportz"); in getMainFile()
94 CLog.e(e); in getMainFile()
119 CLog.e("Error reading the list of files in the bugreport"); in getListOfFiles()
120 CLog.e(e); in getListOfFiles()
149 CLog.e("Error while unzipping bugreportz"); in extractFileBugreport()
150 CLog.e(e); in extractFileBugreport()
DDeviceRecoveryModeUtil.java24 import com.android.tradefed.log.LogUtil.CLog;
56 CLog.i("Rebooting to exit recovery"); in bootOutOfRecovery()
58 CLog.i("Pausing for %d ms while recovery loads", bufferMs); in bootOutOfRecovery()
68 CLog.e("Failed to reboot, trying last-ditch recovery"); in bootOutOfRecovery()
69 CLog.e(e); in bootOutOfRecovery()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DSystemServerFileDescriptorChecker.java20 import com.android.tradefed.log.LogUtil.CLog;
48 CLog.d("Skipping system_server fd check on user builds."); in postExecutionCheck()
53 CLog.d("Unable to find system_server pid."); in postExecutionCheck()
59 CLog.d("Unable to query system_server fd count."); in postExecutionCheck()
66 CLog.w(message); in postExecutionCheck()
77 CLog.w("no shell output for command: " + command); in getIntegerFromCommand()
84 CLog.w("unable to parse result of '" + command + "' : " + output); in getIntegerFromCommand()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlFormattedGeneratorReporter.java18 import com.android.tradefed.log.LogUtil.CLog;
37 CLog.e("Failed to create the result directory:"); in finalizeResults()
38 CLog.e(e); in finalizeResults()
48 CLog.e("Failed to generate the formatted report file:"); in finalizeResults()
49 CLog.e(e); in finalizeResults()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerStressHostTests.java21 import com.android.tradefed.log.LogUtil.CLog;
121 CLog.i("Test updating an app on SD numerous times"); in testUpdateAppManyTimesOnSD()
128 CLog.i("Installing app " + currentApkName); in testUpdateAppManyTimesOnSD()
149 CLog.i("Test updating an app on the SD card stays on the SD card"); in testUninstallReinstallAppOnSDManyTimes()
153 CLog.i("Installing app %s (%d)", EXTERNAL_LOC_PKG, i); in testUninstallReinstallAppOnSDManyTimes()
164 CLog.i("Uninstalling app %s (%d)", EXTERNAL_LOC_PKG, i); in testUninstallReinstallAppOnSDManyTimes()
176 CLog.i("Test installing %d large apps onto the sd card", LARGE_APPS.length); in testInstallManyLargeAppsOnSD()
184 CLog.i("Installing app " + apkName); in testInstallManyLargeAppsOnSD()
198 CLog.i("Uninstalling app " + apkName); in testInstallManyLargeAppsOnSD()
212 CLog.i("Test installing %d small apps onto SD", MANY_APPS_END); in testInstallManyAppsOnSD()
[all …]

12345678910>>...12