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/
DPinnedStackTests.java1051 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(PIP_ACTIVITY); in testStopBeforeMultiWindowCallbacksOnDismiss() local
1052 assertEquals("onStop", 1, lifecycles.getCount(ActivityCallback.ON_STOP)); in testStopBeforeMultiWindowCallbacksOnDismiss()
1054 lifecycles.getCount(ActivityCallback.ON_PICTURE_IN_PICTURE_MODE_CHANGED)); in testStopBeforeMultiWindowCallbacksOnDismiss()
1056 lifecycles.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testStopBeforeMultiWindowCallbacksOnDismiss()
1057 final int lastStopIndex = lifecycles.getLastIndex(ActivityCallback.ON_STOP); in testStopBeforeMultiWindowCallbacksOnDismiss()
1058 final int lastPipIndex = lifecycles.getLastIndex( in testStopBeforeMultiWindowCallbacksOnDismiss()
1060 final int lastMwIndex = lifecycles.getLastIndex( in testStopBeforeMultiWindowCallbacksOnDismiss()
1488 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(activityName); in assertValidPictureInPictureCallbackOrder() local
1493 lifecycles.getCount(ActivityCallback.ON_CONFIGURATION_CHANGED), in assertValidPictureInPictureCallbackOrder()
1497 lifecycles.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in assertValidPictureInPictureCallbackOrder()
[all …]
DMultiDisplayClientTests.java283 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(activityName); in getCallbackCount() local
284 return lifecycles.getCount(callback); in getCallbackCount()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java2045 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(callbackHistory);
2047 return lifecycles.validateCount(
2053 return lifecycles.validateCount(