/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 77 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/ |
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 | 177 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()
|
D | DevicePolicyManagerTest.java | 266 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/ |
D | WebViewUpdateServiceTest.java | 637 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()
|
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 | 657 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/ |
D | ShortcutService.java | 3756 filter.addUser(Integer.parseInt(args[argIndex++])); in parseDumpArgs() 3801 void addUser(int userId) { in addUser() method in ShortcutService.DumpFilter
|