Home
last modified time | relevance | path

Searched refs:isQuietModeEnabled (Results 1 – 5 of 5) sorted by relevance

/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DProfileAvailabilityPoll.java39 () -> !userManager.isUserRunning(userHandle) || userManager.isQuietModeEnabled(userHandle), in blockUntilUserNotAvailable()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSDKUtilities.java113 if (userManager.isQuietModeEnabled(userHandle)) { in filterUsersByAvailabilityRestrictions()
DDefaultUserBinder.java82 && !userManager.isQuietModeEnabled(userHandle); in bindingIsPossible()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java968 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()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java919 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled() method in ShadowUserManager