Home
last modified time | relevance | path

Searched refs:isBufferLoggable (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/echo/
DLogcatEchoTrackerDebugTest.kt72 assertTrue(echoTracker.isBufferLoggable("foo", WARNING)) in testUnsetLogLevelIsWarning()
73 assertFalse(echoTracker.isBufferLoggable("foo", INFO)) in testUnsetLogLevelIsWarning()
84 assertFalse(echoTracker.isBufferLoggable("foo", INFO)) in testLoadEmptySetting()
97 assertTrue(echoTracker.isBufferLoggable("buffer_1", DEBUG)) in testLoadOverridesFromSettings()
98 assertFalse(echoTracker.isBufferLoggable("buffer_1", VERBOSE)) in testLoadOverridesFromSettings()
117 assertTrue(echoTracker.isBufferLoggable("buffer_0", VERBOSE)) in testSetOverride()
119 assertTrue(echoTracker.isBufferLoggable("buffer_1", DEBUG)) in testSetOverride()
120 assertFalse(echoTracker.isBufferLoggable("buffer_1", VERBOSE)) in testSetOverride()
132 assertTrue(echoTracker.isBufferLoggable("buffer_1", WARNING)) in testSetOverrideNotAppliedUntilCoroutinesRun()
133 assertFalse(echoTracker.isBufferLoggable("buffer_1", INFO)) in testSetOverrideNotAppliedUntilCoroutinesRun()
[all …]
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/
DLogcatEchoTracker.kt24 fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean method
DLogBuffer.kt193 logcatEchoTracker.isBufferLoggable(name, message.level) || in echoToDesiredEndpoints()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/log/
DLogBufferHelper.kt28 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean = true in logcatLogBuffer() method in com.android.systemui.log.LogcatEchoTrackerAlways
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/echo/
DLogcatEchoTrackerProd.kt24 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean { in isBufferLoggable() method in com.android.systemui.log.echo.LogcatEchoTrackerProd
DLogcatEchoTrackerDebug.kt87 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean { in isBufferLoggable() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DTableLogBufferTest.kt937 whenever(logcatEchoTracker.isBufferLoggable(eq(NAME), any())).thenReturn(false) in <lambda>()
947 whenever(logcatEchoTracker.isBufferLoggable(eq(NAME), any())).thenReturn(true) in <lambda>()
957 whenever(logcatEchoTracker.isBufferLoggable(eq(NAME), any())).thenReturn(false) in <lambda>()
968 whenever(logcatEchoTracker.isBufferLoggable(eq(NAME), any())).thenAnswer { invocation -> in <lambda>()
980 whenever(logcatEchoTracker.isBufferLoggable(eq(NAME), eq(LogLevel.DEBUG))).thenReturn(true) in <lambda>()
994 whenever(logcatEchoTracker.isBufferLoggable(eq(NAME), any())).thenReturn(false) in <lambda>()
1015 whenever(logcatEchoTracker.isBufferLoggable(eq(NAME), any())).thenReturn(true) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinatorLoggerTest.kt179 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean = false in isBufferLoggable() method in com.android.systemui.statusbar.notification.NotificationWakeUpCoordinatorLoggerTest.LogBufferCounter
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/
DTableLogBuffer.kt276 logcatEchoTracker.isBufferLoggable(bufferName = name, LogLevel.DEBUG) || in echoToDesiredEndpoints()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestBase.kt103 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean = in <lambda>() method in com.android.systemui.statusbar.notification.interruption.VisualInterruptionDecisionProviderTestBase