Searched refs:mActivityManagerWrapper (Results 1 – 3 of 3) sorted by relevance
59 private @Mock ActivityManagerWrapper mActivityManagerWrapper; field in HomeSoundEffectControllerTest90 mTaskStackChangeListeners, mActivityManagerWrapper, mPackageManager); in setUp()99 when(mActivityManagerWrapper.getRunningTask()).thenReturn(mHomeTaskHomeActivity); in testHomeSoundEffectNotPlayedWhenHomeFirstMovesToFront()114 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectPlayedWhenEnabled()136 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedTwiceInRow()164 when(mActivityManagerWrapper.getRunningTask()).thenReturn(mTaskAStandardActivity); in testHomeSoundEffectNotPlayedWhenNonHomeTaskMovesToFront()179 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFront()210 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFrontOfOtherApp()243 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenHomeActivityMovesToFrontAfterException()265 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenHomeActivityMovesToFrontAfterException2()[all …]
48 private final ActivityManagerWrapper mActivityManagerWrapper; field in HomeSoundEffectController70 mActivityManagerWrapper = activityManagerWrapper; in HomeSoundEffectController()86 mActivityManagerWrapper.getRunningTask(); in start()
74 @Mock private ActivityManagerWrapper mActivityManagerWrapper; field in InflatedSmartRepliesTest89 mDependency.injectTestDependency(ActivityManagerWrapper.class, mActivityManagerWrapper); in setUp()101 when(mActivityManagerWrapper.isLockTaskKioskModeActive()).thenReturn(false); in setUp()105 mActivityManagerWrapper, in setUp()328 when(mActivityManagerWrapper.isLockTaskKioskModeActive()).thenReturn(true); in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartRepliesUnaffected()354 when(mActivityManagerWrapper.isLockTaskKioskModeActive()).thenReturn(true); in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartActionsAffected()391 when(mActivityManagerWrapper.isLockToAppActive()).thenReturn(true); in chooseSmartRepliesAndActions_screenPinningModeEnabled_suggestionsUnaffected()