Searched refs:mMockStatusBarManagerInternal (Results 1 – 3 of 3) sorted by relevance
106 @Mock private StatusBarManagerInternal mMockStatusBarManagerInternal; field in SystemActionPerformerTest117 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()
133 private StatusBarManagerInternal mMockStatusBarManagerInternal; field in DisplayRotationTests174 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()
88 private StatusBarManagerInternal mMockStatusBarManagerInternal; field in MagnificationConnectionManagerTest100 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()