Home
last modified time | relevance | path

Searched refs:createUser (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java124 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddUser()
145 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users()
146 UserInfo user2 = createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users()
158 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser()
166 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle()
201 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest()
202 UserInfo userInfo2 = createUser("Guest 2", UserInfo.FLAG_GUEST); in testAddGuest()
209 UserInfo userInfo = createUser("SecondaryUser", /*flags=*/ 0); in testSetUserAdmin()
312 UserInfo userInfo = createUser("SecondaryUser", /*flags=*/ 0); in testCreateUser_disallowAddUser()
431 UserInfo user = createUser("User 1", 0); in testGetUserCreationTime_otherUser()
[all …]
DUserManagerServiceUserInfoTest.java76 data.info = createUser(); in testWriteReadUserInfo()
91 UserInfo info = createUser(); in testParcelUnparcelUserInfo()
115 userInfo = createUser(); in testGetUserName()
124 private UserInfo createUser() { in createUser() method in UserManagerServiceUserInfoTest
DUserManagerServiceTest.java69 UserInfo user = um.createUser("Test User", 0); in testAddUserWithAccount()
/frameworks/base/rs/java/android/renderscript/
DElement.java319 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
337 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
355 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
366 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
377 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
388 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32()
399 rs.mElement_I32 = createUser(rs, DataType.SIGNED_32); in I32()
410 rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64); in U64()
421 rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); in I64()
432 rs.mElement_F16 = createUser(rs, DataType.FLOAT_16); in F16()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DElement.java319 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
333 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
347 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
354 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
361 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
368 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32()
375 rs.mElement_I32 = createUser(rs, DataType.SIGNED_32); in I32()
382 rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64); in U64()
389 rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); in I64()
396 rs.mElement_F32 = createUser(rs, DataType.FLOAT_32); in F32()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DSecondaryUserContentResolverTest.java40 protected UserInfo createUser() throws RemoteException { in createUser() method in SecondaryUserContentResolverTest
41 return mUm.createUser("Secondary user", 0); in createUser()
DManagedUserContentResolverTest.java41 protected UserInfo createUser() throws RemoteException { in createUser() method in ManagedUserContentResolverTest
DAbstractCrossUserContentResolverTest.java61 final UserInfo userInfo = createUser(); in setUp()
79 protected abstract UserInfo createUser() throws RemoteException ; in createUser() method in AbstractCrossUserContentResolverTest
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPersisterTest.java61 mTestUserId = createUser(TEST_USER_NAME, UserInfo.FLAG_GUEST); in setUp()
90 private int createUser(String name, int flags) { in createUser() method in TaskPersisterTest
91 UserInfo user = mUserManager.createUser(name, flags); in createUser()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java104 final UserInfo userInfo = mUm.createUser("TestUser", 0); in createAndStartUser()
122 final UserInfo userInfo = mUm.createUser("TestUser", 0); in switchUser()
179 final UserInfo userInfo = mUm.createUser("TestUser", 0); in stopUser()
199 final UserInfo userInfo = mUm.createUser("TestUser", 0); in lockedBootCompleted()
266 final UserInfo userInfo = mUm.createUser("TestUser", in ephemeralUserStopped()
345 final int testUser = mUm.createUser("TestUser", 0).id; in initializeNewUserAndSwitchBack()
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java95 mSecondaryUserId = getDevice().createUser("MultiUserRollbackTest_User" in createAndSwitchToSecondaryUserIfNecessary()
/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/
DKernelPackageMappingTests.java102 mSecondaryUser = getUserManager().createUser("Secondary", 0); in testNotInstalledSecondary()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerIntegTest.java72 mOtherUser = mUserManager.createUser("TestUser", /* flags= */ 0); in setUp()
/frameworks/base/core/java/android/os/
DIUserManager.aidl43 UserInfo createUser(in String name, int flags); in createUser() method
DUserManager.java2033 public @Nullable UserInfo createUser(@Nullable String name, @UserInfoFlag int flags) { in createUser() method in UserManager
2036 user = mService.createUser(name, flags); in createUser()
2096 guest = mService.createUser(name, UserInfo.FLAG_GUEST); in createGuest()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java129 UserInfo user = mUserManager.createUser(mUserName, 0); in onClick()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsUserLifecycleTests.java74 final UserInfo user = mUm.createUser("Test_user_" + System.currentTimeMillis() / 1000, 0); in setUp()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java117 UserInfo newUser = mUm.createUser("TEST_USER", 0); in testValueForNewUser()
/frameworks/rs/cpp/
DElement.cpp76 rs->mElements.N = (createUser(rs, RS_TYPE_##T)); \
318 android::RSC::sp<const Element> Element::createUser(const android::RSC::sp<RS>& rs, RsDataType dt) { in createUser() function in Element
DrsCppStructs.h1373 static sp<const Element> createUser(const sp<RS>& rs, RsDataType dt);
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java176 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testSettingsChangeForOtherUser()
297 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java888 UserInfo user = mUserManager.createUser( in onClick()
/frameworks/base/api/
Dremoved.txt53 …method @Deprecated @Nullable public android.os.UserHandle createUser(@NonNull android.content.Comp…
/frameworks/base/non-updatable-api/
Dremoved.txt53 …method @Deprecated @Nullable public android.os.UserHandle createUser(@NonNull android.content.Comp…
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2465 info = preCreateOnly ? um.preCreateUser(flags) : um.createUser(name, flags); in runCreateUser()

12