Searched refs:mParentUserId (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 78 private int mParentUserId; field in ManagedProfileTest 97 mParentUserId = mPrimaryUserId; in setUp() 98 mProfileUserId = createManagedProfile(mParentUserId); in setUp() 100 installAppAsUser(MANAGED_PROFILE_APK, mParentUserId); in setUp() 167 newUserId = createManagedProfile(mParentUserId); in testMaxOneManagedProfile() 187 MANAGED_PROFILE_PKG, ".WifiTest", "testRemoveWifiNetworkIfExists", mParentUserId); in testProfileWifiCleanup() 196 mParentUserId); in testProfileWifiCleanup() 213 disableActivityForUser("ManagedProfileActivity", mParentUserId); in testCrossProfileIntentFilters() 225 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".PrimaryUserTest", mParentUserId); in testCrossProfileIntentFilters() 237 installAppAsUser(INTENT_RECEIVER_APK, mParentUserId); in testAppLinks_verificationStatus() [all …]
|
D | MixedManagedProfileOwnerTest.java | 28 private int mParentUserId = -1; field in MixedManagedProfileOwnerTest 39 mParentUserId = mPrimaryUserId; in setUp() 45 mUserId = createManagedProfile(mParentUserId); in createManagedProfile() 46 switchUser(mParentUserId); in createManagedProfile() 76 installAppAsUser(DEVICE_ADMIN_APK, mParentUserId); in testScreenCaptureDisabled_allowedPrimaryUser() 77 startSimpleActivityAsUser(mParentUserId); in testScreenCaptureDisabled_allowedPrimaryUser() 89 installAppAsUser(ASSIST_APP_APK, mParentUserId); in testScreenCaptureDisabled_assist_allowedPrimaryUser() 93 installAppAsUser(DEVICE_ADMIN_APK, mParentUserId); in testScreenCaptureDisabled_assist_allowedPrimaryUser() 94 startSimpleActivityAsUser(mParentUserId); in testScreenCaptureDisabled_assist_allowedPrimaryUser()
|
D | LauncherAppsProfileTest.java | 36 private int mParentUserId; field in LauncherAppsProfileTest 47 mParentUserId = mPrimaryUserId; in setUp() 48 mProfileUserId = createManagedProfile(mParentUserId); in setUp() 53 mMainUserSerialNumber = Integer.toString(getUserSerialNumber(mParentUserId)); in setUp() 79 installAppAsUser(SIMPLE_APP_APK, mParentUserId); in testGetActivitiesWithProfile() 85 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); in testGetActivitiesWithProfile() 88 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber)); in testGetActivitiesWithProfile() 103 mParentUserId); in testGetActivitiesWithProfile() 118 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); in testLauncherCallbackPackageAddedProfile() 131 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber)); in testLauncherCallbackPackageRemovedProfile() [all …]
|
D | ManagedProfileProvisioningTest.java | 23 private int mParentUserId; field in ManagedProfileProvisioningTest 35 mParentUserId = mPrimaryUserId; in setUp() 36 installAppAsUser(MANAGED_PROFILE_APK, mParentUserId); in setUp() 97 "testAccountNotExist", mParentUserId); in testAccountMigration() 111 "testAccountExist", mParentUserId); in testAccountCopy() 116 "testProvisionManagedProfile", mParentUserId); in provisionManagedProfile() 122 "testProvisionManagedProfile_accountCopy", mParentUserId); in provisionManagedProfile_accountCopy()
|
D | MixedManagedProfileOwnerTestApi25.java | 25 private int mParentUserId = -1; field in MixedManagedProfileOwnerTestApi25 36 mParentUserId = mPrimaryUserId; in setUp() 42 mUserId = createManagedProfile(mParentUserId); in createManagedProfile() 43 switchUser(mParentUserId); in createManagedProfile()
|