/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 76 UserInfo secondaryUser = addUser(); in testGetProfiles() 102 UserInfo secondaryUser = addUser(); in testProfileBadge() 136 UserInfo secondaryUser = addUser(); in testProfileBadgeReuse() 234 private UserInfo addUser() { in addUser() method in UserManagerServiceCreateProfileTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 55 final File user10dir = getServices().addUser(10, 0); in testMigration() 56 final File user11dir = getServices().addUser(11, UserInfo.FLAG_MANAGED_PROFILE); in testMigration() 57 getServices().addUser(12, 0); in testMigration() 276 final File user10dir = getServices().addUser(10, UserInfo.FLAG_MANAGED_PROFILE); in testMigration3_managedProfileOwner()
|
D | MockSystemServices.java | 171 addUser(UserHandle.USER_SYSTEM, UserInfo.FLAG_PRIMARY, UserHandle.USER_SYSTEM); in MockSystemServices() 193 public File addUser(int userId, int flags) { in addUser() method in MockSystemServices 194 return addUser(userId, flags, UserInfo.NO_PROFILE_GROUP_ID); in addUser() 197 public File addUser(int userId, int flags, int profileGroupId) { in addUser() method in MockSystemServices 293 addUser(userId, 0); in addUsers()
|
D | DevicePolicyManagerTest.java | 266 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, 0); in setUpUserManager() 327 getServices().addUser(ANOTHER_USER_ID, 0); in testLoadAdminData_noAdmins() 472 getServices().addUser(ANOTHER_USER_ID, 0); // Add one more user. in testSetActiveAdmin_multiUsers() 1229 getServices().addUser(ANOTHER_USER_ID, 0); // Add one more user. in checkDeviceOwnerWithMultipleDeviceAdmins() 3646 getServices().addUser(ANOTHER_USER_ID, 0); in testGetBindDeviceAdminTargetUsers() 4959 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileMigrated() 4971 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_profileNotMigrated() 4983 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileNotMigrated() 5127 getServices().addUser(userId, UserInfo.FLAG_MANAGED_PROFILE, UserHandle.USER_SYSTEM); in addManagedProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 644 mTestSystemImpl.addUser(secondaryUserId); in checkFallbackChangesEnabledState() 724 mTestSystemImpl.addUser(newUser); in checkAddingNewUser() 756 mTestSystemImpl.addUser(newUser); in testAddingNewUserWithUninstalledPackage() 1258 mTestSystemImpl.addUser(secondaryUserId); in checkVisiblePackageUserOverNonVisible() 1308 mTestSystemImpl.addUser(secondaryUserId); in checkCantSwitchToNonVisiblePackage() 1363 mTestSystemImpl.addUser(secondaryUserId); in checkNonvisiblePackageNotPrioritizedEvenIfChosen() 1406 mTestSystemImpl.addUser(secondaryUserId); in checkFallbackEnabledIfPrimaryUninstalled()
|
D | TestSystemImpl.java | 55 public void addUser(int userId) { in addUser() method in TestSystemImpl
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 535 private void addUser(int userId) { in addUser() method in ApplicationsState 1296 addUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL)); in onReceive()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 3692 filter.addUser(Integer.parseInt(args[argIndex++])); in parseDumpArgs() 3737 void addUser(int userId) { in addUser() method in ShortcutService.DumpFilter
|