Searched refs:profileUserId (Results 1 – 3 of 3) sorted by relevance
89 int profileUserId = setupManagedProfile(COMP_DPC_APK, COMP_DPC_PKG, COMP_DPC_ADMIN); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile() local92 verifyBindDeviceAdminServiceAsUserFails(profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile()95 setSameAffiliationId(profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile()96 assertOtherProfilesEqualsBindTargetUsers(profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile()97 verifyBindDeviceAdminServiceAsUser(profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile()100 setDifferentAffiliationId(profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile()101 verifyBindDeviceAdminServiceAsUserFails(profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfile()113 int profileUserId = provisionCorpOwnedManagedProfile(); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfileWithManagedProvisioning() local114 setSameAffiliationId(profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfileWithManagedProvisioning()119 profileUserId); in testBindDeviceAdminServiceAsUser_corpOwnedManagedProfileWithManagedProvisioning()[all …]
135 final int profileUserId = createManagedProfile(mDeviceOwnerUserId /* parentUserId */); in testUserRestrictions_managedProfileOwnerOnly() local137 startUser(profileUserId); in testUserRestrictions_managedProfileOwnerOnly()138 setPoAsUser(profileUserId); in testUserRestrictions_managedProfileOwnerOnly()141 "testDefaultRestrictions", profileUserId); in testUserRestrictions_managedProfileOwnerOnly()143 "testSetAllRestrictions", profileUserId); in testUserRestrictions_managedProfileOwnerOnly()145 "testBroadcast", profileUserId); in testUserRestrictions_managedProfileOwnerOnly()
1032 int parentUserId, int profileUserId) { in ContactsTestSet() argument1036 mProfileUserId = profileUserId; in ContactsTestSet()