Home
last modified time | relevance | path

Searched refs:requestQuietModeEnabled (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java998 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()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java936 protected boolean requestQuietModeEnabled(boolean enableQuietMode, UserHandle userHandle) { in requestQuietModeEnabled() method in ShadowUserManager
1202 protected boolean requestQuietModeEnabled( in requestQuietModeEnabled() method in ShadowUserManager
1204 return requestQuietModeEnabled(enableQuietMode, userHandle); in requestQuietModeEnabled()