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

/packages/apps/Settings/src/com/android/settings/
H A DDeviceAdminAdd.java67 DevicePolicyManager mDPM; field in class:DeviceAdminAdd
94 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE);
122 if (!mDPM.isAdminActive(cn)) {
172 if (mDPM.isAdminActive(cn)) {
176 if (!mDPM.hasGrantedPolicy(cn, pi.ident)) {
221 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing);
228 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) {
240 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(),
253 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent());
285 mDPM
[all...]
H A DDeviceAdminSettings.java56 DevicePolicyManager mDPM; field in class:DeviceAdminSettings
69 mDPM = (DevicePolicyManager) getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE);
76 mDeviceOwnerPkg = mDPM.getDeviceOwner();
77 if (mDeviceOwnerPkg != null && !mDPM.isDeviceOwner(mDeviceOwnerPkg)) {
85 List<ComponentName> cur = mDPM.getActiveAdmins();
H A DChooseLockGeneric.java86 private DevicePolicyManager mDPM; field in class:ChooseLockGeneric.ChooseLockGenericFragment
96 mDPM = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
250 int minQuality = mDPM.getPasswordQuality(null);
267 int encryptionStatus = mDPM.getStorageEncryptionStatus();
387 int minLength = mDPM.getPasswordMinimumLength(null);
391 final int maxLength = mDPM.getPasswordMaximumLength(quality);
H A DSecuritySettings.java89 private DevicePolicyManager mDPM; field in class:SecuritySettings
124 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE);
187 switch (mDPM.getStorageEncryptionStatus()) {
257 final boolean disabled = (0 != (mDPM.getKeyguardDisabledFeatures(null)
421 final long adminTimeout = (mDPM != null ? mDPM.getMaximumTimeToLock(null) : 0);
H A DWirelessSettings.java351 DevicePolicyManager mDPM = (DevicePolicyManager)
355 mGlobalProxy.setEnabled(mDPM.getGlobalProxyAdmin() == null);
/packages/apps/Email/src/com/android/email/
H A DSecurityPolicy.java60 private DevicePolicyManager mDPM; field in class:SecurityPolicy
88 mDPM = null;
212 if (mDPM == null) {
213 mDPM = (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
215 return mDPM;

Completed in 180 milliseconds