Searched refs:grantAdminPermissions (Results 1 – 6 of 6) sorted by relevance
129 UserHelper.grantAdminPermissions(mContext, testInfo.getUserHandle()); in testGrantAdminPermissions_nonAdmin()140 UserHelper.grantAdminPermissions(mContext, testInfo.getUserHandle()); in testGrantAdminPermissions_admin()153 UserHelper.grantAdminPermissions(mContext, testInfo.getUserHandle()); in testGrantingAdminPermissionsRemovesNonAdminRestrictions()
86 UserHelper.grantAdminPermissions(getContext(), profileToMakeAdmin.getUserHandle()); in assignNewAdminAndRemoveOldAdmin()
70 com.android.car.internal.user.UserHelper.grantAdminPermissions(getContext(),
76 public static void grantAdminPermissions(@NonNull Context context, @NonNull UserHandle user) { in grantAdminPermissions() method in UserHelper
138 ExtendedMockito.verify(() -> UserHelper.grantAdminPermissions(mContext, in testAssignNewAdminAndRemoveOldAdmin_grantAdminCalled()
364 () -> UserHelper.grantAdminPermissions(mContext, userInfo.getUserHandle())); in onMakeAdminConfirmed_makeProfileAdmin()