Searched refs:mParentUserId (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 72 private int mParentUserId; field in ManagedProfileTest 91 mParentUserId = mPrimaryUserId; in setUp() 92 mProfileUserId = createManagedProfile(mParentUserId); in setUp() 94 installAppAsUser(MANAGED_PROFILE_APK, mParentUserId); in setUp() 140 newUserId = createManagedProfile(mParentUserId); in testMaxOneManagedProfile() 158 MANAGED_PROFILE_PKG, ".WifiTest", "testRemoveWifiNetworkIfExists", mParentUserId)); in testProfileWifiCleanup() 168 mParentUserId)); in testProfileWifiCleanup() 177 disableActivityForUser("ManagedProfileActivity", mParentUserId); in testCrossProfileIntentFilters() 189 MANAGED_PROFILE_PKG, MANAGED_PROFILE_PKG + ".PrimaryUserTest", mParentUserId)); in testCrossProfileIntentFilters() 201 installAppAsUser(INTENT_RECEIVER_APK, mParentUserId); in testAppLinks() [all …]
|
D | LauncherAppsProfileTest.java | 36 private int mParentUserId; field in LauncherAppsProfileTest 48 mParentUserId = mPrimaryUserId; in setUp() 49 mProfileUserId = createManagedProfile(mParentUserId); in setUp() 54 mMainUserSerialNumber = Integer.toString(getUserSerialNumber(mParentUserId)); in setUp() 73 installAppAsUser(SIMPLE_APP_APK, mParentUserId); in testGetActivitiesWithProfile() 80 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber))); in testGetActivitiesWithProfile() 83 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mMainUserSerialNumber))); in testGetActivitiesWithProfile() 95 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber))); in testLauncherCallbackPackageAddedProfile() 108 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber))); in testLauncherCallbackPackageRemovedProfile() 121 mParentUserId, Collections.singletonMap(PARAM_TEST_USER, mProfileSerialNumber))); in testLauncherCallbackPackageChangedProfile()
|
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() 74 installAppAsUser(DEVICE_ADMIN_APK, mParentUserId); in testScreenCaptureDisabled_allowedPrimaryUser() 75 String command = "am start -W --user " + mParentUserId + " " + DEVICE_ADMIN_PKG + "/" in testScreenCaptureDisabled_allowedPrimaryUser()
|