Home
last modified time | relevance | path

Searched refs:userProfiles (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DUserAdapter.java190 List<UserHandle> userProfiles = userManager.getUserProfiles(); in createUserSpinnerAdapter() local
191 if (userProfiles.size() < 2) { in createUserSpinnerAdapter()
197 userProfiles.remove(myUserHandle); in createUserSpinnerAdapter()
198 userProfiles.add(0, myUserHandle); in createUserSpinnerAdapter()
200 return createUserAdapter(userManager, context, userProfiles); in createUserSpinnerAdapter()
204 Context context, List<UserHandle> userProfiles) { in createUserAdapter() argument
205 ArrayList<UserDetails> userDetails = new ArrayList<UserDetails>(userProfiles.size()); in createUserAdapter()
206 final int count = userProfiles.size(); in createUserAdapter()
208 userDetails.add(new UserDetails(userProfiles.get(i), userManager, context)); in createUserAdapter()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraService.java224 int[] userProfiles = mUserManager.getEnabledProfileIds(currentUserHandle); in getEnabledUserHandles() local
225 Set<Integer> handles = new ArraySet<>(userProfiles.length); in getEnabledUserHandles()
227 for (int id : userProfiles) { in getEnabledUserHandles()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java55 public ConditionProviders(Context context, Handler handler, UserProfiles userProfiles) { in ConditionProviders() argument
56 super(context, handler, new Object(), userProfiles); in ConditionProviders()
DManagedServices.java113 UserProfiles userProfiles) { in ManagedServices() argument
116 mUserProfiles = userProfiles; in ManagedServices()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java315 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() local
316 for (UserInfo uInfo : userProfiles) { in getManagedProfileId()