Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java236 UserInfo userInfo = createProfileForUser("Profile", in testGetProfileParent()
251 UserInfo userInfo1 = createProfileForUser("Managed 1", in testAddManagedProfile()
253 UserInfo userInfo2 = createProfileForUser("Managed 2", in testAddManagedProfile()
266 UserInfo userInfo1 = createProfileForUser("Managed1", in testAddManagedProfile_withDisallowedPackages()
275 UserInfo userInfo2 = createProfileForUser("Managed2", in testAddManagedProfile_withDisallowedPackages()
289 UserInfo userInfo = createProfileForUser("Managed", in testAddManagedProfile_disallowedPackagesInstalledLater()
328 UserInfo userInfo = createProfileForUser("Managed", in testCreateProfileForUser_disallowAddManagedProfile()
361 UserInfo userInfo = createProfileForUser("Managed", in testCreateProfileForUser_disallowAddUser()
398 UserInfo profile = createProfileForUser("Managed 1", in testGetUserCreationTime()
666 private UserInfo createProfileForUser(String name, int flags, int userHandle) { in createProfileForUser() method in UserManagerTest
[all …]
DUserLifecycleStressTest.java73 final UserInfo userInfo = mUserManager.createProfileForUser("TestUser", in stopManagedProfileStressTest()
/frameworks/base/core/tests/coretests/src/android/content/
DManagedUserContentResolverTest.java42 return mUm.createProfileForUser("Managed user", in createUser()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java218 final UserInfo userInfo = mUm.createProfileForUser("TestUser", in managedProfileUnlock()
238 final UserInfo userInfo = mUm.createProfileForUser("TestUser", in managedProfileUnlock_stopped()
297 final UserInfo userInfo = mUm.createProfileForUser("TestUser", in managedProfileStopped()
/frameworks/base/core/java/android/os/
DIUserManager.aidl44 UserInfo createProfileForUser(in String name, int flags, int userHandle, in createProfileForUser() method
DUserManager.java2066 public UserInfo createProfileForUser(String name, int flags, @UserIdInt int userHandle) { in createProfileForUser() method in UserManager
2067 return createProfileForUser(name, flags, userHandle, null); in createProfileForUser()
2084 public UserInfo createProfileForUser(String name, int flags, @UserIdInt int userHandle, in createProfileForUser() method in UserManager
2087 return mService.createProfileForUser(name, flags, userHandle, disallowedPackages); in createProfileForUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2637 public UserInfo createProfileForUser(String name, int flags, int userId, in createProfileForUser() method in UserManagerService
2846 final UserInfo user = createProfileForUser( in createRestrictedProfile()
DPackageManagerShellCommand.java2298 info = um.createProfileForUser(name, flags, userId, null); in runCreateUser()