Home
last modified time | relevance | path

Searched refs:isAmbientDisplaySuppressedForTokenByApp (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/
DIPowerManager.aidl146 boolean isAmbientDisplaySuppressedForTokenByApp(String token, int appUid); in isAmbientDisplaySuppressedForTokenByApp() method
DPowerManager.java2979 public boolean isAmbientDisplaySuppressedForTokenByApp(@NonNull String token, int appUid) { in isAmbientDisplaySuppressedForTokenByApp() method in PowerManager
2981 return mService.isAmbientDisplaySuppressedForTokenByApp(token, appUid); in isAmbientDisplaySuppressedForTokenByApp()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java377 public boolean isAmbientDisplaySuppressedForTokenByApp(String token, int appUid) { in isAmbientDisplaySuppressedForTokenByApp() method in BridgePowerManager
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java1907 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_ambientDisplayUnavailable()
1916 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_default()
1926 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_suppressedByCallingApp()
1929 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_suppressedByCallingApp()
1939 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_notSuppressedByCallingApp()
1942 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_notSuppressedByCallingApp()
1953 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test1", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
1955 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test2", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
1958 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test1", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
1960 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test2", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6835 public boolean isAmbientDisplaySuppressedForTokenByApp(@NonNull String token, int appUid) {