Home
last modified time | relevance | path

Searched refs:mSecondaryUserId (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DInstantAppUserTest.java64 private int mSecondaryUserId; field in InstantAppUserTest
77 mSecondaryUserId = users[1]; in setUp()
78 getDevice().switchUser(mSecondaryUserId); in setUp()
100 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed01", mSecondaryUserId); in testStartExposed01()
107 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed02", mSecondaryUserId); in testStartExposed02()
114 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed03", mSecondaryUserId); in testStartExposed03()
121 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed04", mSecondaryUserId); in testStartExposed04()
128 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed05", mSecondaryUserId); in testStartExposed05()
135 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed06", mSecondaryUserId); in testStartExposed06()
142 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed07", mSecondaryUserId); in testStartExposed07()
[all …]
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsMultiUserTest.java31 private int mSecondaryUserId; field in LauncherAppsMultiUserTest
48 mSecondaryUserId = createUser(); in setUp()
49 mSecondaryUserSerialNumber = Integer.toString(getUserSerialNumber(mSecondaryUserId)); in setUp()
50 startUser(mSecondaryUserId); in setUp()
57 removeUser(mSecondaryUserId); in tearDown()
DCrossProfileAppsHostSideTest.java30 private int mSecondaryUserId; field in CrossProfileAppsHostSideTest
47 mSecondaryUserId = createUser(); in setUp()
48 installRequiredApps(mSecondaryUserId); in setUp()
89 verifyCrossProfileAppsApi(mPrimaryUserId, mSecondaryUserId, NON_TARGET_USER_TEST_CLASS); in testPrimaryUserToSecondaryUser()
96 verifyCrossProfileAppsApi(mSecondaryUserId, mProfileId, NON_TARGET_USER_TEST_CLASS); in testSecondaryUserToManagedProfile()
104 verifyCrossProfileAppsApi(mProfileId, mSecondaryUserId, NON_TARGET_USER_TEST_CLASS); in testManagedProfileToSecondaryUser()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java53 private int mSecondaryUserId; field in NumberBlockingTest
74 installTestAppForUser(mSecondaryUserId); in setUp()
77 mSecondaryUserSerialNumber = getUserSerialNumber(mSecondaryUserId); in setUp()
83 getDevice().removeUser(mSecondaryUserId); in tearDown()
124 startUserAndWait(mSecondaryUserId); in testNumberBlocking()
128 setTestAppAsDefaultSmsAppForUser(true /* setToSmsApp */, mSecondaryUserId); in testNumberBlocking()
131 setTestAppAsDefaultSmsAppForUser(false /* setToSmsApp */, mSecondaryUserId); in testNumberBlocking()
171 mSecondaryUserId = getDevice().createUser(SECONDARY_USER_NAME); in createSecondaryUser()
199 runTestAsUser(className, methodName, mSecondaryUserId); in runTestAsSecondaryUser()