Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java106 @Mock private StatusBarManagerInternal mMockStatusBarManagerInternal; field in SystemActionPerformerTest
117 LocalServices.addService(StatusBarManagerInternal.class, mMockStatusBarManagerInternal); in setup()
265 verify(mMockStatusBarManagerInternal, never()).toggleRecentApps(); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId()
269 verify(mMockStatusBarManagerInternal).toggleRecentApps(); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId()
292 verify(mMockStatusBarManagerInternal).toggleRecentApps(); in testRecentApps_legacy()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java133 private StatusBarManagerInternal mMockStatusBarManagerInternal; field in DisplayRotationTests
174 mMockStatusBarManagerInternal = mock(StatusBarManagerInternal.class); in setUp()
175 LocalServices.addService(StatusBarManagerInternal.class, mMockStatusBarManagerInternal); in setUp()
680 verify(mMockStatusBarManagerInternal).onProposedRotationChanged(Surface.ROTATION_90, true); in testNotifiesChoiceWhenSensorUpdates_RotationLocked()
700 verify(mMockStatusBarManagerInternal).onProposedRotationChanged(Surface.ROTATION_90, true); in testNotifiesChoiceWhenSensorUpdates_immersiveApp()
730 verify(mMockStatusBarManagerInternal) in testAllowAllRotations_allowsUpsideDownSuggestion()
748 verify(mMockStatusBarManagerInternal) in testDoNotAllowAllRotations_doesNotAllowUpsideDownSuggestion()
768 clearInvocations(mMockStatusBarManagerInternal); in testAllowAllRotations_allowAllRotationsBecomesDisabled_forbidsUpsideDownSuggestion()
775 verify(mMockStatusBarManagerInternal) in testAllowAllRotations_allowAllRotationsBecomesDisabled_forbidsUpsideDownSuggestion()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationConnectionManagerTest.java88 private StatusBarManagerInternal mMockStatusBarManagerInternal; field in MagnificationConnectionManagerTest
100 LocalServices.addService(StatusBarManagerInternal.class, mMockStatusBarManagerInternal); in setUp()
131 }).when(mMockStatusBarManagerInternal).requestMagnificationConnection(anyBoolean()); in stubSetConnection()
622 verify(mMockStatusBarManagerInternal).requestMagnificationConnection(false); in requestConnectionToNull_disableAllMagnifiersAndRequestWindowMagnificationConnection()
628 verify(mMockStatusBarManagerInternal).requestMagnificationConnection(true); in requestConnection_requestWindowMagnificationConnection()