Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DSimpleFileLoggerTest.java49 private static final String LOG_TAG = SimpleFileLoggerTest.class.getSimpleName(); field in SimpleFileLoggerTest
56 mLogFile = Files.createTempFile(LOG_TAG, null).toFile(); in setUp()
73 mLogger.printLog(LogLevel.DEBUG, LOG_TAG, "debug"); in testPrintLog()
74 mLogger.printLog(LogLevel.INFO, LOG_TAG, "info"); in testPrintLog()
75 mLogger.printLog(LogLevel.WARN, LOG_TAG, "warn"); in testPrintLog()
76 mLogger.printLog(LogLevel.ERROR, LOG_TAG, "error"); in testPrintLog()
80 assertThat(lines.get(0), endsWith(String.format("D/%s: %s", LOG_TAG, "debug"))); in testPrintLog()
81 assertThat(lines.get(1), endsWith(String.format("I/%s: %s", LOG_TAG, "info"))); in testPrintLog()
82 assertThat(lines.get(2), endsWith(String.format("W/%s: %s", LOG_TAG, "warn"))); in testPrintLog()
83 assertThat(lines.get(3), endsWith(String.format("E/%s: %s", LOG_TAG, "error"))); in testPrintLog()
[all …]
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()
142 mockLogger.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); in testThreadedLogging()
145 mockLogger.printLog(LogLevel.ERROR, LOG_TAG, testMessage); in testThreadedLogging()
DFileLoggerTest.java47 private static final String LOG_TAG = "FileLoggerTest"; field in FileLoggerTest
68 logger.printLog(LogLevel.INFO, LOG_TAG, Text1); in testLogToLogger()
69 String expectedText1 = LogUtil.getLogFormatString(LogLevel.INFO, LOG_TAG, Text1).trim(); in testLogToLogger()
70 logger.printLog(LogLevel.VERBOSE, LOG_TAG, Text2); in testLogToLogger()
72 LogUtil.getLogFormatString(LogLevel.VERBOSE, LOG_TAG, Text2).trim(); in testLogToLogger()
73 logger.printLog(LogLevel.ASSERT, LOG_TAG, Text3); in testLogToLogger()
75 LogUtil.getLogFormatString(LogLevel.ASSERT, LOG_TAG, Text3).trim(); in testLogToLogger()
106 int startIndex = message.indexOf(LOG_TAG) - 2; in trimTimestamp()
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Dcommon.h23 #define LOG_TAG "gamecore-sample" macro
24 #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__))
25 #define LOGE(...) ((void)__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__))
26 #define LOGW(...) ((void)__android_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__))
/tools/tradefederation/core/src/com/android/tradefed/result/
DInvocationToJUnitResultForwarder.java39 private static final String LOG_TAG = "InvocationToJUnitResultForwarder"; field in InvocationToJUnitResultForwarder
63 LOG_TAG, 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()
106 LOG_TAG, in testRunStopped()
113 Log.d(LOG_TAG, String.format("Starting test: %s", test.toString())); in testStarted()
/tools/tradefederation/core/test_framework/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.java44 private static final String LOG_TAG = "NativeStressTest"; field in NativeStressTest
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()
DNativeBenchmarkTest.java47 private static final String LOG_TAG = "NativeStressTest"; field in NativeBenchmarkTest
202 Log.i(LOG_TAG, String.format("Running %s for %d iterations with delay %f", in doRunAllTestsInSubdirectory()
206 Log.i(LOG_TAG, String.format("Running native benchmark test on %s: %s", in doRunAllTestsInSubdirectory()
257 Log.w(LOG_TAG, String.format("Could not find native benchmark 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
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()
DClassPathScanner.java41 private static final String LOG_TAG = "ClassPathScanner"; field in ClassPathScanner
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()
234 LOG_TAG, in getClassPathEntriesFromJar()
241 LOG_TAG, in getClassPathEntriesFromJar()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestFuncTest.java51 private static final String LOG_TAG = "InstrumentationTestFuncTest"; field in InstrumentationTestFuncTest
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.java37 private static final String LOG_TAG = "GTestFuncTest"; field in GTestFuncTest
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/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java70 private static final String LOG_TAG = "TestDeviceFuncTest"; field in TestDeviceFuncTest
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 …]
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()
DTestDeviceStressTest.java46 private static final String LOG_TAG = "TestDeviceStressTest"; field in TestDeviceStressTest
75 Log.i(LOG_TAG, String.format("testReboot attempt %d", i)); in testManyReboots()
83 Log.i(LOG_TAG, String.format("testRebootBootloader attempt %d", i)); in testManyRebootBootloaders()
95 Log.i(LOG_TAG, String.format("testDisableKeyguard attempt %d", i)); in testManyDisableKeyguard()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java45 private static final String LOG_TAG = "WaitDeviceRecovery"; field in WaitDeviceRecovery
125 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDevice()
135 LOG_TAG, in recoverDevice()
221 Log.i(LOG_TAG, String.format( in handleDeviceUnresponsive()
268 Log.i(LOG_TAG, String.format("Pausing for %d for %s to recover", in recoverDeviceBootloader()
295 LOG_TAG, in recoverDeviceFastbootd()
327 LOG_TAG, in handleDeviceOnlineExpectedBootloader()
348 LOG_TAG, in handleDeviceOnlineExpectedFasbootd()
446 Log.w(LOG_TAG, String.format("failed to reboot %s: %s", device.getSerialNumber(), in rebootDevice()
449 Log.w(LOG_TAG, String.format("failed to reboot %s: timeout", 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/test_framework/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/
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()
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()
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()
DVideoEditingMemoryTest.java65 private static final String LOG_TAG = "VideoEditorMemoryTest"; field in VideoEditingMemoryTest
191 Log.d(LOG_TAG, String.format( in logOutputFiles()
201 LOG_TAG, 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/common_util/com/android/tradefed/util/
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()
/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