Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java108 ArrayMap<String, UserTypeDetails> userTypes = UserTypeFactory.getUserTypes(); in setup() local
109 mUserSystemPackageInstaller = new UserSystemPackageInstaller(ums, userTypes); in setup()
159 final ArrayMap<String, UserTypeDetails> userTypes = UserTypeFactory.getUserTypes(); in testDetermineWhitelistedPackagesForUserTypes() local
164 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
/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java165 UserSystemPackageInstaller(UserManagerService um, ArrayMap<String, UserTypeDetails> userTypes) { in UserSystemPackageInstaller() argument
167 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() argument
698 for (String type : userTypes) { in getTypesBitSet()