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.java76 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/
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.java171 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()
DDevicePolicyManagerTest.java266 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/
DWebViewUpdateServiceTest.java644 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()
DTestSystemImpl.java55 public void addUser(int userId) { in addUser() method in TestSystemImpl
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java535 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/
DShortcutService.java3692 filter.addUser(Integer.parseInt(args[argIndex++])); in parseDumpArgs()
3737 void addUser(int userId) { in addUser() method in ShortcutService.DumpFilter