Home
last modified time | relevance | path

Searched refs:adminReceiver (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2965 void removeActiveAdminLocked(final ComponentName adminReceiver, final int userHandle) {
2966 final ActiveAdmin admin = getActiveAdminUncheckedLocked(adminReceiver, userHandle);
2968 if (admin != null && !policy.mRemovingAdmins.contains(adminReceiver)) {
2969 policy.mRemovingAdmins.add(adminReceiver);
2975 removeAdminArtifacts(adminReceiver, userHandle);
2976 removePackageIfRequired(adminReceiver.getPackageName(), userHandle);
3787 public void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle) { in setActiveAdmin() argument
3791 setActiveAdmin(adminReceiver, refreshing, userHandle, null); in setActiveAdmin()
3794 private void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle, in setActiveAdmin() argument
3801 DeviceAdminInfo info = findAdmin(adminReceiver, userHandle, in setActiveAdmin()
[all …]
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl298 boolean isRemovingAdmin(in ComponentName adminReceiver, int userHandle); in isRemovingAdmin() argument
DDevicePolicyManager.java9711 public void forceRemoveActiveAdmin(ComponentName adminReceiver, int userHandle) { in forceRemoveActiveAdmin() argument
9713 mService.forceRemoveActiveAdmin(adminReceiver, userHandle); in forceRemoveActiveAdmin()