/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | WakeLockLogTest.java | 64 WakeLockLog log = new WakeLockLog(injectorSpy, mContext); in testAddTwoItems_withNoEventTimeSupplied() local 66 log.onWakeLockAcquired("TagPartial", 101, in testAddTwoItems_withNoEventTimeSupplied() 70 log.onWakeLockAcquired("TagFull", 102, in testAddTwoItems_withNoEventTimeSupplied() 81 dumpLog(log, false)); in testAddTwoItems_withNoEventTimeSupplied() 89 WakeLockLog log = new WakeLockLog(injectorSpy, mContext); in testAddTwoItems() local 91 log.onWakeLockAcquired("TagPartial", 101, in testAddTwoItems() 94 log.onWakeLockAcquired("TagFull", 102, in testAddTwoItems() 105 dumpLog(log, false)); in testAddTwoItems() 113 WakeLockLog log = new WakeLockLog(injectorSpy, mContext); in testAddTwoItemsWithTimeReset() local 115 log.onWakeLockAcquired("TagPartial", 101, PowerManager.PARTIAL_WAKE_LOCK, 1000L); in testAddTwoItemsWithTimeReset() [all …]
|
/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 | 150 private String convertProtoToBase64String(TelephonyLog log) throws Exception { in convertProtoToBase64String() argument 156 return (String) method.invoke(null, log); in convertProtoToBase64String() 165 TelephonyLog log = buildProto(); in testEventDropped() local 166 assertEquals(1000, log.events.length); in testEventDropped() 167 assertEquals(0, log.callSessions.length); in testEventDropped() 168 assertEquals(0, log.smsSessions.length); in testEventDropped() 169 assertTrue(log.eventsDropped); in testEventDropped() 170 assertEquals(1, log.events[0].dataStallAction); in testEventDropped() 178 TelephonyLog log = buildProto(); in testWriteDataStallEvent() local 180 assertEquals(1, log.events.length); in testWriteDataStallEvent() [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 | 33 import com.android.systemui.log.LogBuffer 34 import com.android.systemui.log.core.LogLevel 35 import com.android.systemui.log.core.LogLevel.DEBUG 36 import com.android.systemui.log.core.LogLevel.ERROR 37 import com.android.systemui.log.core.LogLevel.INFO 38 import com.android.systemui.log.core.LogLevel.VERBOSE 39 import com.android.systemui.log.core.LogLevel.WARNING 40 import com.android.systemui.log.dagger.KeyguardUpdateMonitorLog 51 fun d(@CompileTimeConstant msg: String) = log(msg, DEBUG) in d() 53 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/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 logNoAlertingAppSuspended() 68 buffer.log(TAG, DEBUG, { in logNoBubbleNoMetadata() [all …]
|
D | NotificationInterruptStateProviderImpl.java | 229 public boolean checkHeadsUp(NotificationEntry entry, boolean log) { in checkHeadsUp() argument 231 return shouldHeadsUpWhenDozing(entry, log); in checkHeadsUp() 233 return shouldHeadsUpWhenAwake(entry, log); in checkHeadsUp() 389 mUiEventLogger.log(FSI_SUPPRESSED_SUPPRESSIVE_GROUP_ALERT_BEHAVIOR, uid, in logFullScreenIntentDecision() 397 mUiEventLogger.log(FSI_SUPPRESSED_SUPPRESSIVE_BUBBLE_METADATA, uid, in logFullScreenIntentDecision() 405 mUiEventLogger.log(FSI_SUPPRESSED_NO_HUN_OR_KEYGUARD, uid, packageName); in logFullScreenIntentDecision() 417 private boolean shouldHeadsUpWhenAwake(NotificationEntry entry, boolean log) { in shouldHeadsUpWhenAwake() argument 421 if (log) mLogger.logNoHeadsUpFeatureDisabled(); in shouldHeadsUpWhenAwake() 425 if (!canAlertCommon(entry, log)) { in shouldHeadsUpWhenAwake() 429 if (!canAlertHeadsUpCommon(entry, log)) { in shouldHeadsUpWhenAwake() [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 35 buffer.log(TAG, DEBUG, { in logStartingActivityFromClick() 47 buffer.log(TAG, DEBUG, { in logHandleClickAfterKeyguardDismissed() 55 buffer.log(TAG, DEBUG, { in logHandleClickAfterPanelCollapsed() 63 buffer.log(TAG, INFO, { in logStartNotificationIntent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/ |
D | FaceAuthenticationLogger.kt | 1 package com.android.systemui.log 8 import com.android.systemui.log.core.LogLevel.DEBUG 9 import com.android.systemui.log.dagger.FaceAuthLog 35 logBuffer.log( in ignoredWakeupReason() 46 logBuffer.log( in ignoredFaceAuthTrigger() 58 logBuffer.log(TAG, DEBUG, { str1 = uiEvent.reason }, { "Running authenticate for $str1" }) in authenticating() 65 logBuffer.log( in detectionNotSupported() 83 logBuffer.log( in skippingDetection() 98 logBuffer.log(TAG, DEBUG, "Face detection started.") in faceDetectionStarted() 102 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/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/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 logShowNotificationRequest() 70 buffer.log(TAG, INFO, { in logShowNotification() [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/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/qs/logging/ |
D | QSLogger.kt | 26 import com.android.systemui.log.ConstantStringsLogger 27 import com.android.systemui.log.ConstantStringsLoggerImpl 28 import com.android.systemui.log.LogBuffer 29 import com.android.systemui.log.core.LogLevel.DEBUG 30 import com.android.systemui.log.core.LogLevel.ERROR 31 import com.android.systemui.log.core.LogLevel.INFO 32 import com.android.systemui.log.core.LogLevel.VERBOSE 33 import com.android.systemui.log.dagger.QSConfigLog 34 import com.android.systemui.log.dagger.QSLog 50 buffer.log(TAG, ERROR, {}, { logMsg }, exception = ex) in <lambda>() [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 in com.android.systemui.log.core.Logger 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/statusbar/pipeline/mobile/data/ |
D | MobileInputLogger.kt | 27 import com.android.systemui.log.LogBuffer 28 import com.android.systemui.log.core.LogLevel 40 buffer.log( in logOnServiceStateChanged() 57 buffer.log( in logTopLevelServiceStateBroadcastEmergencyOnly() 69 buffer.log( in logTopLevelServiceStateBroadcastMissingExtras() 78 buffer.log( in logOnSignalStrengthsChanged() 90 buffer.log( in logOnDataConnectionStateChanged() 103 buffer.log( in logOnDataActivity() 115 buffer.log( in logOnCarrierNetworkChange() 127 buffer.log( in logOnCarrierRoamingNtnModeChanged() [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/keyguard/domain/interactor/ |
D | KeyguardTransitionAuditLogger.kt | 23 import com.android.systemui.log.core.LogLevel.VERBOSE 54 logger.log(TAG, VERBOSE, "WakefulnessModel", it) in start() 60 logger.log(TAG, VERBOSE, "Notif: isOnLockscreen", it) in start() 66 logger.log(TAG, VERBOSE, "Shade: isUserInteracting", it) in start() 73 logger.log(TAG, VERBOSE, "Notif: bounds (debounced)", it) in start() 80 logger.log(TAG, VERBOSE, "Notif: isOnLockscreenWithoutShade", it) in start() 86 logger.log(TAG, VERBOSE, "Primary bouncer showing", it) in start() 92 logger.log(TAG, VERBOSE, "Alternate bouncer showing", it) in start() 97 keyguardInteractor.isDozing.collect { logger.log(TAG, VERBOSE, "isDozing", it) } in start() 102 logger.log(TAG, VERBOSE, "isAbleToDream", it) in start() [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 …]
|