Home
last modified time | relevance | path

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

1234567

/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGenLogger.kt23 val log: HostStubGenLogger = HostStubGenLogger().setConsoleLogLevel(LogLevel.Info)
26 enum class LogLevel { class
54 private var maxLogLevel = LogLevel.None
57 maxLogLevel = LogLevel.None in updateMaxLogLevel()
76 fun setConsoleLogLevel(level: LogLevel): HostStubGenLogger { in setConsoleLogLevel()
88 fun addFilePrinter(level: LogLevel, logFilename: String): HostStubGenLogger { in addFilePrinter()
120 fun isEnabled(level: LogLevel): Boolean { in isEnabled()
124 private fun println(level: LogLevel, message: String) { in println()
132 private fun println(level: LogLevel, format: String, vararg args: Any?) { in println()
140 println(LogLevel.Error, message) in e()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLSShadeTransitionLogger.kt24 import com.android.systemui.log.core.LogLevel
38 buffer.log(TAG, LogLevel.INFO, { in logUnSuccessfulDragDown()
46 buffer.log(TAG, LogLevel.INFO, {}, { in logDragDownAborted()
53 buffer.log(TAG, LogLevel.INFO, { in logDragDownStarted()
62 buffer.log(TAG, LogLevel.INFO, { in logDraggedDownLockDownShade()
71 buffer.log(TAG, LogLevel.INFO, { in logDraggedDown()
86 buffer.log(TAG, LogLevel.DEBUG, {}, { in logDragDownAmountReset()
92 buffer.log(TAG, LogLevel.DEBUG, { in logDefaultGoToFullShadeAnimation()
100 buffer.log(TAG, LogLevel.INFO, { in logTryGoToLockedShade()
108 buffer.log(TAG, LogLevel.WARNING, {}, { in logShadeDisabledOnGoToLockedShade()
[all …]
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DPerfettoProtoLogImplTest.java51 import com.android.internal.protolog.common.LogLevel;
212 mProtoLog.log(LogLevel.DEBUG, TestProtoLogGroup.TEST_GROUP, 1, in defaultMode()
214 mProtoLog.log(LogLevel.VERBOSE, TestProtoLogGroup.TEST_GROUP, 2, in defaultMode()
216 mProtoLog.log(LogLevel.WARN, TestProtoLogGroup.TEST_GROUP, 3, in defaultMode()
218 mProtoLog.log(LogLevel.ERROR, TestProtoLogGroup.TEST_GROUP, 4, in defaultMode()
220 mProtoLog.log(LogLevel.WTF, TestProtoLogGroup.TEST_GROUP, 5, in defaultMode()
230 Truth.assertThat(protolog.messages.getFirst().getLevel()).isEqualTo(LogLevel.WTF); in defaultMode()
238 TestProtoLogGroup.TEST_GROUP.toString(), LogLevel.DEBUG, true))) in respectsOverrideConfigs_defaultMode()
242 mProtoLog.log(LogLevel.DEBUG, TestProtoLogGroup.TEST_GROUP, 1, in respectsOverrideConfigs_defaultMode()
244 mProtoLog.log(LogLevel.VERBOSE, TestProtoLogGroup.TEST_GROUP, 2, in respectsOverrideConfigs_defaultMode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/echo/
DLogcatEchoSettingFormat.kt20 import com.android.systemui.log.core.LogLevel
90 "v" -> LogLevel.VERBOSE in parseOverridesV0()
91 "d" -> LogLevel.DEBUG in parseOverridesV0()
92 "i" -> LogLevel.INFO in parseOverridesV0()
93 "w" -> LogLevel.WARNING in parseOverridesV0()
94 "e" -> LogLevel.ERROR in parseOverridesV0()
95 "!" -> LogLevel.WTF in parseOverridesV0()
123 LogLevel.VERBOSE -> "v" in stringifyOverridesV0()
124 LogLevel.DEBUG -> "d" in stringifyOverridesV0()
125 LogLevel.INFO -> "i" in stringifyOverridesV0()
[all …]
DLogcatEchoTrackerCommand.kt20 import com.android.systemui.log.core.LogLevel
136 private fun parseLevel(str: String): LogLevel? { in parseLevel()
138 "verbose" -> LogLevel.VERBOSE in parseLevel()
139 "v" -> LogLevel.VERBOSE in parseLevel()
140 "debug" -> LogLevel.DEBUG in parseLevel()
141 "d" -> LogLevel.DEBUG in parseLevel()
142 "info" -> LogLevel.INFO in parseLevel()
143 "i" -> LogLevel.INFO in parseLevel()
144 "warning" -> LogLevel.WARNING in parseLevel()
145 "warn" -> LogLevel.WARNING in parseLevel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/logging/
DPrivacyLogger.kt22 import com.android.systemui.log.core.LogLevel
38 log(LogLevel.INFO, { in logUpdatedItemFromAppOps()
49 log(LogLevel.INFO, { in logUpdatedItemFromMediaProjection()
59 log(LogLevel.INFO, { in logRetrievedPrivacyItemsList()
67 log(LogLevel.DEBUG, { in logPrivacyItemsToHold()
75 log(LogLevel.INFO, { in logPrivacyItemsUpdateScheduled()
85 log(LogLevel.INFO, { in logCurrentProfilesChanged()
93 log(LogLevel.INFO, { in logChipVisible()
105 log(LogLevel.INFO, { in logStatusBarIconsVisible()
115 log(LogLevel.DEBUG, { in logUnfilteredPermGroupUsage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/
DMobileInputLogger.kt28 import com.android.systemui.log.core.LogLevel
42 LogLevel.INFO, in logOnServiceStateChanged()
59 LogLevel.INFO, in logTopLevelServiceStateBroadcastEmergencyOnly()
71 LogLevel.INFO, in logTopLevelServiceStateBroadcastMissingExtras()
80 LogLevel.INFO, in logOnSignalStrengthsChanged()
92 LogLevel.INFO, in logOnDataConnectionStateChanged()
105 LogLevel.INFO, in logOnDataActivity()
117 LogLevel.INFO, in logOnCarrierNetworkChange()
129 LogLevel.INFO, in logOnCarrierRoamingNtnModeChanged()
138 LogLevel.INFO, in logOnDisplayInfoChanged()
[all …]
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/core/
DLogger.kt52 level: LogLevel, in log()
76 level: LogLevel, in log()
91 ) = log(LogLevel.VERBOSE, messagePrinter, exception, messageInitializer)
103 ) = log(LogLevel.VERBOSE, message, exception)
115 ) = log(LogLevel.DEBUG, messagePrinter, exception, messageInitializer)
127 ) = log(LogLevel.DEBUG, message, exception)
139 ) = log(LogLevel.INFO, messagePrinter, exception, messageInitializer)
151 ) = log(LogLevel.INFO, message, exception)
163 ) = log(LogLevel.WARNING, messagePrinter, exception, messageInitializer)
175 ) = log(LogLevel.WARNING, message, exception)
[all …]
DLogcatOnlyMessageBuffer.kt28 val targetLogLevel: LogLevel,
36 level: LogLevel, in obtain()
65 LogLevel.VERBOSE -> Log.v(message.tag, strMessage, message.exception) in commit()
66 LogLevel.DEBUG -> Log.d(message.tag, strMessage, message.exception) in commit()
67 LogLevel.INFO -> Log.i(message.tag, strMessage, message.exception) in commit()
68 LogLevel.WARNING -> Log.w(message.tag, strMessage, message.exception) in commit()
69 LogLevel.ERROR -> Log.e(message.tag, strMessage, message.exception) in commit()
70 LogLevel.WTF -> Log.wtf(message.tag, strMessage, message.exception) in commit()
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DViewerConfigJsonBuilderTest.kt19 import com.android.internal.protolog.common.LogLevel
30 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)
51 LogCall(TEST1.messageString, LogLevel.INFO, GROUP1, PATH), in processClass()
52 LogCall(TEST2.messageString, LogLevel.DEBUG, GROUP2, PATH), in processClass()
53 LogCall(TEST3.messageString, LogLevel.ERROR, GROUP3, PATH))) in processClass()
59 TEST1.messageString, LogLevel.INFO, GROUP1)]) in processClass()
61 LogLevel.DEBUG, GROUP2)]) in processClass()
63 LogLevel.ERROR, GROUP3)]) in processClass()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorLogger.kt20 import com.android.systemui.log.core.LogLevel
35 LogLevel.DEBUG, in logSeenOnLockscreen()
45 LogLevel.DEBUG, in logTrackingUnseen()
56 LogLevel.DEBUG, in logAllMarkedSeenOnUnlock()
70 LogLevel.DEBUG, in logShadeExpanded()
77 LogLevel.DEBUG, in logShadeExpanded()
85 LogLevel.DEBUG, in logUnseenUpdated()
93 LogLevel.DEBUG, in logUnseenRemoved()
101 LogLevel.DEBUG, in logProviderHasFilteredOutSeenNotifs()
109 LogLevel.DEBUG, in logUnseenHun()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutLogger.kt22 import com.android.systemui.log.core.LogLevel
34 buffer.log(TAG, LogLevel.DEBUG, { str1 = key }, { "reuse listener: $str1" }) in logReuseListener()
39 LogLevel.DEBUG, in logMigrateListener()
51 LogLevel.DEBUG, in logUpdateListener()
62 LogLevel.DEBUG, in logDelayedUpdate()
68 buffer.log(TAG, LogLevel.DEBUG, { str1 = key }, { "session destroyed $str1" }) in logSessionDestroyed()
73 LogLevel.VERBOSE, in logPlaybackState()
82 buffer.log(TAG, LogLevel.VERBOSE, { str1 = key }, { "dispatching state update for $key" }) in logStateCallback()
87 LogLevel.DEBUG, in logScheduleTimeout()
97 buffer.log(TAG, LogLevel.DEBUG, { str1 = key }, { "cancellation already exists for $str1" }) in logCancelIgnored()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/logging/
DQSPipelineLogger.kt20 import com.android.systemui.log.core.LogLevel
57 LogLevel.DEBUG, in logParsedTiles()
74 LogLevel.DEBUG, in logTilesRestoredAndReconciled()
91 LogLevel.DEBUG, in logProcessTileChange()
105 LogLevel.DEBUG, in logTileDestroyed()
118 LogLevel.DEBUG, in logTileCreated()
128 LogLevel.VERBOSE, in logTileNotFoundInFactory()
138 LogLevel.VERBOSE, in logTileUserChanged()
148 tileListLogBuffer.log(TILE_LIST_TAG, LogLevel.DEBUG, {}, { "Using retail tiles" }) in logUsingRetailTiles()
154 LogLevel.DEBUG, in logTilesNotInstalled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeLogger.kt21 import com.android.systemui.log.core.LogLevel
34 buffer.log(TAG, LogLevel.VERBOSE, msg) in v()
38 buffer.log(TAG, LogLevel.DEBUG, msg) in d()
44 LogLevel.VERBOSE, in onQsInterceptMoveQsTrackingEnabled()
62 LogLevel.VERBOSE, in logQsTrackingNotStarted()
83 LogLevel.VERBOSE, in logMotionEvent()
101 LogLevel.VERBOSE, in logShadeWindowDispatch()
121 LogLevel.VERBOSE, in logMotionEventStatusBarState()
151 LogLevel.VERBOSE, in logExpansionChanged()
169 LogLevel.VERBOSE, in logHasVibrated()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerLogger.kt24 import com.android.systemui.log.core.LogLevel
36 LogLevel.DEBUG, in logBatteryControllerInstance()
45 LogLevel.DEBUG, in logBatteryControllerInit()
55 logBuffer.log(TAG, LogLevel.DEBUG, { str1 = action }, { "Received intent $str1" }) in logIntentReceived()
61 LogLevel.DEBUG, in logBatteryChangedIntent()
73 LogLevel.DEBUG, in logBatteryChangedSkipBecauseTest()
82 LogLevel.DEBUG, in logEnterTestMode()
89 logBuffer.log(TAG, LogLevel.DEBUG, {}, { "Exiting test mode" }) in logExitTestMode()
95 LogLevel.DEBUG, in logBatteryLevelChangedCallback()
111 LogLevel.DEBUG, in logPowerSaveChangedCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/
DBluetoothLogger.kt21 import com.android.systemui.log.core.LogLevel
31 LogLevel.DEBUG, in logActiveDeviceChanged()
42 LogLevel.DEBUG, in logDeviceConnectionStateChanged()
53 LogLevel.DEBUG, in logAclConnectionStateChanged()
64 LogLevel.DEBUG, in logProfileConnectionStateChanged()
76 LogLevel.DEBUG, in logStateChange()
84 LogLevel.DEBUG, in logBondStateChange()
93 logBuffer.log(TAG, LogLevel.DEBUG, { str1 = address }, { "DeviceAdded. address=$str1" }) in logDeviceAdded()
96 logBuffer.log(TAG, LogLevel.DEBUG, { str1 = address }, { "DeviceDeleted. address=$str1" }) in logDeviceDeleted()
99 logBuffer.log(TAG, LogLevel.DEBUG, {}, { "DeviceAttributesChanged." }) in logDeviceAttributesChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DCarrierTextManagerLogger.kt22 import com.android.systemui.log.core.LogLevel
40 LogLevel.VERBOSE, in logUpdate()
52 LogLevel.VERBOSE, in logUpdateLoopStart()
65 LogLevel.VERBOSE, in logUpdateWfcCheck()
74 LogLevel.VERBOSE, in logUpdateFromStickyBroadcast()
86 LogLevel.VERBOSE, in logNewSatelliteCarrierText()
95 LogLevel.VERBOSE, in logUsingSatelliteText()
105 LogLevel.VERBOSE, in logCallbackSentFromUpdate()
121 LogLevel.VERBOSE, in logSimStateChangedCallback()
139 LogLevel.DEBUG, in logUpdateCarrierTextForReason()
[all …]
DKeyguardLogger.kt22 import com.android.systemui.log.core.LogLevel
43 level: LogLevel, in log()
50 level: LogLevel, in log()
73 LogLevel.DEBUG, in logBiometricMessage()
90 LogLevel.DEBUG, in delayShowingTrustAgentError()
107 LogLevel.DEBUG, in logUpdateDeviceEntryIndication()
124 LogLevel.DEBUG, in logUpdateLockScreenUserLockedMsg()
143 LogLevel.DEBUG, in logDropFaceMessage()
158 LogLevel.DEBUG, in logUpdateBatteryIndication()
173 LogLevel.DEBUG, in logKeyguardSwitchIndication()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTemporaryViewLogger.kt21 import com.android.systemui.log.core.LogLevel
31 LogLevel.DEBUG, in logViewExpiration()
44 LogLevel.DEBUG, in logViewUpdate()
57 LogLevel.DEBUG, in logViewAdditionDelayed()
74 LogLevel.DEBUG, in logViewAddition()
88 LogLevel.WARNING, in logAnimateInFailure()
98 LogLevel.WARNING, in logAnimateOutFailure()
107 LogLevel.DEBUG, in logViewHidden()
124 LogLevel.DEBUG, in logViewRemoval()
137 LogLevel.DEBUG, in logViewRemovalIgnored()
[all …]
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/
DLogBuffer.kt22 import com.android.systemui.log.core.LogLevel
121 level: LogLevel, in log()
147 level: LogLevel, in log()
164 level: LogLevel, in obtain()
232 log(TAG, LogLevel.DEBUG, { str1 = name }, { "$str1 frozen" }) in freeze()
242 log(TAG, LogLevel.DEBUG, { str1 = name }, { "$str1 unfrozen" }) in unfreeze()
246 private fun echoToSystrace(level: LogLevel, tag: String, strMessage: String) { in echoToSystrace()
256 LogLevel.VERBOSE -> Log.v(message.tag, strMessage, message.exception) in echoToLogcat()
257 LogLevel.DEBUG -> Log.d(message.tag, strMessage, message.exception) in echoToLogcat()
258 LogLevel.INFO -> Log.i(message.tag, strMessage, message.exception) in echoToLogcat()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselControllerLogger.kt21 import com.android.systemui.log.core.LogLevel
37 LogLevel.DEBUG, in logPotentialMemoryLeak()
48 LogLevel.DEBUG, in logMediaLoaded()
59 LogLevel.DEBUG, in logMediaRemoved()
70 LogLevel.DEBUG, in logRecommendationLoaded()
81 LogLevel.DEBUG, in logRecommendationRemoved()
89 fun logCarouselHidden() = buffer.log(TAG, LogLevel.DEBUG, {}, { "hiding carousel" }) in <lambda>()
91 fun logCarouselVisible() = buffer.log(TAG, LogLevel.DEBUG, {}, { "showing carousel" }) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/core/
DLoggerTest.kt39 logger.log(LogLevel.DEBUG, { "count=$int1" }) { in log_shouldCommitLogMessage()
53 logger.log(LogLevel.DEBUG, { "count=$int1" }) { int1 = 1 } in log_shouldUseCorrectLoggerTag()
61 verify(buffer).obtain(anyString(), eq(LogLevel.VERBOSE), any(), nullable()) in v_withMessageInitializer_shouldLogAtCorrectLevel()
68 verify(buffer).obtain(anyString(), eq(LogLevel.VERBOSE), any(), nullable()) in v_withCompileTimeMessage_shouldLogAtCorrectLevel()
75 verify(buffer).obtain(anyString(), eq(LogLevel.DEBUG), any(), nullable()) in d_withMessageInitializer_shouldLogAtCorrectLevel()
82 verify(buffer).obtain(anyString(), eq(LogLevel.DEBUG), any(), nullable()) in d_withCompileTimeMessage_shouldLogAtCorrectLevel()
89 verify(buffer).obtain(anyString(), eq(LogLevel.INFO), any(), nullable()) in i_withMessageInitializer_shouldLogAtCorrectLevel()
96 verify(buffer).obtain(anyString(), eq(LogLevel.INFO), any(), nullable()) in i_withCompileTimeMessage_shouldLogAtCorrectLevel()
103 verify(buffer).obtain(anyString(), eq(LogLevel.WARNING), any(), nullable()) in w_withMessageInitializer_shouldLogAtCorrectLevel()
110 verify(buffer).obtain(anyString(), eq(LogLevel.WARNING), any(), nullable()) in w_withCompileTimeMessage_shouldLogAtCorrectLevel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotificationRowBinderLogger.kt20 import com.android.systemui.log.core.LogLevel
33 LogLevel.DEBUG, in logCreatingRow()
43 buffer.log(TAG, LogLevel.DEBUG, { str1 = entry.logKey }, { "inflating row for $str1" }) in logInflatingRow()
47 buffer.log(TAG, LogLevel.DEBUG, { str1 = entry.logKey }, { "inflated row for $str1" }) in logInflatedRow()
53 LogLevel.DEBUG, in logUpdatingRow()
63 buffer.log(TAG, LogLevel.DEBUG, { str1 = entry.logKey }, { "releasing views for $str1" }) in logReleasingViews()
69 LogLevel.DEBUG, in logNotReleasingViewsRowDoesntExist()
78 LogLevel.DEBUG, in logRequestingRebind()
88 buffer.log(TAG, LogLevel.DEBUG, { str1 = entry.key }, { "rebind complete for $str1" }) in logRebindComplete()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavBarButtonClickLogger.kt20 import com.android.systemui.log.core.LogLevel
28 buffer.log(TAG, LogLevel.DEBUG, {}, { "Home Button Triggered" }) in logHomeButtonClick()
32 buffer.log(TAG, LogLevel.DEBUG, {}, { "Back Button Triggered" }) in logBackButtonClick()
36 buffer.log(TAG, LogLevel.DEBUG, {}, { "Recents Button Triggered" }) in logRecentsButtonClick()
40 buffer.log(TAG, LogLevel.DEBUG, {}, { "Ime Switcher Triggered" }) in logImeSwitcherClick()
44 buffer.log(TAG, LogLevel.DEBUG, {}, { "Accessibility Button Triggered" }) in logAccessibilityButtonClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DSideFpsLogger.kt21 import com.android.systemui.log.core.LogLevel
47 LogLevel.DEBUG, in sfpsProgressBarStateChanged()
67 buffer.log(TAG, LogLevel.DEBUG, "hiding SFPS indicator to show progress bar") in hidingSfpsIndicator()
73 LogLevel.DEBUG, in showingSfpsIndicator()
82 LogLevel.DEBUG, in isProlongedTouchRequiredForAuthenticationChanged()
96 LogLevel.DEBUG, in sensorLocationStateChanged()
115 LogLevel.DEBUG, in authDurationChanged()
124 LogLevel.DEBUG, in restToUnlockSettingEnabledChanged()

1234567