Home
last modified time | relevance | path

Searched refs:addUser (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java77 UserInfo secondaryUser = addUser(); in testGetProfiles()
103 UserInfo secondaryUser = addUser(); in testProfileBadge()
137 UserInfo secondaryUser = addUser(); in testProfileBadgeReuse()
235 private UserInfo addUser() { in addUser() method in UserManagerServiceCreateProfileTest
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java55 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()
DMockSystemServices.java177 addUser(UserHandle.USER_SYSTEM, UserInfo.FLAG_PRIMARY, UserHandle.USER_SYSTEM); in MockSystemServices()
199 public File addUser(int userId, int flags) { in addUser() method in MockSystemServices
200 return addUser(userId, flags, UserInfo.NO_PROFILE_GROUP_ID); in addUser()
203 public File addUser(int userId, int flags, int profileGroupId) { in addUser() method in MockSystemServices
299 addUser(userId, 0); in addUsers()
DDevicePolicyManagerTest.java266 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, 0); in setUpUserManager()
327 getServices().addUser(ANOTHER_USER_ID, 0); in testLoadAdminData_noAdmins()
474 getServices().addUser(ANOTHER_USER_ID, 0); // Add one more user. in testSetActiveAdmin_multiUsers()
1271 getServices().addUser(ANOTHER_USER_ID, 0); // Add one more user. in checkDeviceOwnerWithMultipleDeviceAdmins()
3673 getServices().addUser(ANOTHER_USER_ID, 0); in testGetBindDeviceAdminTargetUsers()
5024 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileMigrated()
5036 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_profileNotMigrated()
5048 getServices().addUser(DpmMockContext.CALLER_USER_HANDLE, UserInfo.FLAG_MANAGED_PROFILE, in testRevertProfileOwnership_adminAndProfileNotMigrated()
5492 getServices().addUser(userId, UserInfo.FLAG_MANAGED_PROFILE, UserHandle.USER_SYSTEM); in addManagedProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java637 mTestSystemImpl.addUser(secondaryUserId); in checkRemovingPrimarySelectsSecondary()
687 mTestSystemImpl.addUser(newUser); in testAddingNewUserWithUninstalledPackage()
1137 mTestSystemImpl.addUser(secondaryUserId); in checkVisiblePackageUserOverNonVisible()
1187 mTestSystemImpl.addUser(secondaryUserId); in checkCantSwitchToNonVisiblePackage()
1242 mTestSystemImpl.addUser(secondaryUserId); in checkNonvisiblePackageNotPrioritizedEvenIfChosen()
DTestSystemImpl.java55 public void addUser(int userId) { in addUser() method in TestSystemImpl
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java657 private void addUser(int userId) { in addUser() method in ApplicationsState
1473 addUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL)); in onReceive()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java3756 filter.addUser(Integer.parseInt(args[argIndex++])); in parseDumpArgs()
3801 void addUser(int userId) { in addUser() method in ShortcutService.DumpFilter