Searched refs:isQuietModeEnabled (Results 1 – 5 of 5) sorted by relevance
39 () -> !userManager.isUserRunning(userHandle) || userManager.isQuietModeEnabled(userHandle), in blockUntilUserNotAvailable()
113 if (userManager.isQuietModeEnabled(userHandle)) { in filterUsersByAvailabilityRestrictions()
82 && !userManager.isQuietModeEnabled(userHandle); in bindingIsPossible()
968 assertThat(userManager.isQuietModeEnabled(Process.myUserHandle())).isFalse(); in isQuietModeEnabled_shouldReturnFalse()976 assertThat(userManager.isQuietModeEnabled(new UserHandle(10))).isFalse(); in isQuietModeEnabled_withProfile_shouldReturnFalse()986 assertThat(userManager.isQuietModeEnabled(new UserHandle(10))).isTrue(); in isQuietModeEnabled_withProfileQuietMode_shouldReturnTrue()1033 assertThat(userManager.isQuietModeEnabled(workHandle)).isTrue(); in requestQuietModeEnabled_withManagedProfile_shouldStopProfileAndEmitBroadcast()1071 assertThat(userManager.isQuietModeEnabled(workHandle)).isFalse(); in requestQuietModeDisabled_withManagedProfile_shouldStartProfileAndEmitBroadcast()1109 assertThat(userManager.isQuietModeEnabled(workHandle)).isTrue(); in requestQuietModeDisabled_withLockedManagedProfile_shouldNotDoAnything()
919 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled() method in ShadowUserManager