Home
last modified time | relevance | path

Searched refs:InteractionJankMonitor (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DInteractionJankMonitorUtils.java27 import com.android.internal.jank.InteractionJankMonitor;
41 final InteractionJankMonitor.Configuration.Builder builder = in beginTracing()
42 InteractionJankMonitor.Configuration.Builder.withView(cujType, view); in beginTracing()
46 InteractionJankMonitor.getInstance().begin(builder); in beginTracing()
59 final InteractionJankMonitor.Configuration.Builder builder = in beginTracing()
60 InteractionJankMonitor.Configuration.Builder.withSurface(cujType, context, surface); in beginTracing()
64 InteractionJankMonitor.getInstance().begin(builder); in beginTracing()
73 InteractionJankMonitor.getInstance().end(cujType); in endTracing()
82 InteractionJankMonitor.getInstance().cancel(cujType); in cancelTracing()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInteractionJankMonitorWrapper.java24 import com.android.internal.jank.InteractionJankMonitor;
25 import com.android.internal.jank.InteractionJankMonitor.Configuration;
36 InteractionJankMonitor.getInstance().begin(v, cujType); in begin()
51 InteractionJankMonitor.getInstance().begin(builder); in begin()
68 InteractionJankMonitor.getInstance().begin(builder); in begin()
78 InteractionJankMonitor.getInstance().end(cujType); in end()
86 InteractionJankMonitor.getInstance().cancel(cujType); in cancel()
92 return InteractionJankMonitor.getInstance().isInstrumenting(cujType); in isInstrumenting()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowInteractionJankMonitor.java21 import com.android.internal.jank.InteractionJankMonitor;
28 @Implements(InteractionJankMonitor.class)
30 public static final InteractionJankMonitor MOCK_INSTANCE = mock(InteractionJankMonitor.class);
38 public static InteractionJankMonitor getInstance() { in getInstance()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DSettingsJankMonitor.kt23 import com.android.internal.jank.InteractionJankMonitor
31 private val jankMonitor = InteractionJankMonitor.getInstance()
64 val builder = InteractionJankMonitor.Configuration.Builder.withView( in detectToggleJank()
65 InteractionJankMonitor.CUJ_SETTINGS_TOGGLE, in detectToggleJank()
73 jankMonitor.end(InteractionJankMonitor.CUJ_SETTINGS_TOGGLE) in detectToggleJank()
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DInteractionJankMonitorTest.java23 import static com.android.internal.jank.InteractionJankMonitor.Configuration.generateSessionName;
53 import com.android.internal.jank.InteractionJankMonitor.Configuration;
92 InteractionJankMonitor monitor = createMockedInteractionJankMonitor(); in testBeginEnd()
107 InteractionJankMonitor monitor = new InteractionJankMonitor(mWorker); in testDisabledThroughDeviceConfig()
121 InteractionJankMonitor monitor = new InteractionJankMonitor(mWorker); in testCheckInitState()
133 InteractionJankMonitor monitor = createMockedInteractionJankMonitor(); in testBeginTimeout()
170 private InteractionJankMonitor createMockedInteractionJankMonitor() { in createMockedInteractionJankMonitor()
171 InteractionJankMonitor monitor = spy(new InteractionJankMonitor(mWorker)); in createMockedInteractionJankMonitor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/util/
DJankMonitorTransitionProgressListener.kt20 import com.android.internal.jank.InteractionJankMonitor
21 import com.android.internal.jank.InteractionJankMonitor.CUJ_UNFOLD_ANIM
28 private val interactionJankMonitor = InteractionJankMonitor.getInstance()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardInputView.java30 import com.android.internal.jank.InteractionJankMonitor;
86 InteractionJankMonitor.getInstance().cancel(cuj); in getAnimationListener()
88 InteractionJankMonitor.getInstance().end(cuj); in getAnimationListener()
94 InteractionJankMonitor.getInstance().begin(KeyguardInputView.this, cuj); in getAnimationListener()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimation.java20 import static com.android.internal.jank.InteractionJankMonitor.CUJ_SPLASHSCREEN_EXIT_ANIM;
30 import com.android.internal.jank.InteractionJankMonitor;
127 InteractionJankMonitor.getInstance().begin(mSplashScreenView, CUJ_SPLASHSCREEN_EXIT_ANIM); in onAnimationStart()
133 InteractionJankMonitor.getInstance().end(CUJ_SPLASHSCREEN_EXIT_ANIM); in onAnimationEnd()
139 InteractionJankMonitor.getInstance().cancel(CUJ_SPLASHSCREEN_EXIT_ANIM); in onAnimationCancel()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/jank/
DInteractionJankMonitorKosmos.kt22 import com.android.internal.jank.InteractionJankMonitor in <lambda>()
28 Fixture<InteractionJankMonitor> { in <lambda>()
47 object : InteractionJankMonitor(worker) { in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DSettingsJankMonitorTest.java38 import com.android.internal.jank.InteractionJankMonitor;
125 @Implements(InteractionJankMonitor.Configuration.Builder.class)
127 private static InteractionJankMonitor.Configuration.Builder sBuilder;
137 public static InteractionJankMonitor.Configuration.Builder withView( in withView()
141 sBuilder = mock(InteractionJankMonitor.Configuration.Builder.class); in withView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWindowManagerOcclusionManager.kt36 import com.android.internal.jank.InteractionJankMonitor in <lambda>()
87 val interactionJankMonitor: InteractionJankMonitor, in <lambda>()
180 InteractionJankMonitor.CUJ_LOCKSCREEN_OCCLUSION, in <lambda>()
230 InteractionJankMonitor.CUJ_LOCKSCREEN_OCCLUSION in <lambda>()
247 interactionJankMonitor.cancel(InteractionJankMonitor.CUJ_LOCKSCREEN_OCCLUSION) in <lambda>()
316 ): InteractionJankMonitor.Configuration.Builder { in <lambda>()
318 InteractionJankMonitor.Configuration.Builder.withView( in <lambda>()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewDialogTransitionAnimatorController.kt24 import com.android.internal.jank.InteractionJankMonitor
124 override fun jankConfigurationBuilder(): InteractionJankMonitor.Configuration.Builder? { in jankConfigurationBuilder()
126 return InteractionJankMonitor.Configuration.Builder.withView(type, source) in jankConfigurationBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTransitionAnimatorController.kt21 import com.android.internal.jank.InteractionJankMonitor
39 private val jankMonitor: InteractionJankMonitor
67 private val jankMonitor: InteractionJankMonitor,
195 jankMonitor.begin(notification, InteractionJankMonitor.CUJ_NOTIFICATION_APP_START) in onTransitionAnimationStart()
202 jankMonitor.end(InteractionJankMonitor.CUJ_NOTIFICATION_APP_START) in onTransitionAnimationEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandler.kt23 import com.android.internal.jank.InteractionJankMonitor in <lambda>()
66 InteractionJankMonitor.CUJ_SHADE_APP_LAUNCH_FROM_QS_TILE in handle()
89 InteractionJankMonitor.CUJ_SHADE_APP_LAUNCH_FROM_QS_TILE in handle()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionMonitorDebugOverlay.java89 InteractionJankMonitor.EXECUTOR_TASK_TIMEOUT); in dispose()
98 private boolean attachViewRootIfNeeded(InteractionJankMonitor.RunningTracker tracker) { in attachViewRootIfNeeded()
108 InteractionJankMonitor.EXECUTOR_TASK_TIMEOUT); in attachViewRootIfNeeded()
149 }, InteractionJankMonitor.EXECUTOR_TASK_TIMEOUT); in forceRedraw()
155 SparseArray<InteractionJankMonitor.RunningTracker> runningTrackers) { in onTrackerRemoved()
196 void onTrackerAdded(@Cuj.CujType int addedCuj, InteractionJankMonitor.RunningTracker tracker) { in onTrackerAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/
DUserSwitcherDialogCoordinator.kt22 import com.android.internal.jank.InteractionJankMonitor in <lambda>()
88 InteractionJankMonitor.CUJ_USER_DIALOG_OPEN, in <lambda>()
113 InteractionJankMonitor.CUJ_USER_DIALOG_OPEN, in <lambda>()
128 InteractionJankMonitor.CUJ_USER_DIALOG_OPEN, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockedScreenOffAnimationController.kt17 import com.android.internal.jank.InteractionJankMonitor
18 import com.android.internal.jank.InteractionJankMonitor.CUJ_SCREEN_OFF
19 import com.android.internal.jank.InteractionJankMonitor.CUJ_SCREEN_OFF_SHOW_AOD
71 private val interactionJankMonitor: InteractionJankMonitor,
250 InteractionJankMonitor.Configuration.Builder.withView( in shouldDelayKeyguardShow()
251 InteractionJankMonitor.CUJ_SCREEN_OFF_SHOW_AOD, in shouldDelayKeyguardShow()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/animation/
DFakeDialogTransitionAnimator.kt17 import com.android.internal.jank.InteractionJankMonitor
28 interactionJankMonitor: InteractionJankMonitor, in fakeDialogTransitionAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaOutputActionsInteractor.kt19 import com.android.internal.jank.InteractionJankMonitor
50 InteractionJankMonitor.CUJ_SHADE_DIALOG_OPEN, in dialogController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DActivatableNotificationView.java38 import com.android.internal.jank.InteractionJankMonitor;
39 import com.android.internal.jank.InteractionJankMonitor.Configuration;
466 InteractionJankMonitor.getInstance().end(getCujType(isAppearing)); in startAppearAnimation()
468 InteractionJankMonitor.getInstance().cancel(getCujType(isAppearing)); in startAppearAnimation()
480 InteractionJankMonitor.getInstance().begin(builder); in startAppearAnimation()
507 ? InteractionJankMonitor.CUJ_NOTIFICATION_HEADS_UP_APPEAR in getCujType()
508 : InteractionJankMonitor.CUJ_NOTIFICATION_HEADS_UP_DISAPPEAR; in getCujType()
511 ? InteractionJankMonitor.CUJ_NOTIFICATION_ADD in getCujType()
512 : InteractionJankMonitor.CUJ_NOTIFICATION_REMOVE; in getCujType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java19 import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_TRANSITION_FROM_AOD;
20 import static com.android.internal.jank.InteractionJankMonitor.CUJ_LOCKSCREEN_TRANSITION_TO_AOD;
43 import com.android.internal.jank.InteractionJankMonitor;
44 import com.android.internal.jank.InteractionJankMonitor.Configuration;
111 private final Lazy<InteractionJankMonitor> mInteractionJankMonitorLazy;
179 Lazy<InteractionJankMonitor> interactionJankMonitorLazy, in StatusBarStateControllerImpl()
498 InteractionJankMonitor monitor = mInteractionJankMonitorLazy.get(); in beginInteractionJankMonitor()
513 InteractionJankMonitor monitor = mInteractionJankMonitorLazy.get(); in endInteractionJankMonitor()
521 InteractionJankMonitor monitor = mInteractionJankMonitorLazy.get(); in cancelInteractionJankMonitor()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandableController.kt43 import com.android.internal.jank.InteractionJankMonitor
294 cujType?.let { InteractionJankMonitor.getInstance().begin(composeViewRoot, it) } in activityController()
298 cujType?.let { InteractionJankMonitor.getInstance().end(it) } in activityController()
353 override fun jankConfigurationBuilder(): InteractionJankMonitor.Configuration.Builder? { in dialogController()
355 return InteractionJankMonitor.Configuration.Builder.withView(type, composeViewRoot) in dialogController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogManager.kt19 import com.android.internal.jank.InteractionJankMonitor
72 DialogCuj(InteractionJankMonitor.CUJ_SHADE_DIALOG_OPEN, INTERACTION_JANK_TAG) in create()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java41 import com.android.internal.jank.InteractionJankMonitor;
71 private final InteractionJankMonitor mJankMonitor;
138 InteractionJankMonitor jankMonitor, in OneHandedDisplayAreaOrganizer()
334 final InteractionJankMonitor.Configuration.Builder builder = in beginCUJTracing()
335 InteractionJankMonitor.Configuration.Builder.withSurface( in beginCUJTracing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputDialogManager.kt23 import com.android.internal.jank.InteractionJankMonitor
64 InteractionJankMonitor.CUJ_SHADE_DIALOG_OPEN, in createAndShow()

12345