Searched refs:getUserSwitchability (Results 1 – 2 of 2) sorted by relevance
916 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()
1167 return getUserSwitchability() == UserManager.SWITCHABILITY_STATUS_OK; in canSwitchUsers()1171 protected int getUserSwitchability() { in getUserSwitchability() method in ShadowUserManager