Home
last modified time | relevance | path

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

12345678910>>...58

/cts/suite/audio_quality/lib/include/
DLog.h26 class Log: public FileUtil {
36 static Log* Instance(const char* dirName = NULL);
46 Log();
47 virtual ~Log();
51 static Log* mInstance;
55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \
56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0)
57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0)
58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0)
59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0)
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java27 import android.util.Log;
74 Log.v(TAG, e.toString()); in printCpuInfo()
81 Log.v(TAG, "getDuration - " + filePath); in getDuration()
87 Log.v(TAG, e.toString()); in getDuration()
90 Log.v(TAG, "Duration " + duration); in getDuration()
92 Log.v(TAG, "release"); in getDuration()
97 Log.v(TAG, "GetCurrentPosition - " + filePath); in getCurrentPosition()
104 Log.v(TAG, "start playback"); in getCurrentPosition()
113 Log.v(TAG, e.toString()); in getCurrentPosition()
118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
[all …]
DMediaRecorderStressTest.java28 import android.util.Log;
102 Log.v(TAG, "starting looper"); in setUp()
107 Log.v(TAG, "quit looper"); in setUp()
182 Log.v(TAG, "Start preview"); in testStressCamera()
250 Log.v(TAG, String.format("Camera video size used for test %dx%d", width, height)); in testStressRecorder()
256 Log.v(TAG, "Start preview"); in testStressRecorder()
264 Log.v(TAG, "counter = " + i); in testStressRecorder()
266 Log.v(TAG, filename); in testStressRecorder()
273 Log.v(TAG, "setEncoder"); in testStressRecorder()
276 Log.v(TAG, "setPreview"); in testStressRecorder()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerDrmTestBase.java43 import android.util.Log;
179 Log.i(TAG, "Downloading file:" + path); in playModularDrmVideoDownload()
185 Log.i(TAG, "Downloaded file:" + path + " id:" + id + " uri:" + file); in playModularDrmVideoDownload()
209 Log.v(TAG, "playVideoWithRetries(" + testType + ") try " + i); in playModularDrmVideoWithRetries()
216 Log.w(TAG, "playVideoWithRetries(" + testType + ") failed on try " + i + in playModularDrmVideoWithRetries()
263 Log.v(TAG, "playLoadedVideo: setDataSource()"); in playLoadedModularDrmVideo_Generic()
275 Log.v(TAG, "VideoSizeChanged" + " w:" + w + " h:" + h); in playLoadedModularDrmVideo_Generic()
320 Log.v(TAG, "playLoadedVideo: onCompletion"); in playLoadedModularDrmVideo_Generic()
325 Log.v(TAG, "playLoadedVideo: start()"); in playLoadedModularDrmVideo_Generic()
334 Log.v(TAG, "playLoadedVideo: waiting for playback completion"); in playLoadedModularDrmVideo_Generic()
[all …]
DExtractDecodeEditEncodeMuxTest.java34 import android.util.Log;
241 Log.w(TAG, "WARNING: width or height not multiple of 16"); in setSize()
317 if (VERBOSE) Log.d(TAG, "video format: " + outputVideoFormat); in extractDecodeEditEncodeMux()
322 Log.e(TAG, "Unable to find an appropriate codec for " + outputVideoFormat); in extractDecodeEditEncodeMux()
325 if (VERBOSE) Log.d(TAG, "video found codec: " + videoEncoderName); in extractDecodeEditEncodeMux()
338 Log.e(TAG, "Unable to find an appropriate codec for " + outputAudioFormat); in extractDecodeEditEncodeMux()
341 if (VERBOSE) Log.d(TAG, "audio found codec: " + audioEncoderName); in extractDecodeEditEncodeMux()
401 if (VERBOSE) Log.d(TAG, "releasing extractor, decoder, encoder, and muxer"); in extractDecodeEditEncodeMux()
412 Log.e(TAG, "error while releasing videoExtractor", e); in extractDecodeEditEncodeMux()
422 Log.e(TAG, "error while releasing audioExtractor", e); in extractDecodeEditEncodeMux()
[all …]
DResourceManagerTestActivityBase.java27 import android.util.Log;
46 Log.d(TAG, "onInputBufferAvailable " + codec.toString()); in onInputBufferAvailable()
52 Log.d(TAG, "onOutputBufferAvailable " + codec.toString()); in onOutputBufferAvailable()
57 Log.d(TAG, "onError " + codec.toString() + " errorCode " + e.getErrorCode()); in onError()
62 Log.d(TAG, "onOutputFormatChanged " + codec.toString()); in onOutputFormatChanged()
101 Log.d(TAG, "securePlayback " + securePlayback + " will use " + info.getName()); in getTestCodecInfo()
103 Log.d(TAG, "securePlayback " + securePlayback + " skip " + info.getName()); in getTestCodecInfo()
121 Log.d(TAG, "type is: " + type); in allocateCodecs()
149 Log.d(TAG, "test skipped as there's no supported codec."); in allocateCodecs()
153 Log.d(TAG, "allocateCodecs returned " + mCodecs.size()); in allocateCodecs()
[all …]
DVolumeShaperTest.java34 import android.util.Log;
351 Log.d(TAG, TEST_NAME + " configuration builder should throw ISE if no curve specified"); in testVolumeShaperConfigurationBuilder()
364 Log.d(TAG, TEST_NAME + " configuration builder should IAE on invalid curve"); in testVolumeShaperConfigurationBuilder()
387 Log.d(TAG, TEST_NAME + " configuration builder should throw IAE on invalid duration"); in testVolumeShaperConfigurationBuilder()
395 Log.d(TAG, TEST_NAME + " configuration builder should throw IAE on invalid interpolator"); in testVolumeShaperConfigurationBuilder()
494 Log.d(TAG, TEST_NAME + " configuration builder " in testVolumeShaperConfigurationBuilder()
558 Log.w(TAG, "AUDIO_OUTPUT feature not found. This system might not have a valid " in testMaximumShapers()
577 Log.d(TAG, testName + " " + i + " shapers created before failure (OK)"); in testMaximumShapers()
588 Log.w(TAG, "AUDIO_OUTPUT feature not found. This system might not have a valid " in testPlayerDuck()
599 Log.d(TAG, testName + " starting"); in testPlayerDuck()
[all …]
DDecodeEditEncodeTest.java25 import android.util.Log;
144 Log.w(TAG, "WARNING: width or height not multiple of 16"); in setParameters()
190 if (VERBOSE) Log.d(TAG, "generateVideoFile " + mWidth + "x" + mHeight); in generateVideoFile()
202 Log.e(TAG, "Unable to find an appropriate codec for " + MIME_TYPE); in generateVideoFile()
205 if (VERBOSE) Log.d(TAG, "found codec: " + codecName); in generateVideoFile()
214 if (VERBOSE) Log.d(TAG, "format: " + format); in generateVideoFile()
228 if (VERBOSE) Log.d(TAG, "releasing encoder"); in generateVideoFile()
231 if (VERBOSE) Log.d(TAG, "released encoder"); in generateVideoFile()
266 if (VERBOSE) Log.d(TAG, "gen loop"); in generateVideoData()
273 if (VERBOSE) Log.d(TAG, "signaling input EOS"); in generateVideoData()
[all …]
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java42 import android.util.Log;
108 Log.w(TAG, "Skipping testGetActiveAdmins"); in testGetActiveAdmins()
119 Log.w(TAG, "Skipping testKeyguardDisabledFeatures"); in testKeyguardDisabledFeatures()
137 Log.w(TAG, "Skipping testRequestRemoteBugreport_failIfNotDeviceOwner"); in testRequestRemoteBugreport_failIfNotDeviceOwner()
150 Log.w(TAG, "Skipping testSetSecurityLoggingEnabled_failIfNotDeviceOwner"); in testSetSecurityLoggingEnabled_failIfNotDeviceOwner()
163 Log.w(TAG, "Skipping testIsSecurityLoggingEnabled_failIfNotDeviceOwner"); in testIsSecurityLoggingEnabled_failIfNotDeviceOwner()
176 Log.w(TAG, "Skipping testRetrieveSecurityLogs_failIfNotDeviceOwner"); in testRetrieveSecurityLogs_failIfNotDeviceOwner()
189 Log.w(TAG, "Skipping testRetrievePreRebootSecurityLogs_failIfNotDeviceOwner"); in testRetrievePreRebootSecurityLogs_failIfNotDeviceOwner()
202 Log.w(TAG, "Skipping testSetNetworkLoggingEnabled_failIfNotDeviceOwner"); in testSetNetworkLoggingEnabled_failIfNotDeviceOwner()
215 Log.w(TAG, "Skipping testIsNetworkLoggingEnabled_failIfNotDeviceOwner"); in testIsNetworkLoggingEnabled_failIfNotDeviceOwner()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DLogTest.java21 import android.util.Log;
44 Log.e(TAG, msg); in testLogOperations()
45 Log.e(TAG, msg, tr); in testLogOperations()
46 Log.w(TAG, msg); in testLogOperations()
47 Log.w(TAG, tr); in testLogOperations()
48 Log.w(TAG, msg, tr); in testLogOperations()
49 Log.i(TAG, msg); in testLogOperations()
50 Log.i(TAG, msg, tr); in testLogOperations()
51 Log.d(TAG, msg); in testLogOperations()
52 Log.d(TAG, msg, tr); in testLogOperations()
[all …]
/cts/suite/audio_quality/lib/src/
DLog.cpp22 Log* Log::mInstance = NULL;
28 Log* Log::Instance(const char* dirName) in Instance()
31 mInstance = new Log(); in Instance()
36 void Log::Finalize() in Finalize()
41 void Log::printf(LogLevel level, const char* fmt, ...) in printf()
49 void Log::setLogLevel(LogLevel level) in setLogLevel()
54 Log::Log() in Log() function in Log
60 Log::~Log() in ~Log()
65 bool Log::init(const char* dirName) in init()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathOutOfBandTestCase.java34 import android.util.Log;
112 Log.d(TAG, "executeTest: mIsSecurityOpen=" + mIsSecurityOpen + ", mIsResponder=" in executeTest()
125 Log.e(TAG, "executeTest: attach TIMEOUT"); in executeTest()
129 Log.e(TAG, "executeTest: attach ON_ATTACH_FAILED"); in executeTest()
135 Log.e(TAG, "executeTest: attach callback succeeded but null session returned!?"); in executeTest()
140 Log.d(TAG, "executeTest: attach succeeded"); in executeTest()
145 Log.e(TAG, "executeTest: identity callback not triggered"); in executeTest()
151 Log.d(TAG, "executeTest: identity received: " + bytesToHex(mDiscoveryMac, ':')); in executeTest()
188 if (DBG) Log.d(TAG, "executeTestResponder"); in executeTestResponder()
194 if (DBG) Log.d(TAG, "executeTestResponder: publishConfig=" + publishConfig); in executeTestResponder()
[all …]
DDiscoveryBaseTestCase.java26 import android.util.Log;
103 Log.e(TAG, "executeTest: attach TIMEOUT"); in executeAttach()
107 Log.e(TAG, "executeTest: attach ON_ATTACH_FAILED"); in executeAttach()
113 Log.e(TAG, "executeTest: attach callback succeeded but null session returned!?"); in executeAttach()
118 Log.d(TAG, "executeTest: attach succeeded"); in executeAttach()
126 Log.e(TAG, "executeAttach: identity callback not triggered"); in executeAttach()
133 Log.d(TAG, "executeAttach: identity received: " + mMyMacAddress.toString()); in executeAttach()
162 if (DBG) Log.d(TAG, "executeTestSubscriber: subscribeConfig=" + subscribeConfig); in executeSubscribe()
172 Log.e(TAG, "executeTestSubscriber: subscribe TIMEOUT"); in executeSubscribe()
176 Log.e(TAG, "executeTestSubscriber: subscribe ON_SESSION_CONFIG_FAILED"); in executeSubscribe()
[all …]
DDataPathInBandTestCase.java28 import android.util.Log;
104 Log.d(TAG, in executeTest()
144 if (DBG) Log.d(TAG, "executeTestSubscriber"); in executeTestSubscriber()
155 Log.e(TAG, "executeTestSubscriber: receive message TIMEOUT"); in executeTestSubscriber()
159 if (DBG) Log.d(TAG, "executeTestSubscriber: received message"); in executeTestSubscriber()
164 Log.e(TAG, "executeTestSubscriber: receive message message content mismatch: rx='" in executeTestSubscriber()
182 if (DBG) Log.d(TAG, "executeTestSubscriber: requested network"); in executeTestSubscriber()
188 Log.e(TAG, "executeTestSubscriber: network request rejected or timed-out"); in executeTestSubscriber()
193 Log.e(TAG, "executeTestSubscriber: received a null Network or NetworkCapabilities!?"); in executeTestSubscriber()
199 Log.e(TAG, "executeTestSubscriber: network request accepted - but leaks NS!"); in executeTestSubscriber()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DOutOfProcessLoginActivity.java22 import android.util.Log;
40 Log.i(TAG, "onCreate(" + savedInstanceState + ")"); in onCreate()
52 Log.i(TAG, "onStart()"); in onStart()
56 Log.e(TAG, "cannot write started file"); in onStart()
59 Log.e(TAG, "cannot write started file: " + e); in onStart()
65 Log.i(TAG, "onStop()"); in onStop()
70 Log.e(TAG, "could not write stopped marker"); in onStop()
72 Log.v(TAG, "wrote stopped marker"); in onStop()
75 Log.e(TAG, "could write stopped marker: " + e); in onStop()
81 Log.i(TAG, "onDestroy()"); in onDestroy()
[all …]
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DAbstractLifecycleLogActivity.java25 import android.util.Log;
32 Log.i(getTag(), "onCreate"); in onCreate()
38 Log.i(getTag(), "onStart"); in onStart()
44 Log.i(getTag(), "onResume"); in onResume()
50 Log.i(getTag(), "onTopResumedActivityChanged: " + isTopResumedActivity); in onTopResumedActivityChanged()
56 Log.i(getTag(), "onConfigurationChanged"); in onConfigurationChanged()
62 Log.i(getTag(), "onMultiWindowModeChanged"); in onMultiWindowModeChanged()
69 Log.i(getTag(), "onPictureInPictureModeChanged"); in onPictureInPictureModeChanged()
75 Log.i(getTag(), "onPause"); in onPause()
81 Log.i(getTag(), "onStop"); in onStop()
[all …]
/cts/tests/tests/location/src/android/location/cts/
DTestLocationManager.java27 import android.util.Log;
52 Log.i(TAG, "Remove Location updates."); in removeLocationUpdates()
63 Log.i(TAG, "Add Gnss Measurement Callback."); in registerGnssMeasurementCallback()
68 Log.i(TAG, TestMeasurementUtil.REGISTRATION_ERROR_MESSAGE); in registerGnssMeasurementCallback()
81 Log.i(TAG, "Add Gnss Measurement Callback."); in registerGnssMeasurementCallback()
86 Log.i(TAG, TestMeasurementUtil.REGISTRATION_ERROR_MESSAGE); in registerGnssMeasurementCallback()
98 Log.i(TAG, "Remove Gnss Measurement Callback."); in unregisterGnssMeasurementCallback()
109 Log.i(TAG, "Request Location updates."); in requestLocationUpdates()
134 Log.i(TAG, "Request Network Location updates."); in requestNetworkLocationUpdates()
150 Log.i(TAG, "Request Passive Location updates."); in requestPassiveLocationUpdates()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleCocServerService.java43 import android.util.Log;
247 Log.d(TAG, "onStartCommand: action=" + action); in onStartCommand()
276 if (DEBUG) Log.d(TAG, "sendData8bytes"); in sendData8bytes()
286 if (DEBUG) Log.d(TAG, "sendDataLargeBuf of size=" + len); in sendDataLargeBuf()
321 Log.e(TAG, "Error: Unhandled or invalid action=" + mCurrentAction); in onTestFinish()
356 Log.d(TAG, "notifyOpenFail"); in notifyOpenFail()
364 Log.d(TAG, "notifyAddServiceFail"); in notifyAddServiceFail()
372 Log.d(TAG, "notifyAdvertiseUnsupported"); in notifyAdvertiseUnsupported()
380 Log.d(TAG, "notifyConnected"); in notifyConnected()
388 Log.d(TAG, "notifyDisconnected"); in notifyDisconnected()
[all …]
DBluetoothChatService.java27 import android.util.Log;
111 if (D) Log.d(TAG, "Construct BluetoothChatService: useBle=" + useBle); in BluetoothChatService()
119 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState()
136 … if (D) Log.d(TAG, "start secure: " + secure + UUID.randomUUID() + " - " + UUID.randomUUID()); in start()
167 Log.e(TAG, "getPsm: Invalid PSM value"); in getPsm()
187 Log.e(TAG, "connect: Error: LE cannot call this method!"); in connect()
198 if (D) Log.d(TAG, "connect to: " + device + ", psm: " + psm + ", ble: " + mBleTransport); in connect()
221 if (D) Log.d(TAG, "connected, Socket Type: " + socketType); in connected()
257 if (D) Log.d(TAG, "stop"); in stop()
352Log.e(TAG, "Socket Type: " + mSocketType + ", le: " + mBleTransport + " listen() failed", e); in AcceptThread()
[all …]
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DPermissionTestService.java27 import android.util.Log;
71 Log.e(TAG, "PermissionTestService received bad message: " + msg.what); in handleMessage()
110 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfFailure()
118 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfSuccess()
148 Log.e(TAG, "testFileReadAccess: test file does not exists."); in testFileReadAccess()
152 Log.e(TAG, "testFileReadAccess: no permission to read test file."); in testFileReadAccess()
164 Log.e(TAG, "testFileReadAccess: failed to read test file, IOException."); in testFileReadAccess()
168 Log.e(TAG, "testFileReadAccess: failed to read test file."); in testFileReadAccess()
172 Log.e(TAG, "testFileReadAccess: wrong data read from test file."); in testFileReadAccess()
177 Log.e(TAG, "testFileReadAccess: failed to read test file, FileNotFoundException."); in testFileReadAccess()
[all …]
/cts/hostsidetests/systemui/app/src/android/systemui/cts/
DTestTileService.java26 import android.util.Log;
45 Log.i(TAG, TEST_PREFIX + "onCreate"); in onCreate()
51 Log.i(TAG, TEST_PREFIX + "onDestroy"); in onDestroy()
57 Log.i(TAG, TEST_PREFIX + "onTileAdded"); in onTileAdded()
64 Log.i(TAG, TEST_PREFIX + "onTileRemoved"); in onTileRemoved()
70 Log.i(TAG, TEST_PREFIX + "onStartListening"); in onStartListening()
86 Log.i(TAG, TEST_PREFIX + "onStopListening"); in onStopListening()
93 Log.i(TAG, TEST_PREFIX + "onClick"); in onClick()
94 Log.i(TAG, TEST_PREFIX + "is_secure_" + super.isSecure()); in onClick()
95 Log.i(TAG, TEST_PREFIX + "is_locked_" + super.isLocked()); in onClick()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java34 import android.util.Log;
50 if (DEBUG) Log.d(TAG, "waitForDeviceIdle: timeout=" + timeout); in waitForDeviceIdle()
55 if (DEBUG) Log.d(TAG, "wakeUpDevice"); in wakeUpDevice()
60 if (DEBUG) Log.d(TAG, "dragPointer: from=" + from + " to=" + to + " steps=" + steps); in dragPointer()
65 if (DEBUG) Log.d(TAG, "pressEnterButton"); in pressEnterButton()
70 if (DEBUG) Log.d(TAG, "pressHomeButton"); in pressHomeButton()
75 if (DEBUG) Log.d(TAG, "pressBackButton"); in pressBackButton()
80 if (DEBUG) Log.d(TAG, "pressMenuButton"); in pressMenuButton()
85 if (DEBUG) Log.d(TAG, "pressSleepButton"); in pressSleepButton()
93 if (DEBUG) Log.d(TAG, "pressWakeupButton"); in pressWakeupButton()
[all …]
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSession.java26 import android.util.Log;
52 Log.i(TAG, "onCreate(): broadcast intent=" + sessionStarted); in onCreate()
58 Log.i(TAG, "Canceling the Asynctask in onDestroy()"); in onDestroy()
84 Log.i(TAG, "prompt received ok from TestApp in Session"); in assertPromptFromTestApp()
99 Log.i(TAG, "in onGetSupportedCommands"); in onGetSupportedCommands()
102 Log.i(TAG, "command " + commands[idx] + ", support = " + results[idx]); in onGetSupportedCommands()
111 Log.i(TAG, "in Session onRequestConfirmation recvd. prompt=" + prompt + in onRequestConfirmation()
116 Log.i(TAG, "Sending Cancel."); in onRequestConfirmation()
120 Log.i(TAG, "in Session sending sendConfirmationResult. " + in onRequestConfirmation()
131 Log.i(TAG, "in Session onRequestCompleteVoice recvd. message=" + in onRequestCompleteVoice()
[all …]
/cts/tests/tests/keystore/src/android/server/am/
DUiDeviceUtils.java33 import android.util.Log;
51 if (DEBUG) Log.d(TAG, "waitForDeviceIdle: timeout=" + timeout); in waitForDeviceIdle()
56 if (DEBUG) Log.d(TAG, "wakeUpDevice"); in wakeUpDevice()
61 if (DEBUG) Log.d(TAG, "dragPointer: from=" + from + " to=" + to + " steps=" + steps); in dragPointer()
66 if (DEBUG) Log.d(TAG, "pressEnterButton"); in pressEnterButton()
71 if (DEBUG) Log.d(TAG, "pressHomeButton"); in pressHomeButton()
76 if (DEBUG) Log.d(TAG, "pressBackButton"); in pressBackButton()
81 if (DEBUG) Log.d(TAG, "pressMenuButton"); in pressMenuButton()
86 if (DEBUG) Log.d(TAG, "pressSleepButton"); in pressSleepButton()
93 if (DEBUG) Log.d(TAG, "pressWakeupButton"); in pressWakeupButton()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DMockVrListenerService.java22 import android.util.Log;
72 Log.i(TAG, "onBind called"); in onBind()
77 Log.e(TAG, "Service thread interrupted: " + e); in onBind()
84 Log.i(TAG, "onRebind called"); in onRebind()
88 Log.e(TAG, "Service thread interrupted: " + e); in onRebind()
95 Log.i(TAG, "onUnbind called"); in onUnbind()
100 Log.e(TAG, "Service thread interrupted: " + e); in onUnbind()
107 Log.i(TAG, "onCreate called"); in onCreate()
111 Log.e(TAG, "Service thread interrupted: " + e); in onCreate()
118 Log.i(TAG, "onDestroy called"); in onDestroy()
[all …]

12345678910>>...58