Home
last modified time | relevance | path

Searched refs:lifecycles (Results 1 – 3 of 3) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1351 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(PIP_ACTIVITY); in testStopBeforeMultiWindowCallbacksOnDismiss() local
1352 assertEquals("onStop", 1, lifecycles.getCount(ActivityCallback.ON_STOP)); in testStopBeforeMultiWindowCallbacksOnDismiss()
1354 lifecycles.getCount(ActivityCallback.ON_PICTURE_IN_PICTURE_MODE_CHANGED)); in testStopBeforeMultiWindowCallbacksOnDismiss()
1356 lifecycles.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testStopBeforeMultiWindowCallbacksOnDismiss()
1357 final int lastStopIndex = lifecycles.getLastIndex(ActivityCallback.ON_STOP); in testStopBeforeMultiWindowCallbacksOnDismiss()
1358 final int lastPipIndex = lifecycles.getLastIndex( in testStopBeforeMultiWindowCallbacksOnDismiss()
1360 final int lastMwIndex = lifecycles.getLastIndex( in testStopBeforeMultiWindowCallbacksOnDismiss()
1917 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(activityName); in assertValidPictureInPictureCallbackOrder() local
1922 lifecycles.getCount(ActivityCallback.ON_CONFIGURATION_CHANGED), in assertValidPictureInPictureCallbackOrder()
1926 lifecycles.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in assertValidPictureInPictureCallbackOrder()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayClientTests.java286 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(activityName); in getCallbackCount() local
287 return lifecycles.getCount(callback); in getCallbackCount()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java2151 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(callbackHistory);
2153 return lifecycles.validateCount(
2159 return lifecycles.validateCount(