Searched refs:requestQuietModeEnabled (Results 1 – 2 of 2) sorted by relevance
998 userManager.requestQuietModeEnabled(true, workHandle); in requestQuietModeEnabled_withoutPermission_shouldThrowException()1030 assertThat(userManager.requestQuietModeEnabled(true, workHandle)).isTrue(); in requestQuietModeEnabled_withManagedProfile_shouldStopProfileAndEmitBroadcast()1068 assertThat(userManager.requestQuietModeEnabled(false, workHandle)).isTrue(); in requestQuietModeDisabled_withManagedProfile_shouldStartProfileAndEmitBroadcast()1106 assertThat(userManager.requestQuietModeEnabled(false, workHandle)).isFalse(); in requestQuietModeDisabled_withLockedManagedProfile_shouldNotDoAnything()
936 protected boolean requestQuietModeEnabled(boolean enableQuietMode, UserHandle userHandle) { in requestQuietModeEnabled() method in ShadowUserManager1202 protected boolean requestQuietModeEnabled( in requestQuietModeEnabled() method in ShadowUserManager1204 return requestQuietModeEnabled(enableQuietMode, userHandle); in requestQuietModeEnabled()