Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DEphemeralUserTest.java41 int userId = createUser(FLAG_EPHEMERAL); in testCreateEphemeralUser()
51 int userId = createUser(); in testCreateLongLivedUser()
66 int userId = createUser(FLAG_EPHEMERAL); in testProfileInheritsEphemeral()
79 int userId = createUser(FLAG_EPHEMERAL); in testRemoveEphemeralOnStop()
95 int userId = createUser(FLAG_GUEST); in testEphemeralGuestFeature()
DUserRestrictionsTest.java119 final int secondaryUserId = createUser(); in testUserRestrictions_secondaryProfileOwnerOnly()
203 final int secondaryUserId = createUser(); in testUserRestrictions_layering_profileOwnerNoLeaking()
DDeviceAdminServiceProfileOwnerTest.java31 mUserId = createUser(); in setUp()
DDeviceOwnerTest.java169 final int userId = createUser(); in testRemoteBugreportWithTwoUsers()
436 final int userId = createUser(); in testSecurityLoggingWithTwoUsers()
523 final int userId = createUser(); in testNetworkLoggingWithTwoUsers()
1035 final int userId = createUser(); in createAffiliatedSecondaryUser()
DLauncherAppsMultiUserTest.java48 mSecondaryUserId = createUser(); in setUp()
DCustomDeviceOwnerTest.java94 userId = createUser(); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
DCrossProfileAppsHostSideTest.java47 mSecondaryUserId = createUser(); in setUp()
DBaseDevicePolicyTest.java610 protected int createUser() throws Exception { in createUser() method in BaseDevicePolicyTest
611 int userId = createUser(0); in createUser()
618 int userId = createUser(0); in createUserAndWaitStart()
623 protected int createUser(int flags) throws Exception { in createUser() method in BaseDevicePolicyTest
DDeviceAndProfileOwnerTest.java1238 final int userId = createUser(); in testCannotRemoveUserIfRestrictionSet()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java43 getDevice().createUser( in testCanCreateEphemeralUser()
88 getDevice().createUser( in testCanCreateGuestUserWhenUserLimitReached()
DBaseMultiUserTest.java108 protected int createUser() in createUser() method in BaseMultiUserTest
129 return mDevice.createUser( in createGuestUser()
DCreateUsersNoAppCrashesTest.java59 int userId = getDevice().createUser( in testCanCreateGuestUser()
73 int userId = getDevice().createUser( in testCanCreateSecondaryUser()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityPreparer.java51 "Created secondary user " + device.createUser("CTS_" + System.nanoTime())); in setUp()
55 "Created secondary user " + device.createUser("CTS_" + System.nanoTime())); in setUp()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java166 return createUser(); in getOrCreateSecondaryUser()
169 protected int createUser() throws Exception{ in createUser() method in BaseShortcutManagerHostTest
170 return getDevice().createUser("TestUser_" + System.currentTimeMillis()); in createUser()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java171 mSecondaryUserId = getDevice().createUser(SECONDARY_USER_NAME); in createSecondaryUser()
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DMultiUserTest.java152 final int secondaryUserId = getDevice().createUser( in testSecondaryUser()
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java498 final int userId = getDevice().createUser("test-user"); in testSecondaryUser()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp129 return Element::createUser(rs, dt); in makeElement()