Home
last modified time | relevance | path

Searched refs:mStatusBarManagerInternal (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DNotifierTest.java75 @Mock private StatusBarManagerInternal mStatusBarManagerInternal; field in NotifierTest
88 LocalServices.addService(StatusBarManagerInternal.class, mStatusBarManagerInternal); in setUp()
190 verify(mStatusBarManagerInternal, times(1)).showChargingAnimation(5); in testWirelessAnimationEnabled()
206 verify(mStatusBarManagerInternal, never()).showChargingAnimation(anyInt()); in testWirelessAnimationDisabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java87 private @Mock StatusBarManagerInternal mStatusBarManagerInternal; field in GestureLauncherServiceTest
106 LocalServices.addService(StatusBarManagerInternal.class, mStatusBarManagerInternal); in setup()
195 verify(mStatusBarManagerInternal).onCameraLaunchGestureDetected(FAKE_SOURCE); in testHandleCameraLaunchGesture_userSetupComplete()
424 verify(mStatusBarManagerInternal).onCameraLaunchGestureDetected( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete()
481 verify(mStatusBarManagerInternal).onCameraLaunchGestureDetected( in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch()
528 verify(mStatusBarManagerInternal).onEmergencyActionLaunchGestureDetected(); in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch()
582 verify(mStatusBarManagerInternal).onEmergencyActionLaunchGestureDetected(); in testInterceptPowerKeyDown_fiveInboundPresses_emergencyGestureEnabled_launchesFlow()
995 verify(mStatusBarManagerInternal).onCameraLaunchGestureDetected( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnNotInteractiveSetupComplete()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java126 @Nullable private final StatusBarManagerInternal mStatusBarManagerInternal; field in Notifier
180 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in Notifier()
804 if (mShowWirelessChargingAnimationConfig && mStatusBarManagerInternal != null) { in showWirelessChargingStarted()
805 mStatusBarManagerInternal.showChargingAnimation(batteryLevel); in showWirelessChargingStarted()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java110 private StatusBarManagerInternal mStatusBarManagerInternal; field in DisplayRotation
1409 if (mStatusBarManagerInternal == null) { in sendProposedRotationChangeToStatusBarInternal()
1410 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in sendProposedRotationChangeToStatusBarInternal()
1412 if (mStatusBarManagerInternal != null) { in sendProposedRotationChangeToStatusBarInternal()
1413 mStatusBarManagerInternal.onProposedRotationChanged(rotation, isValid); in sendProposedRotationChangeToStatusBarInternal()
DDisplayPolicy.java224 private StatusBarManagerInternal mStatusBarManagerInternal; field in DisplayPolicy
237 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
238 mStatusBarManagerInternal = in getStatusBarManagerInternal()
241 return mStatusBarManagerInternal; in getStatusBarManagerInternal()
DActivityTaskManagerService.java350 private StatusBarManagerInternal mStatusBarManagerInternal; field in ActivityTaskManagerService
4813 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
4814 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in getStatusBarManagerInternal()
4816 return mStatusBarManagerInternal; in getStatusBarManagerInternal()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java122 @Mock private StatusBarManagerInternal mStatusBarManagerInternal; field in LockTaskControllerTest
157 LocalServices.addService(StatusBarManagerInternal.class, mStatusBarManagerInternal); in setUp()
221 verify(mStatusBarManagerInternal).showScreenPinningRequest(anyInt()); in testStartLockTaskMode_pinningRequest()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java370 StatusBarManagerInternal mStatusBarManagerInternal; field in PhoneWindowManager
800 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
801 mStatusBarManagerInternal = in getStatusBarManagerInternal()
804 return mStatusBarManagerInternal; in getStatusBarManagerInternal()