Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/power/
H A DNotifier.java128 @Nullable private final StatusBarManagerInternal mStatusBarManagerInternal; field in Notifier
183 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in Notifier()
824 if (mShowWirelessChargingAnimationConfig && mStatusBarManagerInternal != null) { in showWirelessChargingStarted()
825 mStatusBarManagerInternal.showChargingAnimation(batteryLevel); in showWirelessChargingStarted()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayRotation.java109 private StatusBarManagerInternal mStatusBarManagerInternal; field in DisplayRotation
1406 if (mStatusBarManagerInternal == null) { in sendProposedRotationChangeToStatusBarInternal()
1407 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in sendProposedRotationChangeToStatusBarInternal()
1409 if (mStatusBarManagerInternal != null) { in sendProposedRotationChangeToStatusBarInternal()
1410 mStatusBarManagerInternal.onProposedRotationChanged(rotation, isValid); in sendProposedRotationChangeToStatusBarInternal()
H A DDisplayPolicy.java230 private StatusBarManagerInternal mStatusBarManagerInternal; field in DisplayPolicy
243 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
244 mStatusBarManagerInternal = in getStatusBarManagerInternal()
247 return mStatusBarManagerInternal; in getStatusBarManagerInternal()
H A DActivityTaskManagerService.java353 private StatusBarManagerInternal mStatusBarManagerInternal; field in ActivityTaskManagerService
4919 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
4920 mStatusBarManagerInternal = LocalServices.getService(StatusBarManagerInternal.class); in getStatusBarManagerInternal()
4922 return mStatusBarManagerInternal; in getStatusBarManagerInternal()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java369 StatusBarManagerInternal mStatusBarManagerInternal; field in PhoneWindowManager
801 if (mStatusBarManagerInternal == null) { in getStatusBarManagerInternal()
802 mStatusBarManagerInternal = in getStatusBarManagerInternal()
805 return mStatusBarManagerInternal; in getStatusBarManagerInternal()