Searched refs:lifecycles (Results 1 – 3 of 3) sorted by relevance
1051 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(PIP_ACTIVITY); in testStopBeforeMultiWindowCallbacksOnDismiss() local1052 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() local1493 lifecycles.getCount(ActivityCallback.ON_CONFIGURATION_CHANGED), in assertValidPictureInPictureCallbackOrder()1497 lifecycles.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in assertValidPictureInPictureCallbackOrder()[all …]
283 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(activityName); in getCallbackCount() local284 return lifecycles.getCount(callback); in getCallbackCount()
2045 final ActivityLifecycleCounts lifecycles = new ActivityLifecycleCounts(callbackHistory);2047 return lifecycles.validateCount(2053 return lifecycles.validateCount(