/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/util/ |
D | LogTest.java | 38 int logLevel = Log.DEFAULT_LOG_LEVEL; in testInit() 39 Log.init(logLevel); in testInit() 40 assertEquals(Log.DEFAULT_LOG_LEVEL, Log.getLogLevel()); in testInit() 42 logLevel = Log.LOG_LEVEL_DEBUG; in testInit() 43 Log.init(logLevel); in testInit() 44 assertEquals(Log.LOG_LEVEL_DEBUG, Log.getLogLevel()); in testInit() 60 Log.v(TAG, LOG_TEST_MESSAGE + ": v"); in logLevels() 61 Log.d(TAG, LOG_TEST_MESSAGE + ": d"); in logLevels() 62 Log.i(TAG, LOG_TEST_MESSAGE + ": i"); in logLevels() 63 Log.w(TAG, LOG_TEST_MESSAGE + ": w"); in logLevels() [all …]
|
/packages/modules/AdServices/adservices/framework/java/com/android/adservices/ |
D | LogUtil.java | 19 import android.util.Log; 37 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 38 return Log.v(TAG, msg); in v() 46 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 48 return Log.v(TAG, msg); in v() 55 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() 56 return Log.d(TAG, msg); in d() 64 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() 66 return Log.d(TAG, msg); in d() 74 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() [all …]
|
D | LoggerFactory.java | 19 import android.util.Log; 97 if (Log.isLoggable(mTag, Log.VERBOSE)) { in v() 98 return Log.v(mTag, msg); in v() 106 if (Log.isLoggable(mTag, Log.VERBOSE)) { in v() 108 return Log.v(mTag, msg); in v() 115 if (Log.isLoggable(mTag, Log.DEBUG)) { in d() 116 return Log.d(mTag, msg); in d() 124 if (Log.isLoggable(mTag, Log.DEBUG)) { in d() 126 return Log.d(mTag, msg); in d() 134 if (Log.isLoggable(mTag, Log.DEBUG)) { in d() [all …]
|
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/ |
D | LoggerFactory.java | 19 import android.util.Log; 52 if (Log.isLoggable(mTag, Log.VERBOSE)) { in v() 53 return Log.v(mTag, msg); in v() 60 if (Log.isLoggable(mTag, Log.VERBOSE)) { in v() 62 return Log.v(mTag, msg); in v() 69 if (Log.isLoggable(mTag, Log.DEBUG)) { in d() 70 return Log.d(mTag, msg); in d() 77 if (Log.isLoggable(mTag, Log.DEBUG)) { in d() 79 return Log.d(mTag, msg); in d() 86 if (Log.isLoggable(mTag, Log.DEBUG)) { in d() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallAdapter.java | 25 import android.telecom.Log; 51 mOwnerPackageAbbreviation = Log.getPackageAbbreviation(ownerPackageName); in InCallAdapter() 57 Log.startSession(LogUtils.Sessions.ICA_ANSWER_CALL, mOwnerPackageAbbreviation); in answerCall() 61 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall() 66 Log.w(this, "answerCall, unknown call id: %s", callId); in answerCall() 73 Log.endSession(); in answerCall() 80 Log.startSession(LogUtils.Sessions.ICA_DEFLECT_CALL, mOwnerPackageAbbreviation); in deflectCall() 84 Log.i(this, "deflectCall - %s, %s ", callId, Log.pii(address)); in deflectCall() 89 Log.w(this, "deflectCall, unknown call id: %s", callId); in deflectCall() 96 Log.endSession(); in deflectCall() [all …]
|
D | TelecomServiceImpl.java | 68 import android.telecom.Log; 197 Log.startSession("TSI.aC", Log.getPackageAbbreviation(callingPackage)); 198 Log.i(TAG, "addCall: id=[%s], attributes=[%s]", callId, callAttributes); 234 Log.d(TAG, "addCall: onResult"); 238 Log.i(TAG, "addCall: onResult: call is null or id mismatch"); 267 Log.d(TAG, "addCall: onError: e=[%s]", exception.toString()); 272 Log.endSession(); 296 Log.startSession("TSI.gDOPA", Log.getPackageAbbreviation(callingPackage)); 305 Log.e(this, e, "getDefaultOutgoingPhoneAccount"); 320 Log.endSession(); [all …]
|
D | ConnectionServiceWrapper.java | 46 import android.telecom.Log; 124 Log.startSession(sessionInfo, LogUtils.Sessions.CSW_HANDLE_CREATE_CONNECTION_COMPLETE, in handleCreateConnectionComplete() 150 Log.getExternalSession()); in handleCreateConnectionComplete() 157 Log.e(ConnectionServiceWrapper.this, t, ""); in handleCreateConnectionComplete() 161 Log.endSession(); in handleCreateConnectionComplete() 168 Log.startSession(sessionInfo, LogUtils.Sessions.CSW_HANDLE_CREATE_CONNECTION_COMPLETE, in handleCreateConferenceComplete() 194 Log.getExternalSession()); in handleCreateConferenceComplete() 200 Log.e(ConnectionServiceWrapper.this, t, ""); in handleCreateConferenceComplete() 204 Log.endSession(); in handleCreateConferenceComplete() 211 Log.startSession(sessionInfo, LogUtils.Sessions.CSW_SET_ACTIVE, in setActive() [all …]
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | LogUtil.java | 19 import android.util.Log; 37 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 38 return Log.v(TAG, msg); in v() 46 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 48 return Log.v(TAG, msg); in v() 55 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() 56 return Log.d(TAG, msg); in d() 64 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() 66 return Log.d(TAG, msg); in d() 74 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothHearingAid.java | 38 import android.util.Log; 57 private static final boolean VDBG = Log.isLoggable(TAG, Log.VERBOSE); 85 Log.d(TAG, "capability:" + capability + " truncatedHiSyncId:" + truncatedHiSyncId); in AdvertisementServiceData() 104 if (VDBG) Log.v(TAG, "getDeviceMode()"); in getDeviceMode() 126 if (VDBG) Log.v(TAG, "getDeviceSide()"); in getDeviceSide() 144 if (VDBG) Log.v(TAG, "isCsipSupported()"); in isCsipSupported() 160 if (VDBG) Log.v(TAG, "getTruncatedHiSyncId: " + mTruncatedHiSyncId); in getTruncatedHiSyncId() 180 if (VDBG) Log.v(TAG, "isInPairWith()"); in isInPairWith() 381 if (DBG) Log.d(TAG, "connect(" + device + ")"); in connect() 384 Log.w(TAG, "Proxy not attached to service"); in connect() [all …]
|
D | BluetoothMapClient.java | 36 import android.util.Log; 52 private static final boolean DBG = Log.isLoggable(TAG, Log.DEBUG); 53 private static final boolean VDBG = Log.isLoggable(TAG, Log.VERBOSE); 217 if (DBG) Log.d(TAG, "Create BluetoothMapClient proxy object"); in BluetoothMapClient() 281 if (VDBG) Log.d(TAG, "isConnected(" + device + ")"); in isConnected() 284 Log.w(TAG, "Proxy not attached to service"); in isConnected() 285 if (DBG) Log.d(TAG, Log.getStackTraceString(new Throwable())); in isConnected() 290 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in isConnected() 308 if (DBG) Log.d(TAG, "connect(" + device + ")" + "for MAPS MCE"); in connect() 311 Log.w(TAG, "Proxy not attached to service"); in connect() [all …]
|
D | BluetoothHeadset.java | 36 import android.util.Log; 58 private static final boolean DBG = Log.isLoggable(TAG, Log.DEBUG); 430 Log.w(TAG, "Proxy not attached to service"); in connect() 431 if (DBG) log(Log.getStackTraceString(new Throwable())); in connect() 436 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in connect() 468 Log.w(TAG, "Proxy not attached to service"); in disconnect() 469 if (DBG) log(Log.getStackTraceString(new Throwable())); in disconnect() 474 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in disconnect() 488 Log.w(TAG, "Proxy not attached to service"); in getConnectedDevices() 489 if (DBG) log(Log.getStackTraceString(new Throwable())); in getConnectedDevices() [all …]
|
D | BluetoothA2dp.java | 38 import android.util.Log; 334 Log.w(TAG, "Proxy not attached to service"); in connect() 335 if (DBG) log(Log.getStackTraceString(new Throwable())); in connect() 340 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in connect() 372 Log.w(TAG, "Proxy not attached to service"); in disconnect() 373 if (DBG) log(Log.getStackTraceString(new Throwable())); in disconnect() 378 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in disconnect() 392 Log.w(TAG, "Proxy not attached to service"); in getConnectedDevices() 393 if (DBG) log(Log.getStackTraceString(new Throwable())); in getConnectedDevices() 399 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in getConnectedDevices() [all …]
|
D | BluetoothHeadsetClient.java | 38 import android.util.Log; 675 Log.w(TAG, "Proxy not attached to service"); in connect() 676 if (DBG) log(Log.getStackTraceString(new Throwable())); in connect() 681 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in connect() 702 Log.w(TAG, "Proxy not attached to service"); in disconnect() 703 if (DBG) log(Log.getStackTraceString(new Throwable())); in disconnect() 708 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in disconnect() 731 Log.w(TAG, "Proxy not attached to service"); in getConnectedDevices() 732 if (DBG) log(Log.getStackTraceString(new Throwable())); in getConnectedDevices() 738 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in getConnectedDevices() [all …]
|
D | BluetoothHidHost.java | 35 import android.util.Log; 255 Log.w(TAG, "Proxy not attached to service"); in connect() 256 if (DBG) log(Log.getStackTraceString(new Throwable())); in connect() 261 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in connect() 295 Log.w(TAG, "Proxy not attached to service"); in disconnect() 296 if (DBG) log(Log.getStackTraceString(new Throwable())); in disconnect() 301 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in disconnect() 320 Log.w(TAG, "Proxy not attached to service"); in getConnectedDevices() 321 if (DBG) log(Log.getStackTraceString(new Throwable())); in getConnectedDevices() 327 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in getConnectedDevices() [all …]
|
D | BluetoothHidDevice.java | 31 import android.util.Log; 265 Log.d( in onAppStatusChanged() 283 Log.d(TAG, "onConnectionStateChanged: device=" + device + " state=" + state); in onConnectionStateChanged() 297 Log.d( in onGetReport() 319 Log.d(TAG, "onSetReport: device=" + device + " type=" + type + " id=" + id); in onSetReport() 330 Log.d(TAG, "onSetProtocol: device=" + device + " protocol=" + protocol); in onSetProtocol() 341 Log.d(TAG, "onInterruptData: device=" + device + " reportId=" + reportId); in onInterruptData() 349 Log.d(TAG, "onVirtualCableUnplug: device=" + device); in onVirtualCableUnplug() 483 Log.w(TAG, "Proxy not attached to service"); in getConnectedDevices() 484 if (DBG) log(Log.getStackTraceString(new Throwable())); in getConnectedDevices() [all …]
|
D | BluetoothDevice.java | 50 import android.util.Log; 1533 Log.e(TAG, "Bluetooth service is not enabled"); in shouldLogBeRedacted() 1541 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in shouldLogBeRedacted() 1589 if (DBG) Log.d(TAG, "getAddress: mAddress=" + getAddressForLogging()); in getAddress() 1601 if (DBG) Log.d(TAG, "mAddressType: " + mAddressType); in getAddressType() 1659 Log.e(TAG, "BT not enabled. Cannot get identity address"); in getIdentityAddress() 1664 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in getIdentityAddress() 1685 Log.e(TAG, "BT not enabled. Cannot get Remote Device name"); in getName() 1686 if (DBG) log(Log.getStackTraceString(new Throwable())); in getName() 1695 Log.e(TAG, e.toString() + "\n" + Log.getStackTraceString(new Throwable())); in getName() [all …]
|
/packages/modules/OnDevicePersonalization/framework/java/com/android/federatedcompute/internal/util/ |
D | LogUtil.java | 19 import android.util.Log; 38 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 39 return Log.v(TAG, msg); in v() 46 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 47 return Log.v(TAG, tag + " - " + msg); in v() 54 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() 55 return Log.d(TAG, tag + " - " + msg); in d() 62 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() 63 return Log.d(TAG, tag + " - " + msg, throwable); in d() 70 if (Log.isLoggable(TAG, Log.DEBUG)) { in d() [all …]
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraDeviceReport.java | 31 import android.util.Log; 55 Log.v(TAG, "Number of cameras:" + cameralist.length); in printCameraSystemInfo() 57 Log.e(TAG, "Could not get camera ID list: "+e); in printCameraSystemInfo() 72 Log.v(TAG, "============= CAMERA " + id + " INFO ============="); in printCameraInfo() 78 Log.e(TAG, "Could not get getCameraCharacteristics"); in printCameraInfo() 86 Log.v(TAG, "SENSOR_INFO_ACTIVE_ARRAY_SIZE: " in printCameraInfo() 89 Log.v(TAG, "SENSOR_INFO_ACTIVE_ARRAY_SIZE: null"); in printCameraInfo() 93 Log.v(TAG, "SENSOR_INFO_PIXEL_ARRAY_SIZE: " + size2.getWidth() + "x" + size2.getHeight()); in printCameraInfo() 96 Log.v(TAG, "SENSOR_INFO_PHYSICAL_SIZE: " + size3.getWidth() + "x" + size3.getHeight()); in printCameraInfo() 100 Log.v(TAG, "SENSOR_ORIENTATION: " + sensorOrientation); in printCameraInfo() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/wlc/ |
D | NfcCharging.java | 28 import android.util.Log; 152 if (DBG) Log.d(TAG, "NfcCharging - Constructor"); in NfcCharging() 176 if (DBG) Log.d(TAG, "resetInternalValues"); in resetInternalValues() 204 Log.d(TAG, "onTagDisconnected"); 210 if (DBG) Log.d(TAG, "Nfc Charging Listener lost"); 217 if (DBG) Log.d(TAG, "startNfcCharging " + VERSION); in startNfcCharging() 222 if (DBG) Log.d(TAG, "NfcChargingEnabled is " + NfcChargingEnabled); in startNfcCharging() 235 if (DBG) Log.d(TAG, "stopNfcCharging " + VERSION); in stopNfcCharging() 252 if (DBG) Log.d(TAG, "No pending screen state change, stop Nfc charging presence check"); in stopNfcCharging() 258 if (DBG) Log.d(TAG, "checkWlcCapMsg: enter"); in checkWlcCapMsg() [all …]
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | Log.java | 23 public class Log { class 34 private static final Log.Tag TAG = new Log.Tag("Log"); 65 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 66 android.util.Log.d(tag.toString(), msg); in d() 71 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg)); in d() 77 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 78 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg, tags)); in d() 83 if (isLoggable(tag, android.util.Log.DEBUG)) { in d() 84 android.util.Log.d(tag.toString(), msg, tr); in d() [all …]
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/util/ |
D | Logcat.kt | 19 import android.util.Log 20 import android.util.Log.DEBUG 21 import android.util.Log.ERROR 22 import android.util.Log.INFO 23 import android.util.Log.VERBOSE 24 import android.util.Log.WARN 56 if (Log.isLoggable(tag, VERBOSE)) { in v() 57 Log.v(tag, String.format(msg, *args)) in v() 67 if (Log.isLoggable(tag, VERBOSE)) { in v() 68 Log.v(tag, String.format(msg, *args), tr) in v() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SessionTest.java | 21 import android.telecom.Log; 58 Log.startSession("testParent"); in testRecursion_printFullSessionTree() 60 Session childSession = Log.getSessionManager() in testRecursion_printFullSessionTree() 62 Log.continueSession(childSession, "child"); in testRecursion_printFullSessionTree() 76 Log.endSession(); in testRecursion_printFullSessionTree() 78 Log.endSession(); in testRecursion_printFullSessionTree() 89 Log.startSession("testParent"); in testRecursion_getFullMethodPath() 91 Session childSession = Log.getSessionManager() in testRecursion_getFullMethodPath() 93 Log.continueSession(childSession, "child"); in testRecursion_getFullMethodPath() 107 Log.endSession(); in testRecursion_getFullMethodPath() [all …]
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | A2dpReceiver.java | 35 import android.util.Log; 71 Log.d(TAG, "mBluetoothA2dpReceiver.onReceive() intent=" + intent); 88 Log.d(TAG, "BluetoothA2dpServiceListener.onServiceConnected"); 94 Log.d(TAG, "BluetoothA2dpServiceListener.onServiceDisconnected"); 112 Log.e(TAG, "BluetoothAdapter is Null"); in A2dpReceiver() 116 Log.d(TAG, "BluetoothAdapter is NOT enabled, enable now"); in A2dpReceiver() 119 Log.e(TAG, "Can't enable Bluetooth"); in A2dpReceiver() 130 Log.d(TAG, "After getProfileProxy()"); in A2dpReceiver() 136 Log.d(TAG, "A2dpReceiver()"); in A2dpReceiver() 144 Log.d(TAG, "Start initialize()"); in initialize() [all …]
|
/packages/modules/Uwb/framework/java/android/uwb/ |
D | RangingSession.java | 29 import android.util.Log; 569 Log.v(mTag, "start - sessionHandle: " + mSessionHandle); in start() 595 Log.v(mTag, "reconfigure - sessionHandle: " + mSessionHandle); in reconfigure() 628 Log.v(mTag, "stop - sessionHandle: " + mSessionHandle); in stop() 663 Log.v(mTag, "close - sessionHandle: " + mSessionHandle); in close() 689 Log.v(mTag, "addControlee - sessionHandle: " + mSessionHandle); in addControlee() 715 Log.v(mTag, "removeControlee - sessionHandle: " + mSessionHandle); in removeControlee() 749 Log.v(mTag, "pause - sessionHandle: " + mSessionHandle); in pause() 778 Log.v(mTag, "resume - sessionHandle: " + mSessionHandle); in resume() 810 Log.v(mTag, "sendData - sessionHandle: " + mSessionHandle); in sendData() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | LogUtil.java | 32 public static final int DEBUG = android.util.Log.DEBUG; 33 public static final int WARN = android.util.Log.WARN; 34 public static final int VERBOSE = android.util.Log.VERBOSE; 35 public static final int INFO = android.util.Log.INFO; 36 public static final int ERROR = android.util.Log.ERROR; 77 println(android.util.Log.VERBOSE, tag, msg); in v() 88 println(android.util.Log.VERBOSE, tag, msg + '\n' in v() 89 + android.util.Log.getStackTraceString(tr)); in v() 99 println(android.util.Log.DEBUG, tag, msg); in d() 110 println(android.util.Log.DEBUG, tag, msg + '\n' in d() [all …]
|