/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | StateMachineTest.java | 118 final StringBuffer log = new StringBuffer(); in testStateMachineTransitToChild() local 121 stateMachine.addStateHandler(0x1, new LoggingHandler(0x1, log)); in testStateMachineTransitToChild() 122 stateMachine.addStateHandler(0x12, new LoggingHandler(0x12, log)); in testStateMachineTransitToChild() 123 stateMachine.addStateHandler(0x123, new LoggingHandler(0x123, log)); in testStateMachineTransitToChild() 124 stateMachine.addStateHandler(0x1233, new LoggingHandler(0x1233, log)); in testStateMachineTransitToChild() 128 assertEquals("i1;i12;", log.toString()); in testStateMachineTransitToChild() 132 log.setLength(0); in testStateMachineTransitToChild() 135 assertEquals("i123;i1233;", log.toString()); in testStateMachineTransitToChild() 140 final StringBuffer log = new StringBuffer(); in testStateMachineTransitToParent() local 143 stateMachine.addStateHandler(0x2, new LoggingHandler(0x2, log)); in testStateMachineTransitToParent() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 149 private String convertProtoToBase64String(TelephonyLog log) throws Exception { in convertProtoToBase64String() argument 155 return (String) method.invoke(null, log); in convertProtoToBase64String() 164 TelephonyLog log = buildProto(); in testEventDropped() local 165 assertEquals(1000, log.events.length); in testEventDropped() 166 assertEquals(0, log.callSessions.length); in testEventDropped() 167 assertEquals(0, log.smsSessions.length); in testEventDropped() 168 assertTrue(log.eventsDropped); in testEventDropped() 169 assertEquals(1, log.events[0].dataStallAction); in testEventDropped() 177 TelephonyLog log = buildProto(); in testWriteDataStallEvent() local 179 assertEquals(1, log.events.length); in testWriteDataStallEvent() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | WakeLockLogTest.java | 42 WakeLockLog log = new WakeLockLog(injectorSpy); in testAddTwoItems() local 45 log.onWakeLockAcquired("TagPartial", 101, in testAddTwoItems() 49 log.onWakeLockAcquired("TagFull", 102, in testAddTwoItems() 58 dumpLog(log, false)); in testAddTwoItems() 66 WakeLockLog log = new WakeLockLog(injectorSpy); in testAddTwoItemsWithTimeReset() local 69 log.onWakeLockAcquired("TagPartial", 101, PowerManager.PARTIAL_WAKE_LOCK); in testAddTwoItemsWithTimeReset() 72 log.onWakeLockAcquired("TagFull", 102, PowerManager.FULL_WAKE_LOCK); in testAddTwoItemsWithTimeReset() 80 dumpLog(log, false)); in testAddTwoItemsWithTimeReset() 88 WakeLockLog log = new WakeLockLog(injectorSpy); in testAddTwoItemsWithTagOverwrite() local 91 log.onWakeLockAcquired("TagPartial", 101, PowerManager.PARTIAL_WAKE_LOCK); in testAddTwoItemsWithTagOverwrite() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeLogger.kt | 22 import com.android.systemui.log.LogBuffer 23 import com.android.systemui.log.core.LogLevel.DEBUG 24 import com.android.systemui.log.core.LogLevel.ERROR 25 import com.android.systemui.log.core.LogLevel.INFO 26 import com.android.systemui.log.dagger.DozeLog 39 buffer.log(TAG, DEBUG, { in logPickupWakeup() 47 buffer.log(TAG, INFO, { in logPulseStart() 55 buffer.log(TAG, INFO, {}, { "Pulse finish" }) in logPulseFinish() 59 buffer.log(TAG, INFO, {}, { "Notification pulse" }) in logNotificationPulse() 63 buffer.log(TAG, INFO, { in logDozing() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/ |
D | KeyguardUpdateMonitorLogger.kt | 35 import com.android.systemui.log.LogBuffer 36 import com.android.systemui.log.core.LogLevel 37 import com.android.systemui.log.core.LogLevel.DEBUG 38 import com.android.systemui.log.core.LogLevel.ERROR 39 import com.android.systemui.log.core.LogLevel.INFO 40 import com.android.systemui.log.core.LogLevel.VERBOSE 41 import com.android.systemui.log.core.LogLevel.WARNING 42 import com.android.systemui.log.dagger.KeyguardUpdateMonitorLog 52 fun d(@CompileTimeConstant msg: String) = log(msg, DEBUG) in d() 54 fun e(@CompileTimeConstant msg: String) = log(msg, ERROR) in d() [all …]
|
/frameworks/base/core/tests/mockingcoretests/src/android/util/ |
D | TimingsTraceLogTest.java | 76 TimingsTraceLog log = new TimingsTraceLog(TAG, TRACE_TAG_APP); in testDifferentThreads() local 78 log.traceBegin("test"); in testDifferentThreads() 79 log.traceEnd(); in testDifferentThreads() 84 log.traceBegin("test"); in testDifferentThreads() 89 log.traceEnd(); in testDifferentThreads() 106 TimingsTraceLog log = new TimingsTraceLog("TEST", Trace.TRACE_TAG_APP); in testGetUnfinishedTracesForDebug() local 107 assertThat(log.getUnfinishedTracesForDebug()).isEmpty(); in testGetUnfinishedTracesForDebug() 109 log.traceBegin("One"); in testGetUnfinishedTracesForDebug() 110 assertThat(log.getUnfinishedTracesForDebug()).containsExactly("One").inOrder(); in testGetUnfinishedTracesForDebug() 112 log.traceBegin("Two"); in testGetUnfinishedTracesForDebug() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LSShadeTransitionLogger.kt | 22 import com.android.systemui.log.dagger.LSShadeTransitionLog 23 import com.android.systemui.log.LogBuffer 24 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() 81 lockscreenGestureLogger.log( in logDraggedDown() 86 buffer.log(TAG, LogLevel.DEBUG, {}, { in logDragDownAmountReset() [all …]
|
D | StatusBarNotificationActivityStarterLogger.kt | 20 import com.android.systemui.log.dagger.NotifInteractionLog 21 import com.android.systemui.log.LogBuffer 22 import com.android.systemui.log.core.LogLevel.DEBUG 23 import com.android.systemui.log.core.LogLevel.ERROR 24 import com.android.systemui.log.core.LogLevel.INFO 25 import com.android.systemui.log.core.LogLevel.WARNING 34 buffer.log(TAG, DEBUG, { in logStartingActivityFromClick() 42 buffer.log(TAG, DEBUG, { in logHandleClickAfterKeyguardDismissed() 50 buffer.log(TAG, DEBUG, { in logHandleClickAfterPanelCollapsed() 58 buffer.log(TAG, INFO, { in logStartNotificationIntent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptLogger.kt | 21 import com.android.systemui.log.dagger.NotificationInterruptLog 22 import com.android.systemui.log.LogBuffer 23 import com.android.systemui.log.core.LogLevel.DEBUG 24 import com.android.systemui.log.core.LogLevel.INFO 25 import com.android.systemui.log.core.LogLevel.WARNING 35 buffer.log(TAG, INFO, { in logHeadsUpFeatureChanged() 43 buffer.log(TAG, INFO, { in logWillDismissAll() 51 buffer.log(TAG, DEBUG, { in logNoBubbleNotAllowed() 60 buffer.log(TAG, DEBUG, { in logNoBubbleNoMetadata() 68 buffer.log(TAG, DEBUG, { in logNoHeadsUpFeatureDisabled() [all …]
|
D | NotificationInterruptStateProviderImpl.java | 207 public boolean checkHeadsUp(NotificationEntry entry, boolean log) { in checkHeadsUp() argument 209 return shouldHeadsUpWhenDozing(entry, log); in checkHeadsUp() 211 return shouldHeadsUpWhenAwake(entry, log); in checkHeadsUp() 355 mUiEventLogger.log(FSI_SUPPRESSED_SUPPRESSIVE_GROUP_ALERT_BEHAVIOR, uid, in logFullScreenIntentDecision() 363 mUiEventLogger.log(FSI_SUPPRESSED_SUPPRESSIVE_BUBBLE_METADATA, uid, in logFullScreenIntentDecision() 371 mUiEventLogger.log(FSI_SUPPRESSED_NO_HUN_OR_KEYGUARD, uid, packageName); in logFullScreenIntentDecision() 383 private boolean shouldHeadsUpWhenAwake(NotificationEntry entry, boolean log) { in shouldHeadsUpWhenAwake() argument 387 if (log) mLogger.logNoHeadsUpFeatureDisabled(); in shouldHeadsUpWhenAwake() 391 if (!canAlertCommon(entry, log)) { in shouldHeadsUpWhenAwake() 395 if (!canAlertHeadsUpCommon(entry, log)) { in shouldHeadsUpWhenAwake() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/ |
D | TimingsTraceAndSlogTest.java | 77 TimingsTraceAndSlog log = new TimingsTraceAndSlog(TAG, TRACE_TAG_APP); in testDifferentThreads() local 79 log.traceBegin("test"); in testDifferentThreads() 80 log.traceEnd(); in testDifferentThreads() 85 log.traceBegin("test"); in testDifferentThreads() 90 log.traceEnd(); in testDifferentThreads() 107 TimingsTraceAndSlog log = new TimingsTraceAndSlog(TAG, TRACE_TAG_APP); in testGetUnfinishedTracesForDebug() local 108 assertThat(log.getUnfinishedTracesForDebug()).isEmpty(); in testGetUnfinishedTracesForDebug() 110 log.traceBegin("One"); in testGetUnfinishedTracesForDebug() 111 assertThat(log.getUnfinishedTracesForDebug()).containsExactly("One").inOrder(); in testGetUnfinishedTracesForDebug() 113 log.traceBegin("Two"); in testGetUnfinishedTracesForDebug() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/ |
D | FaceAuthenticationLogger.kt | 1 package com.android.systemui.log 9 import com.android.systemui.log.core.LogLevel.DEBUG 10 import com.android.systemui.log.dagger.FaceAuthLog 33 logBuffer.log( in ignoredFaceAuthTrigger() 48 logBuffer.log( in queuingRequestWhileCancelling() 63 logBuffer.log(TAG, DEBUG, { str1 = uiEvent.reason }, { "Running authenticate for $str1" }) in authenticating() 70 logBuffer.log( in detectionNotSupported() 88 logBuffer.log( in skippingDetection() 103 logBuffer.log(TAG, DEBUG, "Face detection started.") in faceDetectionStarted() 107 logBuffer.log(TAG, DEBUG, "Face detected") in faceDetected() [all …]
|
D | ScreenDecorationsLogger.kt | 17 package com.android.systemui.log 24 import com.android.systemui.log.core.LogLevel.DEBUG 25 import com.android.systemui.log.core.LogLevel.ERROR 26 import com.android.systemui.log.core.LogLevel.INFO 27 import com.android.systemui.log.dagger.ScreenDecorationsLog 49 logBuffer.log( in cameraProtectionBoundsForScanningOverlay() 58 logBuffer.log( in hwcLayerCameraProtectionBounds() 67 logBuffer.log( in dcvCameraBounds() 79 logBuffer.log(TAG, ERROR, "CutoutView not initialized showCameraProtection") in cutoutViewNotInitialized() 83 logBuffer.log( in boundingRect() [all …]
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | Main.java | 70 Log log = new Log(); in main() local 75 if (!processArgs(log, args, osJarPath, osDestJar)) { in main() 76 log.error("Usage: layoutlib_create [-v] [--create-stub] output.jar input.jar ..."); in main() 77 log.error("Usage: layoutlib_create [-v] [--list-deps|--missing-deps] input.jar ..."); in main() 82 System.exit(listDeps(osJarPath, log)); in main() 85 System.exit(createLayoutLib(osDestJar[0], osJarPath, log)); in main() 92 private static int createLayoutLib(String osDestJar, ArrayList<String> osJarPath, Log log) { in createLayoutLib() argument 93 log.info("Output: %1$s", osDestJar); in createLayoutLib() 95 log.info("Input : %1$s", path); in createLayoutLib() 100 AsmGenerator agen = new AsmGenerator(log, info); in createLayoutLib() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/logging/ |
D | PrivacyLogger.kt | 21 import com.android.systemui.log.LogBuffer 22 import com.android.systemui.log.core.LogLevel 23 import com.android.systemui.log.core.LogMessage 24 import com.android.systemui.log.dagger.PrivacyLog 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() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedUiEventLogger.java | 207 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_GESTURE_IN); in logEvent() 210 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_GESTURE_OUT); in logEvent() 213 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_OVERSPACE_OUT); in logEvent() 216 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_POP_IME_OUT); in logEvent() 219 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_ROTATION_OUT); in logEvent() 222 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_APP_TAPS_OUT); in logEvent() 225 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_TIMEOUT_OUT); in logEvent() 228 mUiEventLogger.log(OneHandedTriggerEvent.ONE_HANDED_TRIGGER_SCREEN_OFF_OUT); in logEvent() 231 mUiEventLogger.log(OneHandedSettingsTogglesEvent in logEvent() 235 mUiEventLogger.log(OneHandedSettingsTogglesEvent in logEvent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HeadsUpManagerLogger.kt | 19 import com.android.systemui.log.dagger.NotificationHeadsUpLog 20 import com.android.systemui.log.LogBuffer 21 import com.android.systemui.log.core.LogLevel.INFO 22 import com.android.systemui.log.core.LogLevel.VERBOSE 32 buffer.log(TAG, INFO, { in logPackageSnoozed() 40 buffer.log(TAG, INFO, { in logPackageUnsnoozed() 48 buffer.log(TAG, INFO, { in logIsSnoozedReturned() 56 buffer.log(TAG, INFO, { }, { in logReleaseAllImmediately() 62 buffer.log(TAG, INFO, { in logShowNotification() 70 buffer.log(TAG, INFO, { in logRemoveNotification() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
D | NotifCollectionLogger.kt | 23 import com.android.systemui.log.dagger.NotificationLog 24 import com.android.systemui.log.LogBuffer 25 import com.android.systemui.log.core.LogLevel.DEBUG 26 import com.android.systemui.log.core.LogLevel.ERROR 27 import com.android.systemui.log.core.LogLevel.INFO 28 import com.android.systemui.log.core.LogLevel.WARNING 29 import com.android.systemui.log.core.LogLevel.WTF 70 buffer.log(TAG, INFO, { in logNotifPosted() 78 buffer.log(TAG, INFO, { in logNotifGroupPosted() 87 buffer.log(TAG, INFO, { in logNotifUpdated() [all …]
|
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/core/ |
D | Logger.kt | 17 package com.android.systemui.log.core 51 inline fun log( in log() method in com.android.systemui.log.core.Logger 75 fun log( in log() method 79 ) = log(level, { str1!! }, exception) { str1 = message } 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) [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsLogger.kt | 19 import com.android.systemui.log.LogBuffer 20 import com.android.systemui.log.core.LogLevel 21 import com.android.systemui.log.core.LogLevel.ERROR 22 import com.android.systemui.log.core.LogLevel.VERBOSE 23 import com.android.systemui.log.core.LogLevel.WARNING 24 import com.android.systemui.log.dagger.UdfpsLog 32 fun e(tag: String, @CompileTimeConstant msg: String) = log(tag, msg, ERROR) in e() 35 logBuffer.log(tag, ERROR, {}, { msg }, exception = throwable) in e() 38 fun v(tag: String, @CompileTimeConstant msg: String) = log(tag, msg, VERBOSE) in v() 40 fun w(tag: String, @CompileTimeConstant msg: String) = log(tag, msg, WARNING) in v() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | KeyguardCoordinatorLogger.kt | 19 import com.android.systemui.log.LogBuffer 20 import com.android.systemui.log.core.LogLevel 21 import com.android.systemui.log.dagger.UnseenNotificationLog 33 buffer.log( in logSeenOnLockscreen() 43 buffer.log( in logTrackingUnseen() 54 buffer.log( in logAllMarkedSeenOnUnlock() 68 buffer.log( in logShadeExpanded() 75 buffer.log( in logShadeExpanded() 83 buffer.log( in logUnseenUpdated() 91 buffer.log( in logUnseenRemoved() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | ShadeWindowLogger.kt | 19 import com.android.systemui.log.ConstantStringsLogger 20 import com.android.systemui.log.ConstantStringsLoggerImpl 21 import com.android.systemui.log.LogBuffer 22 import com.android.systemui.log.core.LogLevel 23 import com.android.systemui.log.core.LogLevel.DEBUG 24 import com.android.systemui.log.core.LogMessage 25 import com.android.systemui.log.dagger.ShadeWindowLog 34 buffer.log( in <lambda>() 42 private inline fun log( in <lambda>() method 47 buffer.log(TAG, logLevel, initializer, printer) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/logging/ |
D | QSLogger.kt | 24 import com.android.systemui.log.ConstantStringsLogger 25 import com.android.systemui.log.ConstantStringsLoggerImpl 26 import com.android.systemui.log.LogBuffer 27 import com.android.systemui.log.core.LogLevel.DEBUG 28 import com.android.systemui.log.core.LogLevel.ERROR 29 import com.android.systemui.log.core.LogLevel.VERBOSE 30 import com.android.systemui.log.dagger.QSConfigLog 31 import com.android.systemui.log.dagger.QSLog 47 buffer.log(TAG, ERROR, {}, { logMsg }, exception = ex) in <lambda>() 51 buffer.log(TAG, VERBOSE, { str1 = arg.toString() }, { "$msg: $str1" }) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/ |
D | MediaTimeoutLogger.kt | 21 import com.android.systemui.log.LogBuffer 22 import com.android.systemui.log.core.LogLevel 23 import com.android.systemui.log.dagger.MediaTimeoutListenerLog 34 buffer.log(TAG, LogLevel.DEBUG, { str1 = key }, { "reuse listener: $str1" }) in logReuseListener() 37 buffer.log( in logMigrateListener() 49 buffer.log( in logUpdateListener() 60 buffer.log( in logDelayedUpdate() 68 buffer.log(TAG, LogLevel.DEBUG, { str1 = key }, { "session destroyed $str1" }) in logSessionDestroyed() 71 buffer.log( in logPlaybackState() 82 buffer.log(TAG, LogLevel.VERBOSE, { str1 = key }, { "dispatching state update for $key" }) in logStateCallback() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | StackStateLogger.kt | 3 import com.android.systemui.log.LogBuffer 4 import com.android.systemui.log.core.LogLevel 5 import com.android.systemui.log.dagger.NotificationHeadsUpLog 6 import com.android.systemui.log.dagger.NotificationRenderLog 15 buffer.log(TAG, LogLevel.INFO, { in logHUNViewDisappearing() 23 buffer.log(TAG, LogLevel.INFO, { in logHUNViewAppearing() 31 buffer.log(TAG, LogLevel.ERROR, { in logHUNViewDisappearingWithRemoveEvent() 39 buffer.log(TAG, LogLevel.ERROR, { in logHUNViewAppearingWithAddEvent() 47 buffer.log(TAG, LogLevel.INFO, { in disappearAnimationEnded() 55 buffer.log(TAG, LogLevel.INFO, { in appearAnimationEnded() [all …]
|