Home
last modified time | relevance | path

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

12345678910>>...22

/tools/tradefederation/core/src/com/android/tradefed/result/
DResultForwarder.java19 import com.android.tradefed.log.LogUtil.CLog;
97 CLog.e( in invocationStarted()
100 CLog.e(e); in invocationStarted()
114 CLog.e( in invocationFailed()
117 CLog.e(e); in invocationFailed()
129 CLog.e( in invocationFailed()
132 CLog.e(e); in invocationFailed()
144 CLog.e( in invocationSkipped()
147 CLog.e(e); in invocationSkipped()
178 CLog.e("Exception while invoking %s#testLog", listener.getClass().getName()); in testLog()
[all …]
DLogSaverResultForwarder.java25 import com.android.tradefed.log.LogUtil.CLog;
59 CLog.e("Caught runtime exception from log saver: %s", mLogSaver.getClass().getName()); in invocationStarted()
60 CLog.e(e); in invocationStarted()
75 CLog.e("Caught runtime exception from log saver: %s", mLogSaver.getClass().getName()); in invocationEnded()
76 CLog.e(e); in invocationEnded()
98 CLog.logAndDisplay(LogLevel.ERROR, e.getMessage()); in logFile()
99 CLog.e(e); in logFile()
103 CLog.e(e); in logFile()
114 CLog.e("%s stream was null, skip saving it.", name); in reportEndHostLog()
130 CLog.e(e); in reportEndHostLog()
[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()
DResultAndLogForwarder.java19 import com.android.tradefed.log.LogUtil.CLog;
56 CLog.e("Failed to save log data"); in testLogSaved()
57 CLog.e(e); in testLogSaved()
70 CLog.e("Failed to provide the log association"); in logAssociation()
71 CLog.e(e); in logAssociation()
85 CLog.e("Failed to setLogSaver"); in setLogSaver()
86 CLog.e(e); in setLogSaver()
/tools/tradefederation/core/javatests/com/android/tradefed/log/
DLogUtilFuncTest.java23 import com.android.tradefed.log.LogUtil.CLog;
41 CLog.v("this is CLog.v"); in testCLog_v()
42 CLog.v("this is CLog.v with a format string: %s has length %d", STRING, STRING.length()); in testCLog_v()
47 CLog.d("this is CLog.d"); in testCLog_d()
48 CLog.d("this is CLog.d with a format string: %s has length %d", STRING, STRING.length()); in testCLog_d()
53 CLog.i("this is CLog.i"); in testCLog_i()
54 CLog.i("this is CLog.i with a format string: %s has length %d", STRING, STRING.length()); in testCLog_i()
59 CLog.w("this is CLog.w"); in testCLog_w()
60 CLog.w("this is CLog.w with a format string: %s has length %d", STRING, STRING.length()); in testCLog_w()
65 CLog.e("this is CLog.e"); in testCLog_e()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java20 import com.android.tradefed.log.LogUtil.CLog;
80 CLog.e( in testStarted()
83 CLog.e(any); in testStarted()
98 CLog.e( in testAssumptionFailure()
101 CLog.e(any); in testAssumptionFailure()
118 CLog.e( in testFailed()
121 CLog.e(any); in testFailed()
136 CLog.e( in testIgnored()
139 CLog.e(any); in testIgnored()
148 CLog.d("ignored null method reported, most likely an @ignored class"); in testEnded()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java24 import com.android.tradefed.log.LogUtil.CLog;
215 CLog.i("Waiting %d ms for device %s shell to be responsive", waitTime, in waitForDeviceShell()
227 CLog.i("shell ready. id output: %s", output); in waitForDeviceShell()
233 CLog.e("%s failed on: %s", cmd, getSerialNumber()); in waitForDeviceShell()
234 CLog.e(e); in waitForDeviceShell()
236 CLog.e("%s failed on %s: timeout", cmd, getSerialNumber()); in waitForDeviceShell()
237 CLog.e(e); in waitForDeviceShell()
243 CLog.w("Device %s shell is unresponsive", getSerialNumber()); in waitForDeviceShell()
307 CLog.i("Waiting %d ms for device %s boot complete", waitTime, getSerialNumber()); in waitForBootComplete()
333 CLog.e("%s failed on: %s", cmd, getSerialNumber()); in waitForBootComplete()
[all …]
DWaitDeviceRecovery.java27 import com.android.tradefed.log.LogUtil.CLog;
128 CLog.i("Pausing for %d for %s to recover", INITIAL_PAUSE_TIME, monitor.getSerialNumber()); in recoverDevice()
136 CLog.i( in recoverDevice()
231 CLog.i("Device %s unresponsive. Rebooting...", monitor.getSerialNumber()); in handleDeviceUnresponsive()
278 CLog.i("Pausing for %d for %s to recover", INITIAL_PAUSE_TIME, monitor.getSerialNumber()); in recoverDeviceBootloader()
303 CLog.i("Pausing for %d for %s to recover", INITIAL_PAUSE_TIME, monitor.getSerialNumber()); in recoverDeviceFastbootd()
331 CLog.i("Found device %s online but expected bootloader.", monitor.getSerialNumber()); in handleDeviceOnlineExpectedBootloader()
350 CLog.i("Found device %s online but expected fastbootd.", monitor.getSerialNumber()); in handleDeviceOnlineExpectedFasbootd()
369 CLog.i( in handleDeviceFastbootdUnresponsive()
416 CLog.i("Found device %s in fastboot but potentially unresponsive.", in handleDeviceBootloaderUnresponsive()
[all …]
DNativeDevice.java53 import com.android.tradefed.log.LogUtil.CLog;
323 CLog.w("Command exited with status: %s", result.getStatus().toString()); in logExceptionAndOutput()
324 CLog.w("Command stdout:\n%s\n", result.getStdout()); in logExceptionAndOutput()
325 CLog.w("Command stderr:\n%s\n", result.getStderr()); in logExceptionAndOutput()
508 CLog.e("Failed to unpacked zipped fastboot."); in setOptions()
509 CLog.e(e); in setOptions()
591 CLog.i("Device %s is in fastboot mode, re-querying with '%s' for %s", getSerialNumber(), in internalGetProperty()
599 CLog.d( in internalGetProperty()
622 CLog.d("Using property %s=%s from cache.", name, property); in getPropertyWithRecovery()
634 CLog.w( in getPropertyWithRecovery()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/
DKernelTestModuleController.java23 import com.android.tradefed.log.LogUtil.CLog;
67 CLog.d("Skipping module %s because %s is False.", getModuleName(), lowMemProp); in shouldRun()
72 CLog.d( in shouldRun()
81 CLog.d( in shouldRun()
88 CLog.d( in shouldRun()
98 CLog.d( in shouldRun()
115 CLog.d("Cannot get the prop of %s.", lowMemProp); in deviceLowMem()
122 CLog.e("Couldn't check prop of %s on %s", lowMemProp, device.getSerialNumber()); in deviceLowMem()
123 CLog.e(e); in deviceLowMem()
141 CLog.d("Cannot get the prop of %s.", productNameProp); in deviceWithHwasan()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/sync/
DIncrementalImageFuncTest.java25 import com.android.tradefed.log.LogUtil.CLog;
101 CLog.d("Original build id: %s", originalBuildId); in testBlockUtility()
118 CLog.d( in testBlockUtility()
125 CLog.d("Original build id: %s. after unmount build id: %s", originalBuildId, afterRevert); in testBlockUtility()
132 CLog.d("Original build id: %s", originalBuildId); in testBlockCompareUpdate()
161 CLog.e("Skipping %s no src or target", partition); in testBlockCompareUpdate()
177 CLog.e("stdout: %s, stderr: %s", whichOutput.getStdout(), whichOutput.getStderr()); in testBlockCompareUpdate()
193 CLog.e( in testBlockCompareUpdate()
210 CLog.e("stdout: %s, stderr: %s", mapOutput.getStdout(), mapOutput.getStderr()); in testBlockCompareUpdate()
229 CLog.d("Status: %s", fastbootResult.getStatus()); in testBlockCompareUpdate()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceSshTunnelMonitor.java27 import com.android.tradefed.log.LogUtil.CLog;
153 CLog.d("closeConnection is triggered."); in closeConnection()
161 CLog.d("Failed to disconnect from local host %s", mLocalHostAndPort.toString()); in closeConnection()
171 CLog.e("SSH tunnel may not have properly terminated."); in closeConnection()
174 CLog.e("SSH tunnel interrupted during shutdown: %s", e.getMessage()); in closeConnection()
187 CLog.w("ssh key was not available for a temporary period of time."); in checkSshKey()
215 CLog.d("Running %s", stopAdb); in initGce()
224 CLog.w("failed to stop adbd %s", result.getStderr()); in initGce()
245 CLog.d("Running %s", startAdb); in initGce()
247 CLog.w("failed to start adbd", result); in initGce()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/content/
DTestContentAnalyzer.java26 import com.android.tradefed.log.LogUtil.CLog;
66 CLog.d("Analysis doesn't currently support multi-builds."); in evaluate()
78 CLog.d( in evaluate()
88 CLog.w("Analysis was aborted: %s", context.abortReason()); in evaluate()
105 CLog.d( in evaluate()
116 CLog.d("No context to analyze."); in evaluate()
142 CLog.d("content analysis results for %s: %s", ac.contentEntry(), results); in evaluate()
153 CLog.d("Mismatch: we would expect a root directory for MODULE_XTS analysis"); in xtsAnalysis()
159 CLog.d("Analysis failed."); in xtsAnalysis()
183 CLog.d("Tools folder has diffs: %s", commonDiff); in mapDiffsToModule()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DVisibleBackgroundUserPreparer.java25 import com.android.tradefed.log.LogUtil.CLog;
59 CLog.i("setUp(): mReuseTestUser=%b, mDisplayId=%d", mReuseTestUser, mDisplayId); in setUp()
89 CLog.d("Displays: %s", displays); in startUserVisibleOnBackground()
101 CLog.d( in startUserVisibleOnBackground()
116 CLog.d( in startUserVisibleOnBackground()
120 CLog.d( in startUserVisibleOnBackground()
132 CLog.i("Setting test property %s=%d", RUN_TESTS_AS_USER_KEY, mUserId); in startUserVisibleOnBackground()
139 CLog.d("Skipping teardown because no user was created or reused"); in tearDown()
145 CLog.d("Skipping teardown due to dnae: %s", e.getMessage()); in tearDown()
159 CLog.d("stopTestUser(): user %d was already visible on start", mUserId); in stopTestUser()
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
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 …]
DCamera2StressTest.java23 import com.android.tradefed.log.LogUtil.CLog;
83 CLog.v( in testEnded()
121 CLog.v("Skipping the screenshot (%s) that doesn't match the current " in postScreenshotOnFailure()
127 CLog.w("Could not pull screenshot: %s", remoteFile.getFullPath()); in postScreenshotOnFailure()
137 CLog.e(e); in postScreenshotOnFailure()
139 CLog.e(e); in postScreenshotOnFailure()
169 CLog.v("%s: %s", key, value); in parseLog()
178 CLog.w("Failed to start stress tests. test setup configured incorrectly?"); in parseLog()
184 CLog.w("Couldn't parse the output log file:"); in parseLog()
185 CLog.e(e); in parseLog()
[all …]
/tools/tradefederation/core/global_configuration/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()
116 CLog.w("null key passed"); in setKey()
120 CLog.w("null keystore"); in setKey()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPythonVirtualenvPreparer.java25 import com.android.tradefed.log.LogUtil.CLog;
65 CLog.i("Skipping PythonVirtualenvPreparer"); in setUp()
79 CLog.e("Installing dependencies from %s failed", in installDeps()
88 CLog.i("Attempting installation of %s", dep); in installDeps()
92 CLog.e("Installing %s failed", dep); in installDeps()
96 CLog.d("Successfullly installed %s.", dep); in installDeps()
97 CLog.d("Stdout: %s", c.getStdout()); in installDeps()
103 CLog.i("No dependencies to install"); in installDeps()
126 CLog.e("Failed to create temp directory for virtualenv"); in startVirtualenv()
130 CLog.i("Using existing virtualenv based at %s", mVenvDir.getAbsolutePath()); in startVirtualenv()
[all …]
DSemaphoreTokenTargetPreparer.java21 import com.android.tradefed.log.LogUtil.CLog;
51 CLog.v("Waiting to acquire run token"); in setUp()
54 CLog.v("Token acquired"); in setUp()
57 CLog.e(e); in setUp()
58 CLog.e("Interrupted error during token acquire"); in setUp()
69 CLog.v("Releasing run token"); in tearDown()
73 CLog.v("Did not acquire token, skip releasing run token"); in tearDown()
/tools/tradefederation/core/global_configuration/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/invoker/shard/token/
DTelephonyTokenProvider.java23 import com.android.tradefed.log.LogUtil.CLog;
50 CLog.e("SimcardInfo: %s", info); in hasToken()
59 CLog.w( in hasToken()
67 CLog.w( in hasToken()
81 CLog.w( in hasToken()
91 CLog.w( in hasToken()
96 CLog.w("Token '%s' doesn't match any TelephonyTokenProvider tokens.", token); in hasToken()
100 CLog.e("Ignoring DNAE: %s", e); in hasToken()
113 CLog.d("queried sim property: '%s'. result: '%s'", property, propRes); in getOptionalDualSimProperty()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSl4aBluetoothUtil.java21 import com.android.tradefed.log.LogUtil.CLog;
282 CLog.e( in getAddress()
311 CLog.e("Failed to get bonded devices for device: %s, %s", device.getSerialNumber(), e); in getBondedDevices()
330 CLog.i("The two devices are already paired."); in pair()
333 CLog.d("Make secondary device discoverable"); in pair()
337 CLog.e("Scan mode is not CONNECTABLE_DISCOVERABLE"); in pair()
340 CLog.d("Secondary device is made discoverable"); in pair()
342 CLog.d("Start pairing helper on both devices"); in pair()
347 CLog.d("Start discover and bond to secondary device: %s", secondary.getSerialNumber()); in pair()
352 CLog.e("Bluetooth pairing timeout"); in pair()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/util/
DAdbUtils.java21 import com.android.tradefed.log.LogUtil.CLog;
45 CLog.w( in updateAdb()
52 CLog.d("Use the adb in the $PATH."); in updateAdb()
58 CLog.d("Testing with adb binary at: %s", updatedAdb); in updateAdb()
76 CLog.d("Using $PATH with updated adb: %s", path); in updateAdb()
80 CLog.d("%s", versionRes.getStdout()); in updateAdb()
81 CLog.d("%s", versionRes.getStderr()); in updateAdb()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java30 import com.android.tradefed.log.LogUtil.CLog;
175 CLog.i("Using file %s from %s", fileName, resolvedFile.getAbsolutePath()); in getFileFromTestArtifacts()
298 CLog.e(dnae); in testModuleStarted()
300 CLog.e(t); in testModuleStarted()
315 CLog.e(dnae); in testModuleEnded()
317 CLog.e(t); in testModuleEnded()
354 CLog.e(e); in testRunStarted()
357 CLog.e(t); in testRunStarted()
373 CLog.e(e); in testRunFailed()
376 CLog.e(t); in testRunFailed()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java27 import com.android.tradefed.log.LogUtil.CLog;
231 CLog.e("Failed to copy options: %s", e.getMessage()); in split()
284 CLog.i("Tests config file: %s", testsConfigFile.getPath()); in run()
285 CLog.i("Profiles to be tested: %s", profiles); in run()
293 CLog.i("PTS HCI port: %s", getHciPort()); in run()
341 CLog.e("Failed to get pts-bot path"); in displayPtsBotVersion()
342 CLog.e( in displayPtsBotVersion()
350 CLog.e("Failed to get pts-bot version"); in displayPtsBotVersion()
351 CLog.e( in displayPtsBotVersion()
356 CLog.d("pts-bot version: %s", c.getStdout().trim()); in displayPtsBotVersion()
[all …]

12345678910>>...22