Home
last modified time | relevance | path

Searched refs:suppressAmbientDisplay (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DDefaultDeviceEffectsApplierTest.java128 verify(mPowerManager).suppressAmbientDisplay(anyString(), eq(true)); in apply_appliesEffects()
145 verify(mPowerManager).suppressAmbientDisplay(anyString(), eq(true)); in apply_removesEffects()
153 verify(mPowerManager).suppressAmbientDisplay(anyString(), eq(false)); in apply_removesEffects()
167 verify(mPowerManager).suppressAmbientDisplay(anyString(), eq(true)); in apply_removesOnlyPreviouslyAppliedEffects()
172 verify(mPowerManager).suppressAmbientDisplay(anyString(), eq(false)); in apply_removesOnlyPreviouslyAppliedEffects()
191 verify(mPowerManager).suppressAmbientDisplay(anyString(), eq(true)); in apply_missingSomeServices_okay()
228 verify(mPowerManager, never()).suppressAmbientDisplay(anyString(), anyBoolean()); in apply_someEffects_onlyThoseEffectsApplied()
333 .suppressAmbientDisplay(anyString(), anyBoolean()); in apply_servicesThrow_noCrash()
/frameworks/base/core/java/android/service/notification/
DZenDeviceEffects.java123 private ZenDeviceEffects(boolean grayscale, boolean suppressAmbientDisplay, in ZenDeviceEffects() argument
128 mSuppressAmbientDisplay = suppressAmbientDisplay; in ZenDeviceEffects()
432 public Builder setShouldSuppressAmbientDisplay(boolean suppressAmbientDisplay) { in setShouldSuppressAmbientDisplay() argument
433 mSuppressAmbientDisplay = suppressAmbientDisplay; in setShouldSuppressAmbientDisplay()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java1171 mService.getBinderServiceInstance().suppressAmbientDisplay("test", true); in testAmbientSuppression_disablesDreamingAndWakesDevice()
1198 mService.getBinderServiceInstance().suppressAmbientDisplay("test", true); in testAmbientSuppressionDisabled_shouldNotWakeDevice()
1218 mService.getBinderServiceInstance().suppressAmbientDisplay("test", true); in testAmbientSuppression_doesNotAffectDreamForcing()
1820 mService.getBinderServiceInstance().suppressAmbientDisplay("test", true); in testIsAmbientDisplaySuppressed_suppressed()
1828 mService.getBinderServiceInstance().suppressAmbientDisplay("test", false); in testIsAmbientDisplaySuppressed_notSuppressed()
1836 mService.getBinderServiceInstance().suppressAmbientDisplay("test1", false); in testIsAmbientDisplaySuppressed_multipleTokens_suppressed()
1837 mService.getBinderServiceInstance().suppressAmbientDisplay("test2", true); in testIsAmbientDisplaySuppressed_multipleTokens_suppressed()
1845 mService.getBinderServiceInstance().suppressAmbientDisplay("test1", false); in testIsAmbientDisplaySuppressed_multipleTokens_notSuppressed()
1846 mService.getBinderServiceInstance().suppressAmbientDisplay("test2", false); in testIsAmbientDisplaySuppressed_multipleTokens_notSuppressed()
1862 mService.getBinderServiceInstance().suppressAmbientDisplay("test", true); in testIsAmbientDisplaySuppressedForToken_suppressed()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacksTest.java185 mSbcqCallbacks.suppressAmbientDisplay(true); in testSuppressAmbientDisplay_suppress()
191 mSbcqCallbacks.suppressAmbientDisplay(false); in testSuppressAmbientDisplay_unsuppress()
/frameworks/base/services/core/java/com/android/server/power/
DAmbientDisplaySuppressionController.java87 getStatusBar().suppressAmbientDisplay(isSuppressed); in suppress()
DPowerManagerShellCommand.java113 mService.suppressAmbientDisplay(token, enabled); in runSuppressAmbientDisplay()
DPowerManagerService.java6807 public void suppressAmbientDisplay(@NonNull String token, boolean suppress) {
/frameworks/base/services/core/java/com/android/server/notification/
DDefaultDeviceEffectsApplier.java80 mPowerManager.suppressAmbientDisplay(SUPPRESS_AMBIENT_DISPLAY_TOKEN, in apply()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl140 void suppressAmbientDisplay(String token, boolean suppress); in suppressAmbientDisplay() method
DPowerManager.java2923 public void suppressAmbientDisplay(@NonNull String token, boolean suppress) { in suppressAmbientDisplay() method in PowerManager
2925 mService.suppressAmbientDisplay(token, suppress); in suppressAmbientDisplay()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl295 void suppressAmbientDisplay(boolean suppress); in suppressAmbientDisplay() method
DIStatusBarService.aidl173 void suppressAmbientDisplay(boolean suppress); in suppressAmbientDisplay() method
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java367 public void suppressAmbientDisplay(String token, boolean suppress) { in suppressAmbientDisplay() method in BridgePowerManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java540 mCommandQueue.suppressAmbientDisplay(true); in testSuppressAmbientDisplay()
542 verify(mCallbacks).suppressAmbientDisplay(true); in testSuppressAmbientDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacks.java496 public void suppressAmbientDisplay(boolean suppressed) { in suppressAmbientDisplay() method in CentralSurfacesCommandQueueCallbacks
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java441 default void suppressAmbientDisplay(boolean suppress) { } in suppressAmbientDisplay() method
1288 public void suppressAmbientDisplay(boolean suppress) { in suppressAmbientDisplay() method in CommandQueue
1874 callbacks.suppressAmbientDisplay((boolean) msg.obj); in handleMessage()
/frameworks/base/packages/SystemUI/docs/device-entry/
Ddoze.md58 * being suppressed by an app (see [PowerManager#suppressAmbientDisplay][16])
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java1971 public void suppressAmbientDisplay(boolean suppress) { in suppressAmbientDisplay() method in StatusBarManagerService
1976 bar.suppressAmbientDisplay(suppress); in suppressAmbientDisplay()
/frameworks/base/core/api/
Dsystem-current.txt11018 …ssion(android.Manifest.permission.WRITE_DREAM_STATE) public void suppressAmbientDisplay(@NonNull S…