Home
last modified time | relevance | path

Searched refs:isLoggable (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/frameworks/base/core/tests/coretests/src/android/util/
DLogTest.java56 Assert.assertFalse(Log.isLoggable(LOG_TAG, Log.VERBOSE)); in testIsLoggable()
57 Assert.assertFalse(Log.isLoggable(LOG_TAG, Log.DEBUG)); in testIsLoggable()
58 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.INFO)); in testIsLoggable()
59 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.WARN)); in testIsLoggable()
60 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.ERROR)); in testIsLoggable()
61 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.ASSERT)); in testIsLoggable()
67 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.VERBOSE)); in testIsLoggable()
68 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.DEBUG)); in testIsLoggable()
69 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.INFO)); in testIsLoggable()
70 Assert.assertTrue(Log.isLoggable(LOG_TAG, Log.WARN)); in testIsLoggable()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/
DLog.java59 if (isLoggable(tag, android.util.Log.DEBUG)) { in d()
65 if (isLoggable(tag, android.util.Log.DEBUG)) { in d()
71 if (isLoggable(tag, android.util.Log.ERROR)) { in e()
77 if (isLoggable(tag, android.util.Log.ERROR)) { in e()
83 if (isLoggable(tag, android.util.Log.INFO)) { in i()
89 if (isLoggable(tag, android.util.Log.INFO)) { in i()
95 if (isLoggable(tag, android.util.Log.VERBOSE)) { in v()
101 if (isLoggable(tag, android.util.Log.VERBOSE)) { in v()
107 if (isLoggable(tag, android.util.Log.WARN)) { in w()
113 if (isLoggable(tag, android.util.Log.WARN)) { in w()
[all …]
/frameworks/base/core/java/android/app/
DAppCompatCallbacks.java67 boolean isLoggable = changeIdInChangeList(mLoggableChanges, changeId); in onChangeReported()
68 reportChange(changeId, ChangeReporter.STATE_LOGGED, isLoggable); in onChangeReported()
73 boolean isLoggable = changeIdInChangeList(mLoggableChanges, changeId); in isChangeEnabled()
76 reportChange(changeId, ChangeReporter.STATE_ENABLED, isLoggable); in isChangeEnabled()
79 reportChange(changeId, ChangeReporter.STATE_DISABLED, isLoggable); in isChangeEnabled()
83 private void reportChange(long changeId, int state, boolean isLoggable) { in reportChange() argument
85 mChangeReporter.reportChange(uid, changeId, state, isLoggable); in reportChange()
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java156 if (Log.isLoggable(TAG, Log.VERBOSE)) { in addAccount()
165 if (Log.isLoggable(TAG, Log.VERBOSE)) { in addAccount()
188 if (Log.isLoggable(TAG, Log.VERBOSE)) { in confirmCredentials()
194 if (Log.isLoggable(TAG, Log.VERBOSE)) { in confirmCredentials()
216 if (Log.isLoggable(TAG, Log.VERBOSE)) { in getAuthTokenLabel()
223 if (Log.isLoggable(TAG, Log.VERBOSE)) { in getAuthTokenLabel()
243 if (Log.isLoggable(TAG, Log.VERBOSE)) { in getAuthToken()
251 if (Log.isLoggable(TAG, Log.VERBOSE)) { in getAuthToken()
272 if (Log.isLoggable(TAG, Log.VERBOSE)) { in updateCredentials()
280 if (Log.isLoggable(TAG, Log.VERBOSE)) { in updateCredentials()
[all …]
DAccountAuthenticatorResponse.java48 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onResult()
61 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onRequestContinued()
72 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onError()
DChooseAccountTypeActivity.java59 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onCreate()
123 if (Log.isLoggable(TAG, Log.VERBOSE)) { in setResultAndFinish()
143 if (Log.isLoggable(TAG, Log.WARN)) { in buildTypeToAuthDescriptionMap()
148 if (Log.isLoggable(TAG, Log.WARN)) { in buildTypeToAuthDescriptionMap()
DChooseTypeAndAccountActivity.java141 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onCreate()
254 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onDestroy()
307 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onActivityResult()
373 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onActivityResult()
381 if (Log.isLoggable(TAG, Log.VERBOSE)) { in runAddAccountForAuthenticator()
458 if (Log.isLoggable(TAG, Log.VERBOSE)) { in setResultAndFinish()
466 if (Log.isLoggable(TAG, Log.VERBOSE)) { in startChooseAccountTypeActivity()
619 if (Log.isLoggable(TAG, Log.VERBOSE)) { in populateUIAccountList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java130 if (Log.isLoggable(TAG, Log.DEBUG)) { in getSettings()
152 if (Log.isLoggable(TAG, Log.DEBUG)) { in getSettings()
227 if (Log.isLoggable(TAG, Log.WARN)) { in parseServiceInfo()
284 if (Log.isLoggable(TAG, Log.DEBUG)) { in parseAttributes()
306 if (Log.isLoggable(TAG, Log.DEBUG)) { in reloadStatusMessages()
361 if (Log.isLoggable(TAG, Log.DEBUG)) { in handleMessage()
385 if (Log.isLoggable(TAG, Log.WARN)) { in handleMessage()
399 if (Log.isLoggable(TAG, Log.VERBOSE)) { in handleMessage()
406 if (Log.isLoggable(TAG, Log.VERBOSE)) { in handleMessage()
422 if (Log.isLoggable(TAG, Log.DEBUG)) { in handleMessage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DLog.kt23 if (Log.isLoggable(tag, Log.DEBUG)) { in logD()
30 if (Log.isLoggable(tag, Log.VERBOSE)) { in logV()
37 if (Log.isLoggable(tag, Log.INFO)) { in logI()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileStatusTracker.java130 if (Log.isLoggable(TAG, Log.DEBUG)) { in onSignalStrengthsChanged()
142 if (Log.isLoggable(TAG, Log.DEBUG)) { in onServiceStateChanged()
154 if (Log.isLoggable(TAG, Log.DEBUG)) { in onDataConnectionStateChanged()
165 if (Log.isLoggable(TAG, Log.DEBUG)) { in onDataActivity()
175 if (Log.isLoggable(TAG, Log.DEBUG)) { in onCarrierNetworkChange()
185 if (Log.isLoggable(TAG, Log.DEBUG)) { in onActiveDataSubscriptionIdChanged()
195 if (Log.isLoggable(TAG, Log.DEBUG)) { in onDisplayInfoChanged()
/frameworks/base/core/java/android/widget/
DTextViewOnReceiveContentListener.java71 if (Log.isLoggable(LOG_TAG, Log.DEBUG)) { in onReceiveContent()
131 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in onReceiveForAutofill()
270 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in handleNonTextViaImeCommitContent()
280 if (Log.isLoggable(LOG_TAG, Log.DEBUG)) { in handleNonTextViaImeCommitContent()
287 if (Log.isLoggable(LOG_TAG, Log.DEBUG)) { in handleNonTextViaImeCommitContent()
294 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in handleNonTextViaImeCommitContent()
302 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in handleNonTextViaImeCommitContent()
308 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in handleNonTextViaImeCommitContent()
313 if (Log.isLoggable(LOG_TAG, Log.VERBOSE)) { in handleNonTextViaImeCommitContent()
/frameworks/base/core/java/android/view/translation/
DUiTranslationController.java68 public static final boolean DEBUG = Log.isLoggable(UiTranslationManager.LOG_TAG, Log.DEBUG);
125 boolean isLoggable = Log.isLoggable(UiTranslationManager.LOG_TAG, Log.DEBUG); in updateUiTranslationState()
127 + (isLoggable ? (", views: " + views + ", spec: " + uiTranslationSpec) : "")); in updateUiTranslationState()
241 if (Log.isLoggable(UiTranslationManager.LOG_TAG, Log.DEBUG)) { in dump()
349 boolean isLoggable = Log.isLoggable(UiTranslationManager.LOG_TAG, Log.DEBUG); in onVirtualViewTranslationCompleted()
374 if (isLoggable) { in onVirtualViewTranslationCompleted()
384 if (isLoggable) { in onVirtualViewTranslationCompleted()
402 boolean isLoggable = Log.isLoggable(UiTranslationManager.LOG_TAG, Log.DEBUG); in onTranslationCompleted()
408 if (isLoggable) { in onTranslationCompleted()
419 if (isLoggable) { in onTranslationCompleted()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDebug.java50 Log.isLoggable("SQLiteLog", Log.VERBOSE);
58 Log.isLoggable("SQLiteStatements", Log.VERBOSE);
67 Log.isLoggable("SQLiteTime", Log.VERBOSE);
74 Log.isLoggable("SQLiteSlowQueries", Log.VERBOSE);
/frameworks/base/telecomm/java/android/telecom/
DLog.java59 public static boolean DEBUG = isLoggable(android.util.Log.DEBUG);
60 public static boolean INFO = isLoggable(android.util.Log.INFO);
61 public static boolean VERBOSE = isLoggable(android.util.Log.VERBOSE);
62 public static boolean WARN = isLoggable(android.util.Log.WARN);
63 public static boolean ERROR = isLoggable(android.util.Log.ERROR);
384 DEBUG = isLoggable(android.util.Log.DEBUG); in setTag()
385 INFO = isLoggable(android.util.Log.INFO); in setTag()
386 VERBOSE = isLoggable(android.util.Log.VERBOSE); in setTag()
387 WARN = isLoggable(android.util.Log.WARN); in setTag()
388 ERROR = isLoggable(android.util.Log.ERROR); in setTag()
[all …]
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarSetupWizardUiUtils.java102 if (Log.isLoggable(TAG, Log.INFO)) { in enableImmersiveMode()
130 if (Log.isLoggable(TAG, Log.INFO)) { in enableImmersiveModeWithStatus()
156 if (Log.isLoggable(TAG, Log.INFO)) { in disableImmersiveMode()
168 if (Log.isLoggable(TAG, Log.WARN)) { in disableImmersiveMode()
/frameworks/base/services/core/java/com/android/server/display/utils/
DDebugUtils.java23 public static final boolean DEBUG_ALL = Log.isLoggable("DisplayManager_All", Log.DEBUG);
34 return Log.isLoggable(tag, Log.DEBUG) || DEBUG_ALL; in isDebuggable()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java347 if (Log.isLoggable(TAG, Log.VERBOSE)) Slog.v(TAG, "sending MESSAGE_ACCOUNTS_UPDATED"); in updateRunningAccounts()
376 if (Log.isLoggable(TAG, Log.VERBOSE)) {
447 final boolean isLoggable = Log.isLoggable(TAG, Log.DEBUG); in onHandleForceStop()
448 if (isLoggable) { in onHandleForceStop()
457 final boolean isLoggable = Log.isLoggable(TAG, Log.DEBUG); in onPackageUnstopped()
458 if (isLoggable) { in onPackageUnstopped()
582 if (Log.isLoggable(TAG, Log.VERBOSE)) { in verifyJobScheduler()
1054 if (Log.isLoggable(TAG, Log.VERBOSE)) { in scheduleSync()
1439 if (Log.isLoggable(TAG, Log.VERBOSE)) Slog.v(TAG, "sending MESSAGE_SYNC_FINISHED"); in sendSyncFinishedOrCanceledMessage()
1448 if (Log.isLoggable(TAG, Log.VERBOSE)) Slog.v(TAG, "sending MESSAGE_CANCEL"); in sendCancelSyncsMessage()
[all …]
DSyncJobService.java100 boolean isLoggable = Log.isLoggable(TAG, Log.VERBOSE); in onStartJob()
110 if (isLoggable) { in onStartJob()
120 if (Log.isLoggable(TAG, Log.VERBOSE)) { in onStopJob()
/frameworks/base/core/jni/
Dandroid_util_Log.cpp45 static jboolean isLoggable(const char* tag, jint level) { in isLoggable() function
60 jboolean result = isLoggable(chars, level); in android_util_Log_isLoggable()
67 return isLoggable(tag, levels.verbose); in android_util_Log_isVerboseLogEnabled()
/frameworks/base/core/java/android/app/backup/
DFullBackup.java496 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in isFullBackupContentEnabled()
559 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in maybeParseBackupSchemeLocked()
564 if (Log.isLoggable(FullBackup.TAG_XML_PARSER, Log.VERBOSE)) { in maybeParseBackupSchemeLocked()
699 if (Log.isLoggable(TAG_XML_PARSER, Log.VERBOSE)) { in verifyTopLevelTag()
723 if (Log.isLoggable(TAG_XML_PARSER, Log.VERBOSE)) { in parseRules()
743 if (Log.isLoggable(TAG_XML_PARSER, Log.VERBOSE)) { in parseRules()
758 if (Log.isLoggable(TAG_XML_PARSER, Log.VERBOSE)) { in parseRules()
766 if (Log.isLoggable(TAG_XML_PARSER, Log.VERBOSE)) { in parseRules()
779 if (Log.isLoggable(TAG_XML_PARSER, Log.VERBOSE)) { in parseRules()
790 if (Log.isLoggable(TAG_XML_PARSER, Log.VERBOSE)) { in logParsingResults()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DRefactorFlagUtils.kt105 if (Log.isLoggable(ASSERT_TAG, Log.ASSERT)) { in assertOnEngBuild()
108 } else if (Log.isLoggable(STANDARD_TAG, Log.WARN)) { in assertOnEngBuild()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionMonitorDebugOverlay.java158 boolean isLoggable = Log.isLoggable(TAG, Log.DEBUG); in onTrackerRemoved()
159 if (isLoggable) { in onTrackerRemoved()
165 if (isLoggable) Log.d(TAG, "All CUJs ended"); in onTrackerRemoved()
197 if (Log.isLoggable(TAG, Log.DEBUG)) { in onTrackerAdded()
/frameworks/base/core/java/android/telephony/
DRlog.java103 public static boolean isLoggable(String tag, int level) { in isLoggable() method in Rlog
104 return Log.isLoggable(tag, level); in isLoggable()
116 if (pii == null || TextUtils.isEmpty(val) || isLoggable(tag, Log.VERBOSE)) { in pii()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java149 if (!Log.isLoggable(tag, level)) { in publish()
164 if (!Log.isLoggable(tag, priority)) { in publish()
/frameworks/base/telephony/java/com/android/telephony/
DRlog.java100 public static boolean isLoggable(String tag, int level) { in isLoggable() method in Rlog
101 return Log.isLoggable(tag, level); in isLoggable()
113 if (pii == null || TextUtils.isEmpty(val) || isLoggable(tag, Log.VERBOSE)) { in pii()

12345678910>>...16