Searched refs:grantAdminPermissions (Results 1 – 6 of 6) sorted by relevance
120 UserHelper.grantAdminPermissions(mContext, testInfo); in testGrantAdminPermissions_nonAdmin()131 UserHelper.grantAdminPermissions(mContext, testInfo); in testGrantAdminPermissions_admin()144 UserHelper.grantAdminPermissions(mContext, testInfo); in testGrantingAdminPermissionsRemovesNonAdminRestrictions()
85 android.car.userlib.UserHelper.grantAdminPermissions(getContext(), profileToMakeAdmin); in assignNewAdminAndRemoveOldAdmin()
66 android.car.userlib.UserHelper.grantAdminPermissions(getContext(),
76 public static void grantAdminPermissions(@NonNull Context context, @NonNull UserInfo user) { in grantAdminPermissions() method in UserHelper
137 ExtendedMockito.verify(() -> android.car.userlib.UserHelper.grantAdminPermissions(mContext, in testAssignNewAdminAndRemoveOldAdmin_grantAdminCalled()
351 () -> android.car.userlib.UserHelper.grantAdminPermissions(mContext, userInfo)); in onMakeAdminConfirmed_makeProfileAdmin()