Home
last modified time | relevance | path

Searched refs:userHandles (Results 1 – 3 of 3) sorted by relevance

/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DCrossProfileSDKUtilities.java87 static UserHandle selectUserHandleToBind(Context context, List<UserHandle> userHandles) { in selectUserHandleToBind() argument
88 if (userHandles.isEmpty()) { in selectUserHandleToBind()
95 userHandles, in selectUserHandleToBind()
104 List<UserHandle> userHandles, in filterUsersByAvailabilityRestrictions() argument
109 for (UserHandle userHandle : userHandles) { in filterUsersByAvailabilityRestrictions()
DDpcProfileBinder.java87 List<UserHandle> userHandles = in getRunningBindDeviceAdminTargetUser() local
93 return selectUserHandleToBind(context, userHandles); in getRunningBindDeviceAdminTargetUser()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java230 ArrayList<UserHandle> userHandles = new ArrayList<>(); in getEnabledProfiles() local
233 userHandles.add(profileHandle); in getEnabledProfiles()
237 return userHandles; in getEnabledProfiles()
242 ArrayList<UserHandle> userHandles = new ArrayList<>(); in getAllProfiles() local
244 userHandles.addAll(userManagerState.userProfilesListMap.get(context.getUserId())); in getAllProfiles()
245 return userHandles; in getAllProfiles()
248 userHandles.add(UserHandle.of(context.getUserId())); in getAllProfiles()
249 return userHandles; in getAllProfiles()
654 ArrayList<UserHandle> userHandles = new ArrayList<>(); in getUserHandles() local
656 userHandles.addAll(userManagerState.userProfilesListMap.get(id)); in getUserHandles()
[all …]