Home
last modified time | relevance | path

Searched refs:getUserProfiles (Results 1 – 6 of 6) sorted by relevance

/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSDKUtilities.java55 if (userManager.getUserProfiles().size() < 2) { in calculateIsRunningOnWorkProfile()
DCrossProfileSender.java795 for (UserHandle userHandle : userManager.getUserProfiles()) { in findDifferentRunningUser()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java51 assertThat(userManager.getUserProfiles()).contains(Process.myUserHandle()); in shouldGetUserProfiles()
56 … assertThat(userManager.getUserProfiles()).containsExactly(Process.myUserHandle(), anotherProfile); in shouldGetUserProfiles()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowUserManagerTest.java68 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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java126 protected List<UserHandle> getUserProfiles() { in getUserProfiles() method in ShadowUserManager
132 return getUserProfiles(); in getAllProfiles()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java197 protected List<UserHandle> getUserProfiles() { in getUserProfiles() method in ShadowUserManager