Home
last modified time | relevance | path

Searched refs:mActivityManagerWrapper (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/systemsounds/
DHomeSoundEffectControllerTest.java59 private @Mock ActivityManagerWrapper mActivityManagerWrapper; field in HomeSoundEffectControllerTest
90 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/systemsounds/
DHomeSoundEffectController.java48 private final ActivityManagerWrapper mActivityManagerWrapper; field in HomeSoundEffectController
70 mActivityManagerWrapper = activityManagerWrapper; in HomeSoundEffectController()
86 mActivityManagerWrapper.getRunningTask(); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DInflatedSmartRepliesTest.java74 @Mock private ActivityManagerWrapper mActivityManagerWrapper; field in InflatedSmartRepliesTest
89 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()