Home
last modified time | relevance | path

Searched refs:latencyTracker (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/am/
DStackTracesDumpHelper.java94 @NonNull Executor auxiliaryTaskExecutor, AnrLatencyTracker latencyTracker) { in dumpStackTraces() argument
97 latencyTracker); in dumpStackTraces()
108 AnrLatencyTracker latencyTracker) { in dumpStackTraces() argument
111 /* memoryHeaders= */ null, auxiliaryTaskExecutor, null, latencyTracker); in dumpStackTraces()
123 Future<File> firstPidFilePromise, AnrLatencyTracker latencyTracker) { in dumpStackTraces() argument
126 if (latencyTracker != null) { in dumpStackTraces()
127 latencyTracker.dumpStackTracesStarted(); in dumpStackTraces()
135 ? () -> getExtraPids(processCpuTracker, lastPids, latencyTracker) : null; in dumpStackTraces()
157 if (latencyTracker != null) { in dumpStackTraces()
158 latencyTracker.anrSkippedDumpStackTraces(); in dumpStackTraces()
[all …]
DProcessErrorStateRecord.java299 AnrLatencyTracker latencyTracker = timeoutRecord.mLatencyTracker; in appNotResponding() local
315 latencyTracker.waitingOnAMSLockStarted(); in appNotResponding()
317 latencyTracker.waitingOnAMSLockEnded(); in appNotResponding()
329 latencyTracker.updateCpuStatsNowCalled(); in appNotResponding()
331 latencyTracker.updateCpuStatsNowReturned(); in appNotResponding()
339 latencyTracker.waitingOnAMSLockStarted(); in appNotResponding()
341 latencyTracker.waitingOnAMSLockEnded(); in appNotResponding()
349 latencyTracker.anrSkippedProcessErrorStateRecordAppNotResponding(); in appNotResponding()
355 latencyTracker.waitingOnProcLockStarted(); in appNotResponding()
357 latencyTracker.waitingOnProcLockEnded(); in appNotResponding()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DDisplaySwitchNotificationsHiderTrackerTest.kt44 private val latencyTracker = mock<LatencyTracker>() constant
49 private val tracker = DisplaySwitchNotificationsHiderTracker(shadeInteractor, latencyTracker)
63 verify(latencyTracker).onActionStart(HIDE_NOTIFICATIONS_ACTION) in <lambda>()
72 clearInvocations(latencyTracker) in notificationsBecomeVisibleAfterHidden_tracksHideActionEnd()
76 verify(latencyTracker).onActionEnd(HIDE_NOTIFICATIONS_ACTION) in notificationsBecomeVisibleAfterHidden_tracksHideActionEnd()
89 verify(latencyTracker, never()) in notificationsBecomeHiddenWhenShadeIsClosed_doesNotTrackHideWhenVisibleActionStart()
103 verify(latencyTracker).onActionStart(HIDE_NOTIFICATIONS_WHEN_VISIBLE_ACTION) in <lambda>()
116 verify(latencyTracker).onActionStart(HIDE_NOTIFICATIONS_WHEN_VISIBLE_ACTION) in shadeBecomesOpenWhenNotificationsHidden_tracksHideWhenVisibleActionStart()
127 clearInvocations(latencyTracker) in <lambda>()
132 verify(latencyTracker).onActionEnd(HIDE_NOTIFICATIONS_WHEN_VISIBLE_ACTION) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DUnfoldLatencyTrackerTest.kt46 @Mock lateinit var latencyTracker: LatencyTracker variable in com.android.systemui.unfold.UnfoldLatencyTrackerTest
67 latencyTracker, in setUp()
90 verify(latencyTracker).onActionStart(any()) in unfold_startedFolded_animationsDisabled_eventPropagatedOnScreenTurnedOnEvent()
91 verify(latencyTracker).onActionEnd(any()) in unfold_startedFolded_animationsDisabled_eventPropagatedOnScreenTurnedOnEvent()
102 verify(latencyTracker).onActionStart(any()) in unfold_startedFolded_animationsEnabledOnScreenTurnedOn_eventNotFinished()
103 verify(latencyTracker, never()).onActionEnd(any()) in unfold_startedFolded_animationsEnabledOnScreenTurnedOn_eventNotFinished()
114 verifyNoMoreInteractions(latencyTracker) in firstFoldEventAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventNotPropagated()
126 verify(latencyTracker).onActionStart(any()) in secondFoldEventAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated()
127 verify(latencyTracker).onActionEnd(any()) in secondFoldEventAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated()
140 verify(latencyTracker).onActionStart(any()) in unfoldFoldUnfoldAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated()
[all …]
DFoldAodAnimationControllerTest.kt69 @Mock lateinit var latencyTracker: LatencyTracker variable in com.android.systemui.unfold.FoldAodAnimationControllerTest
125 latencyTracker, in setup()
147 verifyNoMoreInteractions(latencyTracker) in onFolded_aodDisabled_doesNotLogLatency()
159 verify(latencyTracker).onActionStart(any()) in onFolded_aodEnabled_logsLatency()
160 verify(latencyTracker).onActionEnd(any()) in onFolded_aodEnabled_logsLatency()
171 reset(latencyTracker) in onFolded_onScreenTurningOnInvokedTwice_doesNotLogLatency()
176 verify(latencyTracker, never()).onActionStart(any()) in onFolded_onScreenTurningOnInvokedTwice_doesNotLogLatency()
177 verify(latencyTracker, never()).onActionEnd(any()) in onFolded_onScreenTurningOnInvokedTwice_doesNotLogLatency()
188 reset(latencyTracker) in onFolded_onScreenTurningOnWithoutDozingThenWithDozing_doesNotLogLatency()
196 verify(latencyTracker, never()).onActionStart(any()) in onFolded_onScreenTurningOnWithoutDozingThenWithDozing_doesNotLogLatency()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DDisplaySwitchNotificationsHiderTracker.kt36 private val latencyTracker: LatencyTracker in <lambda>() constant in com.android.systemui.statusbar.notification.stack.DisplaySwitchNotificationsHiderTracker
43 latencyTracker.onActionStart(ACTION_NOTIFICATIONS_HIDDEN_FOR_MEASURE) in <lambda>()
45 latencyTracker.onActionEnd(ACTION_NOTIFICATIONS_HIDDEN_FOR_MEASURE) in <lambda>()
56 latencyTracker.onActionStart( in <lambda>()
59 latencyTracker.onActionEnd( in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/
DDisplaySwitchNotficationsHiderTrackerKosmos.kt19 import com.android.internal.logging.latencyTracker
25 DisplaySwitchNotificationsHiderTracker(shadeInteractor, latencyTracker) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldLatencyTracker.kt48 private val latencyTracker: LatencyTracker, constant in com.android.systemui.unfold.UnfoldLatencyTracker
133 latencyTracker.onActionStart(LatencyTracker.ACTION_SWITCH_DISPLAY_UNFOLD) in onUnfoldStarted()
140 latencyTracker.onActionEnd(LatencyTracker.ACTION_SWITCH_DISPLAY_UNFOLD) in onUnfoldEnded()
DFoldAodAnimationController.kt57 private val latencyTracker: LatencyTracker, in <lambda>() constant in com.android.systemui.unfold.FoldAodAnimationController
272 latencyTracker.onActionStart(LatencyTracker.ACTION_FOLD_TO_AOD) in <lambda>()
281 latencyTracker.onActionEnd(LatencyTracker.ACTION_FOLD_TO_AOD) in <lambda>()
285 latencyTracker.onActionCancel(LatencyTracker.ACTION_FOLD_TO_AOD) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DBigPictureStatsManager.kt40 private val latencyTracker: LatencyTracker, in <lambda>() constant in com.android.systemui.statusbar.notification.row.BigPictureStatsManager
121 latencyTracker.logAction( in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/internal/logging/
DMetricsLoggerKosmos.kt27 val Kosmos.latencyTracker by Fixture { mock<LatencyTracker>() } in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSimPukViewControllerTest.kt57 @Mock private lateinit var latencyTracker: LatencyTracker variable in com.android.keyguard.KeyguardSimPukViewControllerTest
92 latencyTracker, in setup()
DKeyguardSimPinViewControllerTest.kt63 @Mock private lateinit var latencyTracker: LatencyTracker variable in com.android.keyguard.KeyguardSimPinViewControllerTest
97 latencyTracker, in setup()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinViewController.java59 LatencyTracker latencyTracker, LiftToActivateListener liftToActivateListener, in KeyguardPinViewController() argument
66 messageAreaControllerFactory, latencyTracker, liftToActivateListener, in KeyguardPinViewController()
DKeyguardPinBasedInputViewController.java73 LatencyTracker latencyTracker, in KeyguardPinBasedInputViewController() argument
81 messageAreaControllerFactory, latencyTracker, falsingCollector, in KeyguardPinBasedInputViewController()
DKeyguardAbsKeyInputViewController.java82 LatencyTracker latencyTracker, FalsingCollector falsingCollector, in KeyguardAbsKeyInputViewController() argument
89 mLatencyTracker = latencyTracker; in KeyguardAbsKeyInputViewController()
DKeyguardInputViewController.java221 LatencyTracker latencyTracker, in Factory() argument
234 mLatencyTracker = latencyTracker; in Factory()
DKeyguardPasswordViewController.java124 LatencyTracker latencyTracker, in KeyguardPasswordViewController() argument
136 messageAreaControllerFactory, latencyTracker, falsingCollector, in KeyguardPasswordViewController()
DKeyguardSimPinViewController.java94 LatencyTracker latencyTracker, LiftToActivateListener liftToActivateListener, in KeyguardSimPinViewController() argument
100 messageAreaControllerFactory, latencyTracker, liftToActivateListener, in KeyguardSimPinViewController()
DKeyguardPatternViewController.java198 LatencyTracker latencyTracker, in KeyguardPatternViewController() argument
208 mLatencyTracker = latencyTracker; in KeyguardPatternViewController()
DKeyguardSimPukViewController.java91 LatencyTracker latencyTracker, LiftToActivateListener liftToActivateListener, in KeyguardSimPukViewController() argument
97 messageAreaControllerFactory, latencyTracker, liftToActivateListener, in KeyguardSimPukViewController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DBackPanelControllerTest.kt68 @Mock private lateinit var latencyTracker: LatencyTracker variable in com.android.systemui.navigationbar.gestural.BackPanelControllerTest
87 latencyTracker, in setup()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardPasswordViewControllerTest.kt76 @Mock lateinit var latencyTracker: LatencyTracker variable in com.android.keyguard.KeyguardPasswordViewControllerTest
122 latencyTracker, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanel.kt21 class BackPanel(context: Context, private val latencyTracker: LatencyTracker) : View(context) { constant
519 latencyTracker.onActionEnd(LatencyTracker.ACTION_SHOW_BACK_ARROW) in hasOverlappingRendering()
527 latencyTracker.onActionStart(LatencyTracker.ACTION_SHOW_BACK_ARROW) in startTrackingShowBackArrowLatency()
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java209 String opPackageName, int opUid, LatencyTracker latencyTracker) { in wakeUpLocked() argument
225 latencyTracker.onActionStart(ACTION_TURN_ON_SCREEN, String.valueOf(mGroupId)); in wakeUpLocked()

12