Home
last modified time | relevance | path

Searched refs:mStatusBarManagerInternal (Results 1 – 7 of 7) 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/core/java/com/android/server/power/
DNotifier.java125 @Nullable private final StatusBarManagerInternal mStatusBarManagerInternal; field in Notifier
177 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in Notifier()
834 if (mShowWirelessChargingAnimationConfig && mStatusBarManagerInternal != null) { in showWirelessChargingStarted()
835 mStatusBarManagerInternal.showChargingAnimation(batteryLevel); in showWirelessChargingStarted()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java103 private StatusBarManagerInternal mStatusBarManagerInternal; field in DisplayRotation
1350 if (mStatusBarManagerInternal == null) { in sendProposedRotationChangeToStatusBarInternal()
1351 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in sendProposedRotationChangeToStatusBarInternal()
1353 if (mStatusBarManagerInternal != null) { in sendProposedRotationChangeToStatusBarInternal()
1354 mStatusBarManagerInternal.onProposedRotationChanged(rotation, isValid); in sendProposedRotationChangeToStatusBarInternal()
DDisplayPolicy.java260 private StatusBarManagerInternal mStatusBarManagerInternal; field in DisplayPolicy
273 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
274 mStatusBarManagerInternal = in getStatusBarManagerInternal()
277 return mStatusBarManagerInternal; in getStatusBarManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java82 private @Mock StatusBarManagerInternal mStatusBarManagerInternal; field in GestureLauncherServiceTest
99 LocalServices.addService(StatusBarManagerInternal.class, mStatusBarManagerInternal); in setup()
161 verify(mStatusBarManagerInternal).onCameraLaunchGestureDetected(FAKE_SOURCE); in testHandleCameraLaunchGesture_userSetupComplete()
354 verify(mStatusBarManagerInternal).onCameraLaunchGestureDetected( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete()
715 verify(mStatusBarManagerInternal).onCameraLaunchGestureDetected( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnNotInteractiveSetupComplete()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java117 @Mock private StatusBarManagerInternal mStatusBarManagerInternal; field in LockTaskControllerTest
151 LocalServices.addService(StatusBarManagerInternal.class, mStatusBarManagerInternal); in setUp()
215 verify(mStatusBarManagerInternal).showScreenPinningRequest(anyInt()); in testStartLockTaskMode_pinningRequest()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java364 StatusBarManagerInternal mStatusBarManagerInternal; field in PhoneWindowManager
831 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
832 mStatusBarManagerInternal = in getStatusBarManagerInternal()
835 return mStatusBarManagerInternal; in getStatusBarManagerInternal()