Searched refs:lifecycleCounts (Results 1 – 2 of 2) sorted by relevance
206 final ActivityLifecycleCounts lifecycleCounts = waitForOnMultiWindowModeChanged( in testLaunchToSideMultiWindowCallbacks() local209 lifecycleCounts.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testLaunchToSideMultiWindowCallbacks()228 ActivityLifecycleCounts lifecycleCounts = in testNoUserLeaveHintOnMultiWindowModeChanged() local231 1, lifecycleCounts.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testNoUserLeaveHintOnMultiWindowModeChanged()233 0, lifecycleCounts.getCount(ActivityCallback.ON_USER_LEAVE_HINT)); in testNoUserLeaveHintOnMultiWindowModeChanged()255 lifecycleCounts = waitForOnMultiWindowModeChanged(NO_RELAUNCH_ACTIVITY); in testNoUserLeaveHintOnMultiWindowModeChanged()257 1, lifecycleCounts.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testNoUserLeaveHintOnMultiWindowModeChanged()259 0, lifecycleCounts.getCount(ActivityCallback.ON_USER_LEAVE_HINT)); in testNoUserLeaveHintOnMultiWindowModeChanged()
730 final ActivityLifecycleCounts lifecycleCounts = new ActivityLifecycleCounts(PIP_ACTIVITY); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden() local734 lifecycleCounts.getFirstIndex(ActivityCallback.ON_USER_LEAVE_HINT); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden()736 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_REQUESTED); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden()738 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_MODE_CHANGED); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden()763 final ActivityLifecycleCounts lifecycleCounts = new ActivityLifecycleCounts(PIP_ACTIVITY); in testAutoEnterPictureInPictureOnPictureInPictureRequested() local767 lifecycleCounts.getFirstIndex(ActivityCallback.ON_USER_LEAVE_HINT); in testAutoEnterPictureInPictureOnPictureInPictureRequested()769 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_REQUESTED); in testAutoEnterPictureInPictureOnPictureInPictureRequested()771 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_MODE_CHANGED); in testAutoEnterPictureInPictureOnPictureInPictureRequested()1318 final ActivityLifecycleCounts lifecycleCounts = new ActivityLifecycleCounts(PIP_ACTIVITY); in testEnterPipInterruptedCallbacks() local1320 lifecycleCounts.getCount(ActivityCallback.ON_CONFIGURATION_CHANGED)); in testEnterPipInterruptedCallbacks()[all …]