Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java87 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddUser()
107 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users()
108 UserInfo user2 = createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users()
119 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser()
126 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest()
127 UserInfo userInfo2 = createUser("Guest 2", UserInfo.FLAG_GUEST); in testAddGuest()
168 UserInfo user = createUser("User 1", 0); in testGetUserCreationTime()
191 UserInfo user1 = createUser("User 1", 0); in testSerialNumber()
195 UserInfo user2 = createUser("User 2", 0); in testSerialNumber()
203 UserInfo user1 = createUser("User 1", 0); in testGetSerialNumbersOfUsers()
[all …]
DUserManagerServiceTest.java67 UserInfo user = um.createUser("Test User", 0); in testAddUserWithAccount()
/frameworks/base/rs/java/android/renderscript/
DElement.java317 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
335 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
353 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
364 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
375 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
386 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32()
397 rs.mElement_I32 = createUser(rs, DataType.SIGNED_32); in I32()
408 rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64); in U64()
419 rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); in I64()
430 rs.mElement_F16 = createUser(rs, DataType.FLOAT_16); in F16()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/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/services/tests/servicestests/src/com/android/server/am/
DTaskPersisterTest.java44 testUserId = createUser(TEST_USER_NAME, 0); in setUp()
72 private int createUser(String name, int flags) { in createUser() method in TaskPersisterTest
73 UserInfo user = mUserManager.createUser(name, flags); in createUser()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DUserAdapter.java98 final View row = convertView != null ? convertView : createUser(parent); in getDropDownView()
116 private View createUser(ViewGroup parent) { in createUser() method in UserAdapter
/frameworks/base/core/java/android/os/
DIUserManager.aidl38 UserInfo createUser(in String name, int flags); in createUser() method
DUserManager.java1244 public UserInfo createUser(String name, int flags) { in createUser() method in UserManager
1247 user = mService.createUser(name, flags); in createUser()
1269 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/android/provider/
DSettingsProviderTest.java167 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testSettingsChangeForOtherUser()
288 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
/frameworks/rs/cpp/
DElement.cpp77 rs->mElements.N = (createUser(rs, RS_TYPE_##T)); \
319 android::RSC::sp<const Element> Element::createUser(android::RSC::sp<RS> rs, RsDataType dt) { in createUser() function in Element
DrsCppStructs.h1373 static sp<const Element> createUser(sp<RS> rs, RsDataType dt);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java858 UserInfo user = mUserManager.createUser( in onClick()
/frameworks/base/api/
Dsystem-removed.txt13 …method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang…
Dtest-removed.txt13 …method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang…
Dremoved.txt13 …method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang…
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java944 info = mUm.createUser(name, flags); in runCreateUser()
/frameworks/base/docs/html/about/versions/marshmallow/
Dandroid-6.0-changes.jd372 …olicyManager.createAndInitializeUser()} and {@code DevicePolicyManager.createUser()} methods have …
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java4842 public UserHandle createUser(@NonNull ComponentName admin, String name) { in createUser() method in DevicePolicyManager
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2145 public UserInfo createUser(String name, int flags) { in createUser() method in UserManagerService
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt319 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method createUser(android.content.ComponentName…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5307 method public android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);