Home
last modified time | relevance | path

Searched refs:parentUserId (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java211 protected int createAndStartRestrictedProfile(int parentUserId) throws Exception { in createAndStartRestrictedProfile() argument
212 return createAndStartUser(" --profileOf " + parentUserId + " --restricted"); in createAndStartRestrictedProfile()
220 protected int createAndStartManagedProfile(int parentUserId) throws Exception { in createAndStartManagedProfile() argument
221 return createAndStartUser(" --profileOf " + parentUserId + " --managed"); in createAndStartManagedProfile()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java165 int parentUserId = getPrimaryUser(); in testApplicationRestrictions() local
166 if (parentUserId != mUserId) { in testApplicationRestrictions()
167 installAppAsUser(DELEGATE_APP_APK, parentUserId); in testApplicationRestrictions()
168 installAppAsUser(APP_RESTRICTIONS_TARGET_APP_APK, parentUserId); in testApplicationRestrictions()
170 "testCannotAccessApis", parentUserId); in testApplicationRestrictions()
DBaseDevicePolicyTest.java434 protected int createManagedProfile(int parentUserId) throws DeviceNotAvailableException { in createManagedProfile() argument
435 String commandOutput = getCreateManagedProfileCommandOutput(parentUserId); in createManagedProfile()
439 protected void assertCannotCreateManagedProfile(int parentUserId) in assertCannotCreateManagedProfile() argument
441 String commandOutput = getCreateManagedProfileCommandOutput(parentUserId); in assertCannotCreateManagedProfile()
459 private String getCreateManagedProfileCommandOutput(int parentUserId) in getCreateManagedProfileCommandOutput() argument
461 String command = "pm create-user --profileOf " + parentUserId + " --managed " in getCreateManagedProfileCommandOutput()
DManagedProfileTest.java1032 int parentUserId, int profileUserId) { in ContactsTestSet() argument
1035 mParentUserId = parentUserId; in ContactsTestSet()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java196 protected int createProfile(int parentUserId) throws Exception{ in createProfile() argument
197 final String command = "pm create-user --profileOf " + parentUserId in createProfile()