Searched refs:userTypes (Results 1 – 2 of 2) sorted by relevance
108 ArrayMap<String, UserTypeDetails> userTypes = UserTypeFactory.getUserTypes(); in setup() local109 mUserSystemPackageInstaller = new UserSystemPackageInstaller(ums, userTypes); in setup()159 final ArrayMap<String, UserTypeDetails> userTypes = UserTypeFactory.getUserTypes(); in testDetermineWhitelistedPackagesForUserTypes() local164 for (int i = 0; i < userTypes.size(); i++) { in testDetermineWhitelistedPackagesForUserTypes()165 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes()166 final UserTypeDetails details = userTypes.valueAt(i); in testDetermineWhitelistedPackagesForUserTypes()178 for (int i = 0; i < userTypes.size(); i++) { in testDetermineWhitelistedPackagesForUserTypes()179 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes()180 final UserTypeDetails details = userTypes.valueAt(i); in testDetermineWhitelistedPackagesForUserTypes()405 final String[] userTypes = new String[]{"type"}; in testInstallOverlayPackagesExplicitMode() local
165 UserSystemPackageInstaller(UserManagerService um, ArrayMap<String, UserTypeDetails> userTypes) { in UserSystemPackageInstaller() argument167 mUserTypes = getAndSortKeysFromMap(userTypes); in UserSystemPackageInstaller()169 throw new IllegalArgumentException("Device contains " + userTypes.size() in UserSystemPackageInstaller()696 private long getTypesBitSet(Iterable<String> userTypes, Map<String, Long> baseTypeBitSets) { in getTypesBitSet() argument698 for (String type : userTypes) { in getTypesBitSet()