Lines Matching refs:mDPM
97 DevicePolicyManager mDPM; field in DeviceAdminAdd
132 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
150 for (ComponentName component : mDPM.getActiveAdmins()) { in onCreate()
202 if (!mDPM.isAdminActive(who)) { in onCreate()
252 if (mDPM.isAdminActive(who)) { in onCreate()
253 if (mDPM.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) { in onCreate()
262 if (!mDPM.hasGrantedPolicy(who, pi.ident)) { in onCreate()
278 if (mAddingProfileOwner && !mDPM.hasUserSetupCompleted()) { in onCreate()
344 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
361 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
385 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
395 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(), in onCreate()
420 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing); in addAndFinish()
429 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in addAndFinish()
435 mDPM.setProfileOwner(mDeviceAdmin.getComponent(), in addAndFinish()
455 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent()); in continueRemoveAction()
526 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent()); in onCreateDialog()
561 && mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in updateInterface()
564 mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner()); in updateInterface()
578 mDPM.getDeviceOwnerComponentOnCallingUser())) { in updateInterface()
601 CharSequence supportMessage = mDPM.getLongSupportMessageForUser( in updateInterface()