Searched refs:mActivityManagerWrapper (Results 1 – 5 of 5) sorted by relevance
60 private @Mock ActivityManagerWrapper mActivityManagerWrapper; field in HomeSoundEffectControllerTest91 mTaskStackChangeListeners, mActivityManagerWrapper, mPackageManager); in setUp()100 when(mActivityManagerWrapper.getRunningTask()).thenReturn(mHomeTaskHomeActivity); in testHomeSoundEffectNotPlayedWhenHomeFirstMovesToFront()115 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectPlayedWhenEnabled()137 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedTwiceInRow()165 when(mActivityManagerWrapper.getRunningTask()).thenReturn(mTaskAStandardActivity); in testHomeSoundEffectNotPlayedWhenNonHomeTaskMovesToFront()180 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFront()211 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenOtherHomeActivityMovesToFrontOfOtherApp()244 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenHomeActivityMovesToFrontAfterException()266 when(mActivityManagerWrapper.getRunningTask()).thenReturn( in testHomeSoundEffectNotPlayedWhenHomeActivityMovesToFrontAfterException2()[all …]
53 private final ActivityManagerWrapper mActivityManagerWrapper; field in ActionProxyReceiver61 mActivityManagerWrapper = activityManagerWrapper; in ActionProxyReceiver()68 mActivityManagerWrapper.closeSystemWindows(SYSTEM_DIALOG_REASON_SCREENSHOT); in onReceive()
48 private final ActivityManagerWrapper mActivityManagerWrapper; field in HomeSoundEffectController71 mActivityManagerWrapper = activityManagerWrapper; in HomeSoundEffectController()87 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()
341 @Inject Lazy<ActivityManagerWrapper> mActivityManagerWrapper; field in Dependency546 mProviders.put(ActivityManagerWrapper.class, mActivityManagerWrapper::get); in start()