Searched refs:lifecycleCounts (Results 1 – 2 of 2) sorted by relevance
212 final ActivityLifecycleCounts lifecycleCounts = waitForOnMultiWindowModeChanged( in testLaunchToSideMultiWindowCallbacks() local215 lifecycleCounts.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testLaunchToSideMultiWindowCallbacks()234 ActivityLifecycleCounts lifecycleCounts = in testNoUserLeaveHintOnMultiWindowModeChanged() local237 1, lifecycleCounts.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testNoUserLeaveHintOnMultiWindowModeChanged()239 0, lifecycleCounts.getCount(ActivityCallback.ON_USER_LEAVE_HINT)); in testNoUserLeaveHintOnMultiWindowModeChanged()261 lifecycleCounts = waitForOnMultiWindowModeChanged(NO_RELAUNCH_ACTIVITY); in testNoUserLeaveHintOnMultiWindowModeChanged()263 1, lifecycleCounts.getCount(ActivityCallback.ON_MULTI_WINDOW_MODE_CHANGED)); in testNoUserLeaveHintOnMultiWindowModeChanged()265 0, lifecycleCounts.getCount(ActivityCallback.ON_USER_LEAVE_HINT)); in testNoUserLeaveHintOnMultiWindowModeChanged()
468 final ActivityLifecycleCounts lifecycleCounts = new ActivityLifecycleCounts(PIP_ACTIVITY); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden() local472 lifecycleCounts.getFirstIndex(ActivityCallback.ON_USER_LEAVE_HINT); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden()474 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_REQUESTED); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden()476 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_MODE_CHANGED); in testAutoEnterPictureInPictureOnUserLeaveHintWhenPipRequestedNotOverridden()501 final ActivityLifecycleCounts lifecycleCounts = new ActivityLifecycleCounts(PIP_ACTIVITY); in testAutoEnterPictureInPictureOnPictureInPictureRequested() local505 lifecycleCounts.getFirstIndex(ActivityCallback.ON_USER_LEAVE_HINT); in testAutoEnterPictureInPictureOnPictureInPictureRequested()507 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_REQUESTED); in testAutoEnterPictureInPictureOnPictureInPictureRequested()509 lifecycleCounts.getFirstIndex(ActivityCallback.ON_PICTURE_IN_PICTURE_MODE_CHANGED); in testAutoEnterPictureInPictureOnPictureInPictureRequested()1018 final ActivityLifecycleCounts lifecycleCounts = new ActivityLifecycleCounts(PIP_ACTIVITY); in testEnterPipInterruptedCallbacks() local1020 lifecycleCounts.getCount(ActivityCallback.ON_CONFIGURATION_CHANGED)); in testEnterPipInterruptedCallbacks()[all …]