Searched refs:isAmbientDisplaySuppressedForTokenByApp (Results 1 – 8 of 8) sorted by relevance
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
H A D | AmbientDisplayAlwaysOnPreferenceControllerTest.java | 84 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 D | PowerManagerServiceTest.java | 1165 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 D | AmbientDisplayAlwaysOnPreferenceController.java | 130 return powerManager.isAmbientDisplaySuppressedForTokenByApp(AOD_SUPPRESSED_TOKEN, uid); in isAodSuppressedByBedtime()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | IPowerManager.aidl | 103 boolean isAmbientDisplaySuppressedForTokenByApp(String token, int appUid); in isAmbientDisplaySuppressedForTokenByApp() method
|
H A D | PowerManager.java | 2461 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 D | BridgePowerManager.java | 281 public boolean isAmbientDisplaySuppressedForTokenByApp(String token, int appUid) { in isAmbientDisplaySuppressedForTokenByApp() method in BridgePowerManager
|
/aosp12/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 5841 public boolean isAmbientDisplaySuppressedForTokenByApp(@NonNull String token, int appUid) {
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 35883 …android/server/power/PowerManagerService$BinderService;->isAmbientDisplaySuppressedForTokenByApp(L…
|