Searched refs:userTypes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | FakeScreenshotPolicy.kt | 23 private val userTypes = mutableMapOf<Int, Boolean>() constant in com.android.systemui.screenshot.FakeScreenshotPolicy 27 userTypes[userId] = managedUser in setManagedProfile() 30 return userTypes[userId] ?: error("No managedProfile value set for userId $userId") in isManagedProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserSystemPackageInstallerTest.java | 109 ArrayMap<String, UserTypeDetails> userTypes = UserTypeFactory.getUserTypes(); in setup() local 110 mUserSystemPackageInstaller = new UserSystemPackageInstaller(ums, userTypes); in setup() 160 final ArrayMap<String, UserTypeDetails> userTypes = UserTypeFactory.getUserTypes(); in testDetermineWhitelistedPackagesForUserTypes() local 165 for (int i = 0; i < userTypes.size(); i++) { in testDetermineWhitelistedPackagesForUserTypes() 166 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() 167 final UserTypeDetails details = userTypes.valueAt(i); in testDetermineWhitelistedPackagesForUserTypes() 179 for (int i = 0; i < userTypes.size(); i++) { in testDetermineWhitelistedPackagesForUserTypes() 180 final String userType = userTypes.keyAt(i); in testDetermineWhitelistedPackagesForUserTypes() 181 final UserTypeDetails details = userTypes.valueAt(i); in testDetermineWhitelistedPackagesForUserTypes() 389 final String[] userTypes = new String[]{"type"}; in testInstallOverlayPackagesExplicitMode() local
|
D | UserManagerServiceShellCommandTest.java | 93 ArrayMap<String, UserTypeDetails> userTypes = UserTypeFactory.getUserTypes(); in setUp() local 95 new UserSystemPackageInstaller(mUserManagerService, userTypes); in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserSystemPackageInstaller.java | 166 UserSystemPackageInstaller(UserManagerService um, ArrayMap<String, UserTypeDetails> userTypes) { in UserSystemPackageInstaller() argument 168 mUserTypes = getAndSortKeysFromMap(userTypes); in UserSystemPackageInstaller() 170 throw new IllegalArgumentException("Device contains " + userTypes.size() in UserSystemPackageInstaller() 703 private long getTypesBitSet(Iterable<String> userTypes, Map<String, Long> baseTypeBitSets) { in getTypesBitSet() argument 705 for (String type : userTypes) { in getTypesBitSet()
|
D | UserManagerService.java | 4582 @NonNull ArrayMap<String, UserTypeDetails> userTypes, in upgradeUserTypesLU() argument 4597 final UserTypeDetails newUserType = userTypes.get( in upgradeUserTypesLU() 7889 final int[] userTypes = new int[userIds.length]; 7890 for (int i = 0; i < userTypes.length; i++) { 7894 userTypes[i] = mUserJourneyLogger.getUserTypeForStatsd(""); 7896 userTypes[i] = mUserJourneyLogger.getUserTypeForStatsd(userInfo.userType); 7899 return userTypes;
|