/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 124 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 …]
|
D | UserManagerServiceUserInfoTest.java | 76 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
|
D | UserManagerServiceTest.java | 69 UserInfo user = um.createUser("Test User", 0); in testAddUserWithAccount()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 319 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/ |
D | Element.java | 319 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/ |
D | SecondaryUserContentResolverTest.java | 40 protected UserInfo createUser() throws RemoteException { in createUser() method in SecondaryUserContentResolverTest 41 return mUm.createUser("Secondary user", 0); in createUser()
|
D | ManagedUserContentResolverTest.java | 41 protected UserInfo createUser() throws RemoteException { in createUser() method in ManagedUserContentResolverTest
|
D | AbstractCrossUserContentResolverTest.java | 61 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/ |
D | TaskPersisterTest.java | 61 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/ |
D | UserLifecycleTests.java | 104 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/ |
D | MultiUserRollbackTest.java | 95 mSecondaryUserId = getDevice().createUser("MultiUserRollbackTest_User" in createAndSwitchToSecondaryUserIfNecessary()
|
/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/ |
D | KernelPackageMappingTests.java | 102 mSecondaryUser = getUserManager().createUser("Secondary", 0); in testNotInstalledSecondary()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManagerIntegTest.java | 72 mOtherUser = mUserManager.createUser("TestUser", /* flags= */ 0); in setUp()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 43 UserInfo createUser(in String name, int flags); in createUser() method
|
D | UserManager.java | 2033 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/ |
D | ConfirmUserCreationActivity.java | 129 UserInfo user = mUserManager.createUser(mUserName, 0); in onClick()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsUserLifecycleTests.java | 74 final UserInfo user = mUm.createUser("Test_user_" + System.currentTimeMillis() / 1000, 0); in setUp()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 117 UserInfo newUser = mUm.createUser("TEST_USER", 0); in testValueForNewUser()
|
/frameworks/rs/cpp/ |
D | Element.cpp | 76 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
|
D | rsCppStructs.h | 1373 static sp<const Element> createUser(const sp<RS>& rs, RsDataType dt);
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 176 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/ |
D | UserSwitcherController.java | 888 UserInfo user = mUserManager.createUser( in onClick()
|
/frameworks/base/api/ |
D | removed.txt | 53 …method @Deprecated @Nullable public android.os.UserHandle createUser(@NonNull android.content.Comp…
|
/frameworks/base/non-updatable-api/ |
D | removed.txt | 53 …method @Deprecated @Nullable public android.os.UserHandle createUser(@NonNull android.content.Comp…
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 2465 info = preCreateOnly ? um.preCreateUser(flags) : um.createUser(name, flags); in runCreateUser()
|