/cts/suite/audio_quality/lib/include/ |
D | Log.h | 26 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/ |
D | CodecTest.java | 27 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 …]
|
/cts/suite/audio_quality/lib/src/ |
D | Log.cpp | 22 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/tests/tests/util/src/android/util/cts/ |
D | LogTest.java | 21 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 …]
|
D | LogPrinterTest.java | 19 import android.util.Log; 35 int[] priorities = { Log.ASSERT, Log.DEBUG, Log.ERROR, Log.INFO, in testConstructor() 36 Log.VERBOSE, Log.WARN }; in testConstructor() 44 LogPrinter logPrinter = new LogPrinter(Log.DEBUG, TAG); in testPrintln()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerDrmTestBase.java | 43 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 …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 34 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 …]
|
D | ResourceManagerTestActivityBase.java | 27 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 …]
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MixedModesTest.java | 19 import android.util.Log; 63 Log.i(TAG, "Skipping " + getClass() + "." + getName() in isSupported() 75 Log.i(TAG, "Skipping " + getClass() + "." + getName() in testDataAndBatterySaverModes_meteredNetwork() 81 Log.i(TAG, "testDataAndBatterySaverModes_meteredNetwork() tests"); in testDataAndBatterySaverModes_meteredNetwork() 83 Log.w(TAG, "testDataAndBatterySaverModes_meteredNetwork() skipped because " in testDataAndBatterySaverModes_meteredNetwork() 92 Log.v(TAG, "Not whitelisted for any."); in testDataAndBatterySaverModes_meteredNetwork() 97 Log.v(TAG, "Whitelisted for Data Saver but not for Battery Saver."); in testDataAndBatterySaverModes_meteredNetwork() 105 Log.v(TAG, "Whitelisted for Battery Saver but not for Data Saver."); in testDataAndBatterySaverModes_meteredNetwork() 113 Log.v(TAG, "Whitelisted for both."); in testDataAndBatterySaverModes_meteredNetwork() 123 Log.v(TAG, "Blacklisted for Data Saver, not whitelisted for Battery Saver."); in testDataAndBatterySaverModes_meteredNetwork() [all …]
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 42 import android.util.Log; 109 Log.w(TAG, "Skipping testGetActiveAdmins"); in testGetActiveAdmins() 120 Log.w(TAG, "Skipping testKeyguardDisabledFeatures"); in testKeyguardDisabledFeatures() 138 Log.w(TAG, "Skipping testRequestRemoteBugreport_failIfNotDeviceOwner"); in testRequestRemoteBugreport_failIfNotDeviceOwner() 151 Log.w(TAG, "Skipping testSetSecurityLoggingEnabled_failIfNotDeviceOwner"); in testSetSecurityLoggingEnabled_failIfNotDeviceOwner() 164 Log.w(TAG, "Skipping testIsSecurityLoggingEnabled_failIfNotDeviceOwner"); in testIsSecurityLoggingEnabled_failIfNotDeviceOwner() 177 Log.w(TAG, "Skipping testRetrieveSecurityLogs_failIfNotDeviceOwner"); in testRetrieveSecurityLogs_failIfNotDeviceOwner() 190 Log.w(TAG, "Skipping testRetrievePreRebootSecurityLogs_failIfNotDeviceOwner"); in testRetrievePreRebootSecurityLogs_failIfNotDeviceOwner() 203 Log.w(TAG, "Skipping testSetNetworkLoggingEnabled_failIfNotDeviceOwner"); in testSetNetworkLoggingEnabled_failIfNotDeviceOwner() 216 Log.w(TAG, "Skipping testIsNetworkLoggingEnabled_failIfNotDeviceOwner"); in testIsNetworkLoggingEnabled_failIfNotDeviceOwner() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OutOfProcessLoginActivity.java | 22 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/ |
D | AbstractLifecycleLogActivity.java | 25 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/ |
D | TestLocationManager.java | 27 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/wifiaware/testcase/ |
D | DataPathOutOfBandTestCase.java | 34 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 …]
|
D | DiscoveryBaseTestCase.java | 26 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 …]
|
D | DataPathInBandTestCase.java | 28 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/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 27 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/ |
D | TestTileService.java | 26 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/ |
D | UiDeviceUtils.java | 34 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/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothChatService.java | 27 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() 352 … Log.e(TAG, "Socket Type: " + mSocketType + ", le: " + mBleTransport + " listen() failed", e); in AcceptThread() [all …]
|
D | BleCocServerService.java | 43 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() 320 Log.e(TAG, "Error: Unhandled or invalid action=" + mCurrentAction); in onTestFinish() 355 Log.d(TAG, "notifyOpenFail"); in notifyOpenFail() 363 Log.d(TAG, "notifyAddServiceFail"); in notifyAddServiceFail() 371 Log.d(TAG, "notifyAdvertiseUnsupported"); in notifyAdvertiseUnsupported() 379 Log.d(TAG, "notifyConnected"); in notifyConnected() 387 Log.d(TAG, "notifyDisconnected"); in notifyDisconnected() [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BroadcastTestStartActivity.java | 23 import android.util.Log; 31 Log.i(TAG, " in onCreate"); in onCreate() 37 Log.i(TAG, " in onResume"); in onResume() 42 Log.i(TAG, "received_testcasetype = " + testCaseType); in startTest() 51 Log.i(TAG, " in onPause"); in onPause() 58 Log.i(TAG, " in onStart"); in onStart() 64 Log.i(TAG, " in onRestart"); in onRestart() 69 Log.i(TAG, " in onStop"); in onStop() 75 Log.i(TAG, " in onDestroy"); in onDestroy()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BroadcastTestStartActivity.java | 23 import android.util.Log; 31 Log.i(TAG, " in onCreate"); in onCreate() 37 Log.i(TAG, " in onResume"); in onResume() 42 Log.i(TAG, "received_testcasetype = " + testCaseType); in startTest() 51 Log.i(TAG, " in onPause"); in onPause() 58 Log.i(TAG, " in onStart"); in onStart() 64 Log.i(TAG, " in onRestart"); in onRestart() 69 Log.i(TAG, " in onStop"); in onStop() 75 Log.i(TAG, " in onDestroy"); in onDestroy()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | MockVrListenerService.java | 22 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 …]
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | UiDeviceUtils.java | 33 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 …]
|