/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 98 data.info = createUser(); in testWriteReadUserInfo() 113 UserInfo info = createUser(); in testParcelUnparcelUserInfo() 137 userInfo = createUser(); in testGetUserName() 155 UserInfo userInfo = createUser(testId, 0, typeName); in testIsUserOfType() 163 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_preCreated() 175 UserInfo userInfo = createUser(100, FLAG_PROFILE, null); in testSupportSwitchTo_profile() 184 mUserManagerService.putUserInfo(createUser(100, FLAG_MANAGED_PROFILE, null)); in testUpgradeIfNecessaryLP_9() 185 mUserManagerService.putUserInfo(createUser(101, in testUpgradeIfNecessaryLP_9() 187 mUserManagerService.putUserInfo(createUser(102, FLAG_RESTRICTED | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9() 188 mUserManagerService.putUserInfo(createUser(103, FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9() [all …]
|
D | UserManagerTest.java | 143 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest() 161 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users() 162 UserInfo user2 = createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users() 175 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() 184 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() 245 final UserInfo userInfo = createUser("Name", userType, 0); in createUserWithTypeAndCheckFlags() 258 final UserInfo userInfo = createUser("Name", flags); in createUserWithFlagsAndCheckType() 271 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testThereCanBeOnlyOneGuest() 273 UserInfo userInfo2 = createUser("Guest 2", UserInfo.FLAG_GUEST); in testThereCanBeOnlyOneGuest() 280 UserInfo userInfo1 = createUser("Guest", UserInfo.FLAG_GUEST); in testFindExistingGuest_guestExists() [all …]
|
D | UserManagerServiceTest.java | 73 UserInfo user = um.createUser("Test User", 0); in testAddUserWithAccount()
|
D | UserSystemPackageInstallerTest.java | 356 final UserInfo user = um.createUser("Test User", userTypeToCreate, 0); in testPackagesForCreateUser_full()
|
/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 | 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/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
D | MultiUserRollbackTest.java | 105 mSecondaryUserId = getDevice().createUser(name); in createAndStartSecondaryUser()
|
/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/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 | 119 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/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 132 public void createUser() { in createUser() method in UserLifecycleTests 554 int userId = mUm.createUser("TestUser", flags).id; in createUserWithFlags()
|
/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/core/java/android/os/ |
D | UserManager.java | 2687 public @Nullable UserInfo createUser(@Nullable String name, @UserInfoFlag int flags) { in createUser() method in UserManager 2688 return createUser(name, UserInfo.getDefaultUserType(flags), flags); in createUser() 2711 public @Nullable UserInfo createUser(@Nullable String name, @NonNull String userType, in createUser() method in UserManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 927 UserInfo user = mUserManager.createUser( in onClick()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 5307 method public android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
|