/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 100 data.info = createUser(); in testWriteReadUserInfo() 115 UserInfo info = createUser(); in testParcelUnparcelUserInfo() 133 UserInfo info = createUser(); in testCopyConstructor() 148 userInfo = createUser(); in testGetUserName() 166 UserInfo userInfo = createUser(testId, 0, typeName); in testIsUserOfType() 174 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_partial() 183 UserInfo userInfo = createUser(100, FLAG_DISABLED, null); in testSupportSwitchTo_disabled() 191 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_preCreated() 203 UserInfo userInfo = createUser(100, FLAG_PROFILE, null); in testSupportSwitchTo_profile() 214 mUserManagerService.putUserInfo(createUser(100, FLAG_MANAGED_PROFILE, null)); in testUpgradeIfNecessaryLP_9() [all …]
|
D | UserManagerTest.java | 147 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest() 199 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users() 200 UserInfo user2 = createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users() 213 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() 222 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() 253 final UserInfo user1 = createUser("User 1", /* flags= */ 0); in testRemoveUserOrSetEphemeral_restrictedReturnsError() 272 final UserInfo user1 = createUser("User 1", /* flags= */ 0); in testRemoveUserOrSetEphemeral_evenWhenRestricted() 312 final UserInfo user1 = createUser("User 1", /* flags= */ 0); in testRemoveUserOrSetEphemeral_currentUserSetEphemeral() 335 final UserInfo user1 = createUser("User 1", /* flags= */ 0); in testRemoveUserOrSetEphemeral_nonCurrentUserRemoved() 379 final UserInfo userInfo = createUser("Name", userType, 0); in createUserWithTypeAndCheckFlags() [all …]
|
D | UserManagerServiceTest.java | 73 UserInfo user = um.createUser("Test User", 0); in testAddUserWithAccount()
|
D | UserSystemPackageInstallerTest.java | 355 final UserInfo user = um.createUser("Test User", userTypeToCreate, 0); in testPackagesForCreateUser_full()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 324 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 342 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 360 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 371 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 382 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16() 393 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32() 404 rs.mElement_I32 = createUser(rs, DataType.SIGNED_32); in I32() 415 rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64); in U64() 426 rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); in I64() 437 rs.mElement_F16 = createUser(rs, DataType.FLOAT_16); in F16() [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Element.java | 324 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 338 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 352 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 359 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 366 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16() 373 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32() 380 rs.mElement_I32 = createUser(rs, DataType.SIGNED_32); in I32() 387 rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64); in U64() 394 rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); in I64() 401 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 | 42 protected UserInfo createUser() throws RemoteException { in createUser() method in ManagedUserContentResolverTest
|
D | AbstractCrossUserContentResolverTest.java | 62 final UserInfo userInfo = createUser(); in setUp() 80 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() 89 private int createUser(String name, int flags) { in createUser() method in TaskPersisterTest 90 UserInfo user = mUserManager.createUser(name, flags); in createUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ |
D | UserCreator.java | 55 public void createUser(String userName, Drawable userIcon, Consumer<UserInfo> successCallback, in createUser() method in UserCreator 64 mUserManager.createUser(userName, UserManager.USER_TYPE_FULL_SECONDARY, 0); in createUser()
|
D | CreateUserActivity.java | 138 mUserCreator.createUser(userName, userIcon, in addUserNow()
|
/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/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
D | MultiUserRollbackTest.java | 144 mSecondaryUserId = getDevice().createUser(name); in createAndStartSecondaryUser()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 133 UserInfo user = mUserManager.createUser(mUserName, 0); in onClick()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 119 UserInfo newUser = mUm.createUser("TEST_USER", 0); in testValueForNewUser()
|
/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/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() 241 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 146 public void createUser() { in createUser() method in UserLifecycleTests 569 int userId = mUm.createUser(TEST_USER_NAME, flags).id; in createUserWithFlags()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 2894 public @Nullable UserInfo createUser(@Nullable String name, @UserInfoFlag int flags) { in createUser() method in UserManager 2895 return createUser(name, UserInfo.getDefaultUserType(flags), flags); in createUser() 2919 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser() method in UserManager
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | SystemStubMultiUserDisableUninstallTest.kt | 79 secondaryUsers += device.createUser(parentClassName + secondaryUsers.size) in <lambda>()
|
/frameworks/base/core/api/ |
D | test-current.txt | 1783 ….Manifest.permission.CREATE_USERS}) public android.content.pm.UserInfo createUser(@Nullable String…
|