Home
last modified time | relevance | path

Searched refs:LogLevel (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DLogcatEchoTrackerDebug.kt42 private val cachedBufferLevels: MutableMap<String, LogLevel> = mutableMapOf()
43 private val cachedTagLevels: MutableMap<String, LogLevel> = mutableMapOf()
83 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean { in isBufferLoggable()
91 override fun isTagLoggable(tagName: String, level: LogLevel): Boolean { in isTagLoggable()
98 cache: MutableMap<String, LogLevel> in getLogLevel()
99 ): LogLevel { in getLogLevel()
103 private fun readSetting(path: String): LogLevel { in readSetting()
111 private fun parseProp(propValue: String?): LogLevel { in parseProp()
113 "verbose" -> LogLevel.VERBOSE in parseProp()
114 "v" -> LogLevel.VERBOSE in parseProp()
[all …]
DLogBuffer.kt109 level: LogLevel, in log()
127 level: LogLevel, in document()
145 level: LogLevel, in obtain()
196 log(TAG, LogLevel.DEBUG, { str1 = name }, { "$str1 frozen" }) in freeze()
207 log(TAG, LogLevel.DEBUG, { str1 = name }, { "$str1 unfrozen" }) in unfreeze()
225 LogLevel.VERBOSE -> Log.v(message.tag, strMessage) in echoToLogcat()
226 LogLevel.DEBUG -> Log.d(message.tag, strMessage) in echoToLogcat()
227 LogLevel.INFO -> Log.i(message.tag, strMessage) in echoToLogcat()
228 LogLevel.WARNING -> Log.w(message.tag, strMessage) in echoToLogcat()
229 LogLevel.ERROR -> Log.e(message.tag, strMessage) in echoToLogcat()
[all …]
DLogcatEchoTrackerProd.kt23 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean { in isBufferLoggable()
24 return level >= LogLevel.WARNING in isBufferLoggable()
27 override fun isTagLoggable(tagName: String, level: LogLevel): Boolean { in isTagLoggable()
28 return level >= LogLevel.WARNING in isTagLoggable()
DLogMessageImpl.kt23 override var level: LogLevel,
43 level: LogLevel, in reset()
68 LogLevel.DEBUG, in create()
DLogcatEchoTracker.kt26 fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean
31 fun isTagLoggable(tagName: String, level: LogLevel): Boolean
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DViewerConfigBuilderTest.kt30 private val TEST1 = ViewerConfigParser.ConfigEntry("test1", LogLevel.INFO.name, TAG1)
31 private val TEST2 = ViewerConfigParser.ConfigEntry("test2", LogLevel.DEBUG.name, TAG2)
32 private val TEST3 = ViewerConfigParser.ConfigEntry("test3", LogLevel.ERROR.name, TAG2)
50 LogCall(TEST1.messageString, LogLevel.INFO, GROUP1, PATH), in processClass()
51 LogCall(TEST2.messageString, LogLevel.DEBUG, GROUP2, PATH), in processClass()
52 LogCall(TEST3.messageString, LogLevel.ERROR, GROUP3, PATH)).withContext()) in processClass()
57 TEST1.messageString, LogLevel.INFO, GROUP1)]) in processClass()
59 LogLevel.DEBUG, GROUP2)]) in processClass()
61 LogLevel.ERROR, GROUP3)]) in processClass()
67 LogCall(TEST1.messageString, LogLevel.INFO, GROUP1, PATH), in processClass_nonUnique()
[all …]
DCodeUtilsTest.kt31 LogLevel.DEBUG, LogGroup("test", true, true, "TAG"))) in hash()
37 LogLevel.DEBUG, LogGroup("test", true, true, "TAG"))) in hash_changeLocation()
43 LogLevel.ERROR, LogGroup("test", true, true, "TAG"))) in hash_changeLevel()
49 LogLevel.DEBUG, LogGroup("test", true, true, "TAG"))) in hash_changeMessage()
55 LogLevel.DEBUG, LogGroup("test2", true, true, "TAG"))) in hash_changeGroup()
DProtoLogCallProcessorTest.kt28 val level: LogLevel,
40 level: LogLevel, in processCall()
52 assertEquals(LogLevel.DEBUG, c.level) in checkCalls()
74 assertEquals(LogLevel.DEBUG, c.level) in process_samePackage()
78 assertEquals(LogLevel.ERROR, c.level) in process_samePackage()
DSourceTransformerTest.kt184 LogLevel.WARN, LogGroup("TEST_GROUP", true, true, "WM_TEST")) in <lambda>()
222 LogLevel.WARN, LogGroup("TEST_GROUP", true, true, "WM_TEST")) in <lambda>()
224 LogLevel.WARN, LogGroup("TEST_GROUP", true, true, "WM_TEST")) in <lambda>()
226 LogLevel.WARN, LogGroup("TEST_GROUP", true, true, "WM_TEST")) in <lambda>()
263 "test %d %f abc %s\n test", LogLevel.WARN, LogGroup("TEST_GROUP", in <lambda>()
301 LogLevel.WARN, LogGroup("TEST_GROUP", true, true, "WM_TEST")) in <lambda>()
335 LogLevel.WARN, LogGroup("TEST_GROUP", true, false, "WM_TEST")) in <lambda>()
372 "test %d %f abc %s\n test", LogLevel.WARN, LogGroup("TEST_GROUP", in <lambda>()
411 LogLevel.WARN, LogGroup("TEST_GROUP", false, true, "WM_TEST")) in <lambda>()
436 "test %d %f abc %s\n test", LogLevel.WARN, LogGroup("TEST_GROUP", in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/logging/
DPrivacyLogger.kt21 import com.android.systemui.log.LogLevel
37 log(LogLevel.INFO, { in logUpdatedItemFromAppOps()
48 log(LogLevel.INFO, { in logRetrievedPrivacyItemsList()
56 log(LogLevel.DEBUG, { in logPrivacyItemsToHold()
64 log(LogLevel.INFO, { in logPrivacyItemsUpdateScheduled()
74 log(LogLevel.INFO, { in logCurrentProfilesChanged()
82 log(LogLevel.INFO, { in logChipVisible()
94 log(LogLevel.INFO, { in logStatusBarIconsVisible()
104 log(LogLevel.DEBUG, { in logUnfilteredPermGroupUsage()
112 log(LogLevel.INFO, { in logShowDialogContents()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerLogger.kt20 import com.android.systemui.log.LogLevel
28 buffer.log(TAG, LogLevel.INFO, { in logEventCoalesced()
36 buffer.log(TAG, LogLevel.DEBUG, { in logEmitBatch()
44 buffer.log(TAG, LogLevel.DEBUG, { in logEarlyEmit()
53 buffer.log(TAG, LogLevel.INFO, { in logMaxBatchTimeout()
62 buffer.log(TAG, LogLevel.WARNING, { in logMissingRanking()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClickerLogger.kt20 import com.android.systemui.log.LogLevel
29 buffer.log(TAG, LogLevel.DEBUG, { in logOnClick()
38 buffer.log(TAG, LogLevel.DEBUG, { in logMenuVisible()
46 buffer.log(TAG, LogLevel.DEBUG, { in logParentMenuVisible()
54 buffer.log(TAG, LogLevel.DEBUG, { in logChildrenExpanded()
62 buffer.log(TAG, LogLevel.DEBUG, { in logGutsExposed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActionClickLogger.kt21 import com.android.systemui.log.LogLevel
36 buffer.log(TAG, LogLevel.DEBUG, { in logInitialClick()
48 buffer.log(TAG, LogLevel.DEBUG, { in logRemoteInputWasHandled()
59 buffer.log(TAG, LogLevel.DEBUG, { in logStartingIntentWithDefaultHandler()
70 buffer.log(TAG, LogLevel.DEBUG, { in logWaitingToCloseKeyguard()
80 buffer.log(TAG, LogLevel.DEBUG, { in logKeyguardGone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DShadeViewDifferLogger.kt20 import com.android.systemui.log.LogLevel
34 buffer.log(TAG, LogLevel.DEBUG, { in logDetachingChild()
45 buffer.log(TAG, LogLevel.DEBUG, { in logSkippingDetach()
54 buffer.log(TAG, LogLevel.DEBUG, { in logAttachingChild()
63 buffer.log(TAG, LogLevel.DEBUG, { in logMovingChild()
73 buffer.log(TAG, LogLevel.ERROR, { in logDuplicateNodeInTree()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinatorLogger.kt20 import com.android.systemui.log.LogLevel
28 buffer.log(TAG, LogLevel.DEBUG, { in logNotifInflated()
36 buffer.log(TAG, LogLevel.DEBUG, { in logInflationAborted()
45 buffer.log(TAG, LogLevel.WARNING, { in logGroupInflationTookTooLong()
53 buffer.log(TAG, LogLevel.DEBUG, { in logDelayingGroupRelease()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsLogger.kt21 import com.android.systemui.log.LogLevel
34 LogLevel.DEBUG, in logStartSectionUpdate()
47 LogLevel.DEBUG, in logIncomingHeader()
66 fun logStr(str: String) = logBuffer.log(TAG, LogLevel.DEBUG, { str1 = str }, { "$str1" }) in logHeadsUp()
72 LogLevel.DEBUG, in logPosition()
86 LogLevel.DEBUG, in logPosition()
/frameworks/base/core/java/com/android/internal/protolog/
DProtoLogImpl.java45 .log(LogLevel.DEBUG, group, messageHash, paramsMask, messageString, args); in d()
52 getSingleInstance().log(LogLevel.VERBOSE, group, messageHash, paramsMask, messageString, in v()
60 getSingleInstance().log(LogLevel.INFO, group, messageHash, paramsMask, messageString, args); in i()
67 getSingleInstance().log(LogLevel.WARN, group, messageHash, paramsMask, messageString, args); in w()
75 .log(LogLevel.ERROR, group, messageHash, paramsMask, messageString, args); in e()
82 getSingleInstance().log(LogLevel.WTF, group, messageHash, paramsMask, messageString, args); in wtf()
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DProtoLogImplTest.java145 verify(mockedProtoLog).log(eq(ProtoLogImpl.LogLevel.DEBUG), eq( in d_logCalled()
155 verify(mockedProtoLog).log(eq(ProtoLogImpl.LogLevel.VERBOSE), eq( in v_logCalled()
165 verify(mockedProtoLog).log(eq(ProtoLogImpl.LogLevel.INFO), eq( in i_logCalled()
176 verify(mockedProtoLog).log(eq(ProtoLogImpl.LogLevel.WARN), eq( in w_logCalled()
186 verify(mockedProtoLog).log(eq(ProtoLogImpl.LogLevel.ERROR), eq( in e_logCalled()
197 verify(mockedProtoLog).log(eq(ProtoLogImpl.LogLevel.WTF), eq( in wtf_logCalled()
210 ProtoLogImpl.LogLevel.INFO, TestProtoLogGroup.TEST_GROUP, 1234, 4321, null, in log_logcatEnabledExternalMessage()
214 ProtoLogImpl.LogLevel.INFO), in log_logcatEnabledExternalMessage()
227 ProtoLogImpl.LogLevel.INFO, TestProtoLogGroup.TEST_GROUP, 1234, 4321, null, in log_logcatEnabledInvalidMessage()
231 ProtoLogImpl.LogLevel.INFO), in log_logcatEnabledInvalidMessage()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/protolog/
DShellProtoLogImpl.java57 .log(LogLevel.DEBUG, group, messageHash, paramsMask, messageString, args); in d()
64 getSingleInstance().log(LogLevel.VERBOSE, group, messageHash, paramsMask, messageString, in v()
72 getSingleInstance().log(LogLevel.INFO, group, messageHash, paramsMask, messageString, args); in i()
79 getSingleInstance().log(LogLevel.WARN, group, messageHash, paramsMask, messageString, args); in w()
87 .log(LogLevel.ERROR, group, messageHash, paramsMask, messageString, args); in e()
94 getSingleInstance().log(LogLevel.WTF, group, messageHash, paramsMask, messageString, args); in wtf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterLogger.kt21 import com.android.systemui.log.LogLevel.DEBUG
22 import com.android.systemui.log.LogLevel.ERROR
23 import com.android.systemui.log.LogLevel.INFO
24 import com.android.systemui.log.LogLevel.WARNING
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/logging/
DBroadcastDispatcherLogger.kt23 import com.android.systemui.log.LogLevel
24 import com.android.systemui.log.LogLevel.DEBUG
25 import com.android.systemui.log.LogLevel.INFO
112 logLevel: LogLevel, in log()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifCollectionLogger.kt22 import com.android.systemui.log.LogLevel.DEBUG
23 import com.android.systemui.log.LogLevel.ERROR
24 import com.android.systemui.log.LogLevel.INFO
25 import com.android.systemui.log.LogLevel.WARNING
26 import com.android.systemui.log.LogLevel.WTF
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastLogger.kt20 import com.android.systemui.log.LogLevel
21 import com.android.systemui.log.LogLevel.DEBUG
62 logLevel: LogLevel, in log()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DLogLevel.kt21 enum class LogLevel { class
25 fun getLevelForMethodName(name: String, node: Node, context: ParsingContext): LogLevel { in getLevelForMethodName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/logging/
DQSLogger.kt21 import com.android.systemui.log.LogLevel
22 import com.android.systemui.log.LogLevel.DEBUG
23 import com.android.systemui.log.LogLevel.VERBOSE
141 logLevel: LogLevel, in log()

12