Home
last modified time | relevance | path

Searched refs:mDPM (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java90 DevicePolicyManager mDPM; field in DeviceAdminAdd
127 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
145 for (ComponentName component : mDPM.getActiveAdmins()) { in onCreate()
197 if (!mDPM.isAdminActive(who)) { in onCreate()
247 if (mDPM.isAdminActive(who)) { in onCreate()
248 if (mDPM.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) { in onCreate()
257 if (!mDPM.hasGrantedPolicy(who, pi.ident)) { in onCreate()
273 if (mAddingProfileOwner && !mDPM.hasUserSetupCompleted()) { in onCreate()
339 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
351 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
[all …]
DDeviceAdminSettings.java64 private DevicePolicyManager mDPM; field in DeviceAdminSettings
114 mDPM = (DevicePolicyManager) getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreateView()
134 final ComponentName deviceOwnerComponent = mDPM.getDeviceOwnerComponentOnAnyUser(); in onResume()
142 mProfileOwnerComponents.put(profileId, mDPM.getProfileOwnerAsUser(profileId)); in onResume()
311 return mDPM.isAdminActiveAsUser(item.getComponent(), getUserId(item)); in isActiveAdmin()
315 return mDPM.isRemovingAdmin(item.getComponent(), getUserId(item)); in isRemovingAdmin()
329 List<ComponentName> activeAdminsListForProfile = mDPM.getActiveAdminsAsUser(profileId); in updateAvailableAdminsForProfile()
DChooseLockGeneric.java109 private DevicePolicyManager mDPM; field in ChooseLockGeneric.ChooseLockGenericFragment
139 mDPM = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
419 int minQuality = mDPM.getPasswordQuality(null, mUserId); in upgradeQualityForDPM()
448 int adminEnforcedQuality = mDPM.getPasswordQuality(null, mUserId); in disableUnusablePreferencesImpl()
630 int minLength = mDPM.getPasswordMinimumLength(null, mUserId); in getIntentForUnlockMethod()
634 final int maxLength = mDPM.getPasswordMaximumLength(quality); in getIntentForUnlockMethod()
DSecuritySettings.java127 private DevicePolicyManager mDPM; field in SecuritySettings
170 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
415 if (admin != null && mDPM.getPasswordQuality(admin.component, userId) == in disableIfPasswordQualityManaged()
435 getActiveTrustAgents(getActivity(), mLockPatternUtils, mDPM); in addTrustAgentSettings()
1011 private DevicePolicyManager mDPM; field in SecuritySettings.SecuritySubSettings
1022 mDPM = getContext().getSystemService(DevicePolicyManager.class); in onCreate()
1118 if (mDPM != null) { in setupLockAfterPreference()
1121 final long adminTimeout = mDPM in setupLockAfterPreference()
DWirelessSettings.java315 final DevicePolicyManager mDPM = (DevicePolicyManager)
319 mGlobalProxy.setEnabled(mDPM.getGlobalProxyAdmin() == null);
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java62 private DevicePolicyManager mDPM; field in SecurityPolicy
90 mDPM = null; in SecurityPolicy()
214 if (mDPM == null) { in getDPM()
215 mDPM = (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDPM()
217 return mDPM; in getDPM()