Searched refs:getUserSwitchability (Results 1 – 2 of 2) sorted by relevance
906 assertThat(userManager.getUserSwitchability()).isEqualTo(UserManager.SWITCHABILITY_STATUS_OK); in getUserSwitchability_shouldReturnLastSetSwitchability()909 assertThat(userManager.getUserSwitchability()) in getUserSwitchability_shouldReturnLastSetSwitchability()912 assertThat(userManager.getUserSwitchability()).isEqualTo(UserManager.SWITCHABILITY_STATUS_OK); in getUserSwitchability_shouldReturnLastSetSwitchability()919 assertThat(userManager.getUserSwitchability()) in setCanSwitchUser_shouldChangeSwitchabilityState()922 assertThat(userManager.getUserSwitchability()).isEqualTo(UserManager.SWITCHABILITY_STATUS_OK); in setCanSwitchUser_shouldChangeSwitchabilityState()
1193 return getUserSwitchability() == UserManager.SWITCHABILITY_STATUS_OK; in canSwitchUsers()1197 protected int getUserSwitchability() { in getUserSwitchability() method in ShadowUserManager