Home
last modified time | relevance | path

Searched refs:isAmbientDisplaySuppressed (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/
H A DPowerManagerInternal.java349 public abstract boolean isAmbientDisplaySuppressed(); in isAmbientDisplaySuppressed() method in PowerManagerInternal
H A DIPowerManager.aidl143 boolean isAmbientDisplaySuppressed(); in isAmbientDisplaySuppressed() method
H A DPowerManager.java2859 public boolean isAmbientDisplaySuppressed() { in isAmbientDisplaySuppressed() method in PowerManager
2861 return mService.isAmbientDisplaySuppressed(); in isAmbientDisplaySuppressed()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/
H A DUiModeManagerServiceTest.java1379 when(mLocalPowerManager.isAmbientDisplaySuppressed()).thenReturn(true); in dreamWhenDocked_ambientModeSuppressed_suppressionEnabled()
1390 when(mLocalPowerManager.isAmbientDisplaySuppressed()).thenReturn(true); in dreamWhenDocked_ambientModeSuppressed_suppressionDisabled()
1401 when(mLocalPowerManager.isAmbientDisplaySuppressed()).thenReturn(false); in dreamWhenDocked_ambientModeNotSuppressed_suppressionEnabled()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DPowerManagerServiceTest.java1763 assertThat(mService.getBinderServiceInstance().isAmbientDisplaySuppressed()).isFalse(); in testIsAmbientDisplaySuppressed_default_notSuppressed()
1771 assertThat(mService.getBinderServiceInstance().isAmbientDisplaySuppressed()).isTrue(); in testIsAmbientDisplaySuppressed_suppressed()
1779 assertThat(mService.getBinderServiceInstance().isAmbientDisplaySuppressed()).isFalse(); in testIsAmbientDisplaySuppressed_notSuppressed()
1788 assertThat(mService.getBinderServiceInstance().isAmbientDisplaySuppressed()).isTrue(); in testIsAmbientDisplaySuppressed_multipleTokens_suppressed()
1797 assertThat(mService.getBinderServiceInstance().isAmbientDisplaySuppressed()).isFalse(); in testIsAmbientDisplaySuppressed_multipleTokens_notSuppressed()
/aosp14/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamManagerService.java421 && mPowerManagerInternal.isAmbientDisplaySuppressed()) { in canStartDreamingInternal()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java1913 && mLocalPowerManager.isAmbientDisplaySuppressed(); in sendConfigurationAndStartDreamOrDockAppLocked()
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java6680 public boolean isAmbientDisplaySuppressed() {
7051 public boolean isAmbientDisplaySuppressed() {
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt10731 …rmission(android.Manifest.permission.READ_DREAM_STATE) public boolean isAmbientDisplaySuppressed();