Home
last modified time | relevance | path

Searched refs:mProfileUserId (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java81 private int mProfileUserId; field in ManagedProfileTest
98 mProfileUserId = createManagedProfile(mParentUserId); in setUp()
101 installAppAsUser(MANAGED_PROFILE_APK, mProfileUserId); in setUp()
103 mProfileUserId); in setUp()
104 startUser(mProfileUserId); in setUp()
111 removeUser(mProfileUserId); in tearDown()
125 mProfileUserId); in testManagedProfileSetup()
135 assertTrue(listUsers().contains(mProfileUserId)); in testWipeData()
137 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".WipeDataTest", mProfileUserId); in testWipeData()
140 assertUserGetsRemoved(mProfileUserId); in testWipeData()
[all …]
DLauncherAppsProfileTest.java35 private int mProfileUserId; field in LauncherAppsProfileTest
48 mProfileUserId = createManagedProfile(mParentUserId); in setUp()
49 installAppAsUser(MANAGED_PROFILE_APK, mProfileUserId); in setUp()
51 mProfileUserId); in setUp()
52 mProfileSerialNumber = Integer.toString(getUserSerialNumber(mProfileUserId)); in setUp()
54 startUser(mProfileUserId); in setUp()
60 installAppAsUser(LAUNCHER_TESTS_APK, mProfileUserId); in setUp()
61 installAppAsUser(LAUNCHER_TESTS_SUPPORT_APK, mProfileUserId); in setUp()
68 removeUser(mProfileUserId); in tearDown()
80 installAppAsUser(SIMPLE_APP_APK, mProfileUserId); in testGetActivitiesWithProfile()
[all …]
DManagedProfileProvisioningTest.java22 private int mProfileUserId; field in ManagedProfileProvisioningTest
37 mProfileUserId = 0; in setUp()
44 if (mProfileUserId != 0) { in tearDown()
45 removeUser(mProfileUserId); in tearDown()
61 "testIsManagedProfile", mProfileUserId); in testManagedProfileProvisioning()
72 "testVerifyAdminExtraBundle", mProfileUserId); in testEXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE()
83 "testVerifySuccessfulIntentWasReceived", mProfileUserId); in testVerifySuccessfulIntentWasReceived()
94 "testAccountExist", mProfileUserId); in testAccountMigration()
108 "testAccountExist", mProfileUserId); in testAccountCopy()
117 mProfileUserId = getFirstManagedProfileUserId(); in provisionManagedProfile()
[all …]