Home
last modified time | relevance | path

Searched refs:grantAdminPermissions (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java137 protected void grantAdminPermissions(UserInfo user) { in grantAdminPermissions() method in ShadowCarUserManagerHelper
138 sMockInstance.grantAdminPermissions(user); in grantAdminPermissions()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DMakeAdminPreferenceController.java39 getCarUserManagerHelper().grantAdminPermissions(userToMakeAdmin);
DChooseNewAdminPreferenceController.java87 getCarUserManagerHelper().grantAdminPermissions(userToMakeAdmin); in assignNewAdminAndRemoveOldAdmin()
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java625 mCarUserManagerHelper.grantAdminPermissions(testInfo); in testGrantAdminPermissions()
630 mCarUserManagerHelper.grantAdminPermissions(testInfo); in testGrantAdminPermissions()
697 mCarUserManagerHelper.grantAdminPermissions(testInfo); in testGrantingAdminPermissionsRemovesNonAdminRestrictions()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DMakeAdminPreferenceControllerTest.java108 verify(mCarUserManagerHelper).grantAdminPermissions(TEST_USER); in testListener_makeUserAdmin()
DChooseNewAdminPreferenceControllerTest.java117 verify(mCarUserManagerHelper).grantAdminPermissions(TEST_OTHER_USER); in testAssignNewAdminAndRemoveOldAdmin_grantAdminCalled()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java752 public void grantAdminPermissions(UserInfo user) { in grantAdminPermissions() method in CarUserManagerHelper