Searched refs:parentUserId (Results 1 – 3 of 3) sorted by relevance
142 int parentUserId = getPrimaryUser(); in testApplicationRestrictions() local143 if (parentUserId != mUserId) { in testApplicationRestrictions()144 installAppAsUser(APP_RESTRICTIONS_MANAGING_APP_APK, parentUserId); in testApplicationRestrictions()145 installAppAsUser(APP_RESTRICTIONS_TARGET_APP_APK, parentUserId); in testApplicationRestrictions()148 "testCannotManageAppRestrictions", parentUserId)); in testApplicationRestrictions()
342 protected int createManagedProfile(int parentUserId) throws DeviceNotAvailableException { in createManagedProfile() argument343 String command = "pm create-user --profileOf " + parentUserId + " --managed " in createManagedProfile()
853 int parentUserId, int profileUserId) { in ContactsTestSet() argument856 mParentUserId = parentUserId; in ContactsTestSet()