/cts/tests/appcloning/src/android/appcloning/cts/ |
D | AppCloningDeviceTestBase.java | 35 protected int createAndStartUser(String name, String type, String parentUserId) { in createAndStartUser() argument 41 command = "pm create-user --profileOf " + parentUserId + " --user-type " + type in createAndStartUser()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 191 protected int createAndStartRestrictedProfile(int parentUserId) throws Exception { in createAndStartRestrictedProfile() argument 192 return createAndStartUser(" --profileOf " + parentUserId + " --restricted"); in createAndStartRestrictedProfile() 200 protected int createAndStartManagedProfile(int parentUserId) throws Exception { in createAndStartManagedProfile() argument 201 return createAndStartUser(" --profileOf " + parentUserId + " --managed"); in createAndStartManagedProfile()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/contacts/ |
D | ManagedProfileContactsAccessTest.java | 135 protected static int createManagedProfile(String parentUserId) in createManagedProfile() argument 137 String commandOutput = getCreateManagedProfileCommandOutput(parentUserId); in createManagedProfile() 151 private static String getCreateManagedProfileCommandOutput(String parentUserId) in getCreateManagedProfileCommandOutput() argument 153 String command = "pm create-user --profileOf " + parentUserId + " --managed " in getCreateManagedProfileCommandOutput()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | ProfileFullBackupRestoreHostSideTest.java | 50 int parentUserId = mDevice.getCurrentUser(); in setUp() local 51 int profileUserId = createProfileUser(parentUserId, "Profile-Full"); in setUp()
|
D | ProfileScheduledJobHostSideTest.java | 80 int parentUserId = mDevice.getCurrentUser(); in setUp() local 81 int profileUserId = createProfileUser(parentUserId, "Profile-Jobs"); in setUp()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
D | ShellCommandUtils.java | 135 public static String createManagedProfileUser(int parentUserId, String userName) { in createManagedProfileUser() argument 136 return "pm create-user --profileOf " + parentUserId + " --managed " + userName; in createManagedProfileUser()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ResumeOnRebootHostTest.java | 532 private int createManagedProfile(int parentUserId) throws DeviceNotAvailableException { in createManagedProfile() argument 533 String commandOutput = getCreateManagedProfileCommandOutput(parentUserId); in createManagedProfile() 547 private String getCreateManagedProfileCommandOutput(int parentUserId) in getCreateManagedProfileCommandOutput() argument 549 String command = "pm create-user --profileOf " + parentUserId + " --managed " in getCreateManagedProfileCommandOutput()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileContactsTest.java | 210 String managedProfilePackage, int parentUserId, int profileUserId) { in ContactsTestSet() argument 213 mParentUserId = parentUserId; in ContactsTestSet()
|
D | BaseDevicePolicyTest.java | 687 protected int createManagedProfile(int parentUserId) throws DeviceNotAvailableException { in createManagedProfile() argument 688 String commandOutput = getCreateManagedProfileCommandOutput(parentUserId); in createManagedProfile() 692 protected void assertCannotCreateManagedProfile(int parentUserId) in assertCannotCreateManagedProfile() argument 694 String commandOutput = getCreateManagedProfileCommandOutput(parentUserId); in assertCannotCreateManagedProfile() 797 private String getCreateManagedProfileCommandOutput(int parentUserId) in getCreateManagedProfileCommandOutput() argument 799 String command = "pm create-user --profileOf " + parentUserId + " --managed " in getCreateManagedProfileCommandOutput()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 173 protected int createProfile(int parentUserId) throws Exception{ in createProfile() argument 174 final String command = "pm create-user --profileOf " + parentUserId in createProfile()
|