Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
H A DAmbientDisplayAlwaysOnPreferenceControllerTest.java84 when(mPowerManager.isAmbientDisplaySuppressedForTokenByApp(anyString(), anyInt())) in setUp()
156 when(mPowerManager.isAmbientDisplaySuppressedForTokenByApp(anyString(), anyInt())) in isAodSuppressedByBedtime_bedTimeModeOn_returnTrue()
181 when(mPowerManager.isAmbientDisplaySuppressedForTokenByApp(anyString(), anyInt())) in getSummary_bedTimeModeOn_shouldReturnUnavailableSummary()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DPowerManagerServiceTest.java1165 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_ambientDisplayUnavailable()
1175 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_default()
1186 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_suppressedByCallingApp()
1189 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_suppressedByCallingApp()
1200 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_notSuppressedByCallingApp()
1203 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_notSuppressedByCallingApp()
1215 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test1", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
1217 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test2", Binder.getCallingUid())) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
1220 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test1", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
1222 assertThat(service.isAmbientDisplaySuppressedForTokenByApp("test2", /* appUid= */ 123)) in testIsAmbientDisplaySuppressedForTokenByApp_multipleTokensSuppressedByCallingApp()
/aosp12/packages/apps/Settings/src/com/android/settings/display/
H A DAmbientDisplayAlwaysOnPreferenceController.java130 return powerManager.isAmbientDisplaySuppressedForTokenByApp(AOD_SUPPRESSED_TOKEN, uid); in isAodSuppressedByBedtime()
/aosp12/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl103 boolean isAmbientDisplaySuppressedForTokenByApp(String token, int appUid); in isAmbientDisplaySuppressedForTokenByApp() method
H A DPowerManager.java2461 public boolean isAmbientDisplaySuppressedForTokenByApp(@NonNull String token, int appUid) { in isAmbientDisplaySuppressedForTokenByApp() method in PowerManager
2463 return mService.isAmbientDisplaySuppressedForTokenByApp(token, appUid); in isAmbientDisplaySuppressedForTokenByApp()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java281 public boolean isAmbientDisplaySuppressedForTokenByApp(String token, int appUid) { in isAmbientDisplaySuppressedForTokenByApp() method in BridgePowerManager
/aosp12/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java5841 public boolean isAmbientDisplaySuppressedForTokenByApp(@NonNull String token, int appUid) {
/aosp12/frameworks/base/services/
H A Dart-profile35883 …android/server/power/PowerManagerService$BinderService;->isAmbientDisplaySuppressedForTokenByApp(L…