/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | DefaultDeviceEffectsApplierTest.java | 128 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/ |
D | ZenDeviceEffects.java | 123 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/ |
D | PowerManagerServiceTest.java | 1171 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/ |
D | CentralSurfacesCommandQueueCallbacksTest.java | 185 mSbcqCallbacks.suppressAmbientDisplay(true); in testSuppressAmbientDisplay_suppress() 191 mSbcqCallbacks.suppressAmbientDisplay(false); in testSuppressAmbientDisplay_unsuppress()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | AmbientDisplaySuppressionController.java | 87 getStatusBar().suppressAmbientDisplay(isSuppressed); in suppress()
|
D | PowerManagerShellCommand.java | 113 mService.suppressAmbientDisplay(token, enabled); in runSuppressAmbientDisplay()
|
D | PowerManagerService.java | 6807 public void suppressAmbientDisplay(@NonNull String token, boolean suppress) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | DefaultDeviceEffectsApplier.java | 80 mPowerManager.suppressAmbientDisplay(SUPPRESS_AMBIENT_DISPLAY_TOKEN, in apply()
|
/frameworks/base/core/java/android/os/ |
D | IPowerManager.aidl | 140 void suppressAmbientDisplay(String token, boolean suppress); in suppressAmbientDisplay() method
|
D | PowerManager.java | 2923 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/ |
D | IStatusBar.aidl | 295 void suppressAmbientDisplay(boolean suppress); in suppressAmbientDisplay() method
|
D | IStatusBarService.aidl | 173 void suppressAmbientDisplay(boolean suppress); in suppressAmbientDisplay() method
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 367 public void suppressAmbientDisplay(String token, boolean suppress) { in suppressAmbientDisplay() method in BridgePowerManager
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | CommandQueueTest.java | 540 mCommandQueue.suppressAmbientDisplay(true); in testSuppressAmbientDisplay() 542 verify(mCallbacks).suppressAmbientDisplay(true); in testSuppressAmbientDisplay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesCommandQueueCallbacks.java | 496 public void suppressAmbientDisplay(boolean suppressed) { in suppressAmbientDisplay() method in CentralSurfacesCommandQueueCallbacks
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 441 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/ |
D | doze.md | 58 * being suppressed by an app (see [PowerManager#suppressAmbientDisplay][16])
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 1971 public void suppressAmbientDisplay(boolean suppress) { in suppressAmbientDisplay() method in StatusBarManagerService 1976 bar.suppressAmbientDisplay(suppress); in suppressAmbientDisplay()
|
/frameworks/base/core/api/ |
D | system-current.txt | 11018 …ssion(android.Manifest.permission.WRITE_DREAM_STATE) public void suppressAmbientDisplay(@NonNull S…
|