Searched refs:getUserProfiles (Results 1 – 6 of 6) sorted by relevance
55 if (userManager.getUserProfiles().size() < 2) { in calculateIsRunningOnWorkProfile()
795 for (UserHandle userHandle : userManager.getUserProfiles()) { in findDifferentRunningUser()
51 assertThat(userManager.getUserProfiles()).contains(Process.myUserHandle()); in shouldGetUserProfiles()56 … assertThat(userManager.getUserProfiles()).containsExactly(Process.myUserHandle(), anotherProfile); in shouldGetUserProfiles()
68 assertThat(userManager.getUserProfiles()).contains(Process.myUserHandle()); in shouldGetUserProfiles()73 assertThat(userManager.getUserProfiles()) in shouldGetUserProfiles()81 assertThat(userManager.getUserProfiles()).contains(new UserHandle(2)); in getUserProfiles_calledFromProfile_shouldReturnList()85 assertThat(userManager.getUserProfiles()).containsExactly(new UserHandle(0), new UserHandle(2)); in getUserProfiles_calledFromProfile_shouldReturnList()91 assertThat(userManager.getUserProfiles()).containsExactly(new UserHandle(0)); in getUserProfiles_noProfiles_shouldReturnListOfSelf()
126 protected List<UserHandle> getUserProfiles() { in getUserProfiles() method in ShadowUserManager132 return getUserProfiles(); in getAllProfiles()
197 protected List<UserHandle> getUserProfiles() { in getUserProfiles() method in ShadowUserManager