Home | History | Annotate | Download | only in settings

Lines Matching refs:mDeviceAdmin

92     DeviceAdminInfo mDeviceAdmin;
231 mDeviceAdmin = new DeviceAdminInfo(this, ri);
254 ArrayList<DeviceAdminInfo.PolicyInfo> newPolicies = mDeviceAdmin.getUsedPolicies();
328 mDeviceAdmin.getActivityInfo().applicationInfo.uid);
338 mDeviceAdmin.getActivityInfo().applicationInfo.uid);
339 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName());
350 } else if (isManagedProfile(mDeviceAdmin)
351 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) {
364 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName());
374 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(),
398 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing);
400 mDeviceAdmin.getActivityInfo().applicationInfo.uid);
406 + mDeviceAdmin.getComponent(), e);
407 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) {
413 mDPM.setProfileOwner(mDeviceAdmin.getComponent(),
432 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent());
452 final int uid = mDeviceAdmin.getActivityInfo().applicationInfo.uid;
453 final String pkg = mDeviceAdmin.getActivityInfo().applicationInfo.packageName;
464 final int uid = mDeviceAdmin.getActivityInfo().applicationInfo.uid;
465 final String pkg = mDeviceAdmin.getActivityInfo().applicationInfo.packageName;
500 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent());
514 mAdminIcon.setImageDrawable(mDeviceAdmin.loadIcon(getPackageManager()));
515 mAdminName.setText(mDeviceAdmin.loadLabel(getPackageManager()));
518 mDeviceAdmin.loadDescription(getPackageManager()));
534 && mDPM.isAdminActive(mDeviceAdmin.getComponent())) {
537 mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner());
538 final boolean isManagedProfile = isManagedProfile(mDeviceAdmin);
543 } else if (isProfileOwner || mDeviceAdmin.getComponent().equals(
558 mDeviceAdmin.getActivityInfo().applicationInfo.loadLabel(
568 mDeviceAdmin.getComponent(), UserHandle.myUserId());
578 mDeviceAdmin.getActivityInfo().applicationInfo.loadLabel(getPackageManager())));
596 for (DeviceAdminInfo.PolicyInfo pi : mDeviceAdmin.getUsedPolicies()) {
639 return !mDeviceAdmin.getActivityInfo().applicationInfo.isSystemApp();