Home
last modified time | relevance | path

Searched refs:mUserTypes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java162 private final String[] mUserTypes; field in UserSystemPackageInstaller
166 mUserTypes = getAndSortKeysFromMap(userTypes); in UserSystemPackageInstaller()
167 if (mUserTypes.length > Long.SIZE) { in UserSystemPackageInstaller()
183 mUserTypes = sortedUserTypes; in UserSystemPackageInstaller()
633 final int userTypeIndex = Arrays.binarySearch(mUserTypes, userType); in getUserTypeMask()
649 for (int idx = 0; idx < mUserTypes.length; idx++) { in getBaseTypeBitSets()
650 if (mUm.isUserTypeSubtypeOfFull(mUserTypes[idx])) { in getBaseTypeBitSets()
653 if (mUm.isUserTypeSubtypeOfSystem(mUserTypes[idx])) { in getBaseTypeBitSets()
656 if (mUm.isUserTypeSubtypeOfProfile(mUserTypes[idx])) { in getBaseTypeBitSets()
725 for (int idx = 0; idx < mUserTypes.length; idx++) { in dump()
[all …]
DUserManagerService.java338 private final ArrayMap<String, UserTypeDetails> mUserTypes; field in UserManagerService
663 mUserTypes = UserTypeFactory.getUserTypes(); in UserManagerService()
679 mSystemPackageInstaller = new UserSystemPackageInstaller(this, mUserTypes); in UserManagerService()
1367 return typeStr != null ? mUserTypes.get(typeStr) : null; in getUserTypeDetailsNoChecks()
1375 return typeStr != null ? mUserTypes.get(typeStr) : null; in getUserTypeDetails()
1406 UserTypeDetails userTypeDetails = mUserTypes.get(userType); in isUserTypeSubtypeOfFull()
1412 UserTypeDetails userTypeDetails = mUserTypes.get(userType); in isUserTypeSubtypeOfProfile()
1418 UserTypeDetails userTypeDetails = mUserTypes.get(userType); in isUserTypeSubtypeOfSystem()
1859 UserTypeDetails guestType = mUserTypes.get(UserManager.USER_TYPE_FULL_GUEST); in initDefaultGuestRestrictions()
2394 final UserTypeDetails type = mUserTypes.get(userType); in canAddMoreProfilesToUser()
[all …]