Home
last modified time | relevance | path

Searched refs:LOG_TAG (Results 1 – 25 of 39) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DLogRegistryTest.java30 private static final String LOG_TAG = "LogRegistryTest"; field in LogRegistryTest
83 mockLogger.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); in testPrintLog_sameLogLevel()
86 mLogRegistry.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); in testPrintLog_sameLogLevel()
103 mLogRegistry.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); in testPrintLog_lowerLogLevel()
119 Log.e(LOG_TAG, testMessage); in testThreadedLogging()
127 Log.v(LOG_TAG, testMessage); in testThreadedLogging()
144 mockLogger.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); in testThreadedLogging()
147 mockLogger.printLog(LogLevel.ERROR, LOG_TAG, testMessage); in testThreadedLogging()
DFileLoggerTest.java39 private static final String LOG_TAG = "FileLoggerTest"; field in FileLoggerTest
60 logger.printLog(LogLevel.INFO, LOG_TAG, Text1); in testLogToLogger()
61 String expectedText1 = LogUtil.getLogFormatString(LogLevel.INFO, LOG_TAG, Text1).trim(); in testLogToLogger()
62 logger.printLog(LogLevel.VERBOSE, LOG_TAG, Text2); in testLogToLogger()
64 LogUtil.getLogFormatString(LogLevel.VERBOSE, LOG_TAG, Text2).trim(); in testLogToLogger()
65 logger.printLog(LogLevel.ASSERT, LOG_TAG, Text3); in testLogToLogger()
67 LogUtil.getLogFormatString(LogLevel.ASSERT, LOG_TAG, Text3).trim(); in testLogToLogger()
98 int startIndex = message.indexOf(LOG_TAG) - 2; in trimTimestamp()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerHostTests.java36 private static final String LOG_TAG = "PackageManagerHostTests"; field in PackageManagerHostTests
164 Log.i(LOG_TAG, "testing pushing an apk to /data/app-private"); in testPushAppPrivate()
238 Log.i(LOG_TAG, "Test app manifest installLocation=auto gets installed on device"); in testInstallAppLocPrefIsAuto()
269 Log.i(LOG_TAG, "Test app manifest installLocation=internal gets installed on device"); in testInstallAppLocPrefIsInternal()
301 Log.i(LOG_TAG, "Test installLocation=external gets installed on SD Card"); in testInstallAppLocPrefIsExternal()
312 Log.i(LOG_TAG, "Test an app with no installLocation gets installed on device"); in testInstallAppNoLocPrefIsAuto()
331 Log.i(LOG_TAG, "Test an app with installLoc set to Internal gets installed to app-private"); in testInstallFwdLockedAppInternal()
351 Log.i(LOG_TAG, "Test an app with installLoc set to Internal gets installed to app-private"); in testInstallFwdLockedAppExternal()
371 Log.i(LOG_TAG, "Test an app with installLoc set to Auto gets installed to app-private"); in testInstallFwdLockedAppAuto()
390 Log.i(LOG_TAG, "Test an app with no installLoc set gets installed to app-private"); in testInstallFwdLockedAppNone()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java38 private static final String LOG_TAG = "WaitDeviceRecovery"; field in WaitDeviceRecovery
116 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDevice()
124 Log.i(LOG_TAG, String.format( in recoverDevice()
208 Log.i(LOG_TAG, String.format( in handleDeviceUnresponsive()
249 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDeviceBootloader()
277 Log.i(LOG_TAG, String.format("Found device %s online but expected fastboot.", in handleDeviceOnlineExpectedBootloader()
330 Log.w(LOG_TAG, String.format("failed to reboot %s: %s", device.getSerialNumber(), in rebootDeviceIntoBootloader()
333 Log.w(LOG_TAG, String.format("failed to reboot %s: timeout", device.getSerialNumber())); in rebootDeviceIntoBootloader()
335 Log.w(LOG_TAG, String.format("failed to reboot %s: %s", device.getSerialNumber(), in rebootDeviceIntoBootloader()
349 Log.w(LOG_TAG, String.format("failed to reboot %s: %s", device.getSerialNumber(), in rebootDevice()
[all …]
DDeviceDiagTest.java36 private static final String LOG_TAG = "DeviceDiagTest"; field in DeviceDiagTest
45 Log.i(LOG_TAG, "Unavailable devices detected, sleeping and polling"); in testAllDevicesAvailable()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DNativeBenchmarkTestParser.java39 private final static String LOG_TAG = "NativeBenchmarkTestParser"; field in NativeBenchmarkTestParser
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()
DNativeStressTestParser.java42 private final static String LOG_TAG = "NativeStressTestParser"; field in NativeStressTestParser
80 Log.i(LOG_TAG, String.format("%s: pass %d", mTestRunName, currentIteration)); in parseIterationValue()
84 Log.e(LOG_TAG, String.format("Unexpected iteration content %s", line)); in parseIterationValue()
DNativeStressTest.java43 private static final String LOG_TAG = "NativeStressTest"; field in NativeStressTest
161 Log.i(LOG_TAG, String.format("Running native stress test %s on %s", fullPath, in doRunAllTestsInSubdirectory()
171 Log.i(LOG_TAG, String.format("Running %s for %d iterations", in doRunAllTestsInSubdirectory()
198 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()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestLoader.java43 private static final String LOG_TAG = "TestLoader"; field in TestLoader
61 Log.e(LOG_TAG, String.format("IOException when loading test classes from jar %s", in loadTests()
63 Log.e(LOG_TAG, e); in loadTests()
91 Log.e(LOG_TAG, e); in loadTests()
93 Log.e(LOG_TAG, e); in loadTests()
96 Log.e(LOG_TAG, e); in loadTests()
DQuotationAwareTokenizer.java25 private static final String LOG_TAG = "TOKEN"; field in QuotationAwareTokenizer
68 Log.d(LOG_TAG, String.format("Trying to tokenize the line '%s'", line)); in tokenizeLine()
80 Log.d(LOG_TAG, String.format("Finished token '%s'", token.toString())); in tokenizeLine()
88 Log.v(LOG_TAG, "Flipped quotation state"); in tokenizeLine()
104 Log.v(LOG_TAG, String.format("Finished final token '%s'", token.toString())); in tokenizeLine()
DEmail.java36 private static final String LOG_TAG = "Email"; field in Email
132 Log.d(LOG_TAG, String.format("About to send email with command: %s", in send()
153 … Log.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()
DClassPathScanner.java39 private static final String LOG_TAG = "ClassPathScanner"; field in ClassPathScanner
154 Log.w(LOG_TAG, String.format("Directory %s in classPath is not readable, skipping", in getEntriesFromDir()
171 Log.d(LOG_TAG, String.format("file %s in classPath is not recognized, skipping", in getEntriesFromDir()
206 Log.w(LOG_TAG, String.format( in getClassPathEntries()
211 Log.w(LOG_TAG, String.format("Failed to read class path entry %s. Reason: %s", in getClassPathEntries()
/tools/tradefederation/core/src/com/android/tradefed/result/
DInvocationToJUnitResultForwarder.java38 private static final String LOG_TAG = "InvocationToJUnitResultForwarder"; field in InvocationToJUnitResultForwarder
75 Log.i(LOG_TAG, String.format("run ended %d ms", elapsedTime)); in testRunEnded()
84 Log.e(LOG_TAG, String.format("run failed: %s", errorMessage)); in testRunFailed()
93 Log.i(LOG_TAG, String.format("run %s started: %d tests", runName, testCount)); in testRunStarted()
101 Log.i(LOG_TAG, String.format("run stopped: %d ms", elapsedTime)); in testRunStopped()
107 Log.d(LOG_TAG, test.toString()); in testStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestFuncTest.java50 private static final String LOG_TAG = "InstrumentationTestFuncTest"; field in InstrumentationTestFuncTest
88 Log.i(LOG_TAG, "testRun"); in testRun()
110 Log.i(LOG_TAG, "testRun_testFailed"); in testRun_testFailed()
131 Log.i(LOG_TAG, "testRun_testCrash"); in testRun_testCrash()
171 Log.i(LOG_TAG, "testRun_testTimeout"); in testRun_testTimeout()
203 Log.i(LOG_TAG, "testRun_deviceReboot"); in testRun_deviceReboot()
223 Log.w(LOG_TAG, "interrupted"); in testRun_deviceReboot()
225 Log.w(LOG_TAG, "Device did not come back online after reboot"); in testRun_deviceReboot()
253 Log.i(LOG_TAG, "testRun_maxTimeout"); in testRun_maxTimeout()
278 Log.i(LOG_TAG, "testRun_deviceRuntimeReset"); in testRun_deviceRuntimeReset()
[all …]
DGTestFuncTest.java36 private static final String LOG_TAG = "GTestFuncTest"; field in GTestFuncTest
64 Log.i(LOG_TAG, "testRun"); in testRun()
119 Log.i(LOG_TAG, "testRun_testCrash"); in testRun_testCrash()
135 Log.i(LOG_TAG, "testRun_deviceReboot"); in testRun_deviceReboot()
157 Log.w(LOG_TAG, "interrupted"); in testRun_deviceReboot()
159 Log.w(LOG_TAG, "IOException when rebooting"); in testRun_deviceReboot()
173 Log.i(LOG_TAG, "testRun_timeout"); in testRun_timeout()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java64 private static final String LOG_TAG = "TestDeviceFuncTest"; field in TestDeviceFuncTest
135 Log.i(LOG_TAG, "testExecuteShellCommand"); in testExecuteShellCommand()
151 Log.i(LOG_TAG, "testInstallUninstall"); in testInstallUninstall()
183 Log.i(LOG_TAG, "testInstallUninstall_space"); in testInstallUninstall_space()
200 Log.i(LOG_TAG, "testPushPull"); in testPushPull_normal()
238 Log.i(LOG_TAG, "testPushPull"); in testPushPull_extStorageVariable()
281 Log.i(LOG_TAG, "testPull_noexist"); in testPull_noexist()
329 Log.i(LOG_TAG, "testPush_noexist"); in testPush_noexist()
513 Log.i(LOG_TAG, "testExecuteFastbootCommand_deviceInAdb"); in testExecuteFastbootCommand_deviceInAdb()
515 Log.i(LOG_TAG, "Fastboot not enabled skipping testExecuteFastbootCommand_deviceInAdb"); in testExecuteFastbootCommand_deviceInAdb()
[all …]
DDeviceManagerFuncTest.java27 private static final String LOG_TAG = "DeviceManagerFuncTest"; field in DeviceManagerFuncTest
43 Log.i(LOG_TAG, "Starting testReconnectDeviceToTcp_backUsb"); in testReconnectDeviceToTcp_backUsb()
77 Log.i(LOG_TAG, "Starting testReconnectDeviceToTcp_reboot"); in testReconnectDeviceToTcp_reboot()
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java57 private static final String LOG_TAG = "XmlDefsTest"; field in XmlDefsTest
259 Log.i(LOG_TAG, String.format("Parsing test def file %s", in parseFile()
263 Log.e(LOG_TAG, String.format("Could not find test def file %s", in parseFile()
266 Log.e(LOG_TAG, String.format("Could not parse test def file %s: %s", in parseFile()
281 Log.d(LOG_TAG, String.format("Running test %s on %s", test.getPackageName(), in doRun()
318 Log.d(LOG_TAG, "Device not set, skipping collection of remote file"); in getRemoteFile()
327 Log.e(LOG_TAG, "Failed to create temp file"); in getRemoteFile()
328 Log.e(LOG_TAG, e); in getRemoteFile()
383 Log.w(LOG_TAG, "sharding is only supported if local xml files have been specified"); in split()
396 Log.w(LOG_TAG, "no tests to shard!"); in split()
/tools/tradefederation/core/prod-tests/src/com/android/ota/tests/
DOtaStabilityTest.java68 private static final String LOG_TAG = "OtaStabilityTest"; field in OtaStabilityTest
220 Log.i(LOG_TAG, in run()
225 Log.e(LOG_TAG, error); in run()
233 Log.e(LOG_TAG, e); in run()
235 Log.e(LOG_TAG, e); in run()
299 Log.e(LOG_TAG, String.format( in waitForOta()
308 Log.e(LOG_TAG, String.format( in waitForOta()
337 Log.e(LOG_TAG, String.format("Failed to get recovery log from device %s", in sendRecoveryLog()
339 Log.e(LOG_TAG, e); in sendRecoveryLog()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DCdmaDeviceFlasher.java41 private static final String LOG_TAG = "CdmaDeviceFlasher"; field in CdmaDeviceFlasher
76 Log.i(LOG_TAG, String.format("Flashing device %s with build %s", in flash()
89 Log.i(LOG_TAG, "Performing special CDMA baseband update flash procedure"); in flash()
143 File updateDir = FileUtil.createTempDir(LOG_TAG); in extractSystemZip()
157 Log.i(LOG_TAG, String.format("MANUALLY flashing individual partitions on %s.", in flashSystem()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoEditingPerformanceTest.java62 private static final String LOG_TAG = "VideoEditingPerformanceTest"; field in VideoEditingPerformanceTest
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()
DMediaPlayerStressTest.java65 private static final String LOG_TAG = "MediaPlayerStress"; field in MediaPlayerStressTest
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()
DCameraStressTest.java63 private static final String LOG_TAG = "CameraStressTest"; field in CameraStressTest
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()
254 … Log.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()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java44 private static final String LOG_TAG = "FileDownloadCache"; field in FileDownloadCache
105 Log.d(LOG_TAG, String.format("Creating file cache at %s", in FileDownloadCache()
112 Log.d(LOG_TAG, String.format("Building file cache from contents at %s", in FileDownloadCache()
164 Log.w(LOG_TAG, String.format("Unrecognized file type %s in cache", in addFiles()
269 LOG_TAG, in fetchRemoteFile()
294 Log.d(LOG_TAG, String.format("Downloading %s to cache", remotePath)); in downloadFile()
362 Log.e(LOG_TAG, "Cache size is less than 0!"); in incrementAndAdjustCache()
367 Log.w(LOG_TAG, "File cache is over-capacity."); in incrementAndAdjustCache()
/tools/tradefederation/core/src/com/android/tradefed/util/xml/
DAbstractXmlParser.java36 private static final String LOG_TAG = "XmlDefsParser"; field in AbstractXmlParser
64 Log.e(LOG_TAG, e); in parse()

12