Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java69 UserInfo userInfo = mUserManager.createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddUser()
90 UserInfo user1 = mUserManager.createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users()
91 UserInfo user2 = mUserManager.createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users()
104 UserInfo userInfo = mUserManager.createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser()
111 UserInfo userInfo1 = mUserManager.createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest()
112 UserInfo userInfo2 = mUserManager.createUser("Guest 2", UserInfo.FLAG_GUEST); in testAddGuest()
146 UserInfo user1 = mUserManager.createUser("User 1", UserInfo.FLAG_RESTRICTED); in testSerialNumber()
151 UserInfo user2 = mUserManager.createUser("User 2", UserInfo.FLAG_RESTRICTED); in testSerialNumber()
165 UserInfo ui = mUserManager.createUser("User " + count, 0); in testMaxUsers()
172 assertNull(extra = mUserManager.createUser("One more", 0)); in testMaxUsers()
/frameworks/base/rs/java/android/renderscript/
DElement.java314 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
328 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
342 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
349 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
356 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
363 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32()
370 rs.mElement_I32 = createUser(rs, DataType.SIGNED_32); in I32()
377 rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64); in U64()
384 rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); in I64()
391 rs.mElement_F32 = createUser(rs, DataType.FLOAT_32); in F32()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DElement.java311 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
325 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
339 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
346 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
353 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
360 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32()
367 rs.mElement_I32 = createUser(rs, DataType.SIGNED_32); in I32()
374 rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64); in U64()
381 rs.mElement_I64 = createUser(rs, DataType.SIGNED_64); in I64()
388 rs.mElement_F32 = createUser(rs, DataType.FLOAT_32); in F32()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java727 public UserInfo createUser(String name, int flags) { in createUser() method in UserManager
729 return mService.createUser(name, flags); in createUser()
743 UserInfo guest = createUser(name, UserInfo.FLAG_GUEST); in createGuest()
773 UserInfo user = mService.createUser(name, flags); in createSecondaryUser()
DIUserManager.aidl29 UserInfo createUser(in String name, int flags); in createUser() method
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java143 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testSettingsChangeForOtherUser()
258 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
/frameworks/rs/cpp/
DElement.cpp77 rs->mElements.N = (createUser(rs, RS_TYPE_##T)); \
274 android::RSC::sp<const Element> Element::createUser(android::RSC::sp<RS> rs, RsDataType dt) { in createUser() function in Element
DrsCppStructs.h1015 static sp<const Element> createUser(sp<RS> rs, RsDataType dt);
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl157 UserHandle createUser(in ComponentName who, in String name); in createUser() method
DDevicePolicyManager.java3006 public UserHandle createUser(ComponentName admin, String name) { in createUser() method in DevicePolicyManager
3008 return mService.createUser(admin, name); in createUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4716 public UserHandle createUser(ComponentName who, String name) { in createUser() method in DevicePolicyManagerService
4725 UserInfo userInfo = mUserManager.createUser(name, 0 /* flags */); in createUser()
4739 UserHandle user = createUser(who, name); in createAndInitializeUser()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java1193 info = mUm.createUser(name, flags); in runCreateUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1144 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/base/api/
Dsystem-current.txt5435 method public android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
Dcurrent.txt5307 method public android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);