Home
last modified time | relevance | path

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

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java916 assertThat(userManager.getUserSwitchability()).isEqualTo(UserManager.SWITCHABILITY_STATUS_OK); in getUserSwitchability_shouldReturnLastSetSwitchability()
919 assertThat(userManager.getUserSwitchability()) in getUserSwitchability_shouldReturnLastSetSwitchability()
922 assertThat(userManager.getUserSwitchability()).isEqualTo(UserManager.SWITCHABILITY_STATUS_OK); in getUserSwitchability_shouldReturnLastSetSwitchability()
929 assertThat(userManager.getUserSwitchability()) in setCanSwitchUser_shouldChangeSwitchabilityState()
932 assertThat(userManager.getUserSwitchability()).isEqualTo(UserManager.SWITCHABILITY_STATUS_OK); in setCanSwitchUser_shouldChangeSwitchabilityState()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java1167 return getUserSwitchability() == UserManager.SWITCHABILITY_STATUS_OK; in canSwitchUsers()
1171 protected int getUserSwitchability() { in getUserSwitchability() method in ShadowUserManager