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.java65 DevicePolicyManager mDPM; field in DeviceAdminAdd
92 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
136 if (mDPM.isAdminActive(cn)) { in onCreate()
140 if (!mDPM.hasGrantedPolicy(cn, pi.ident)) { in onCreate()
185 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing); in onCreate()
192 if (mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in onCreate()
204 mDPM.getRemoveWarning(mDeviceAdmin.getComponent(), in onCreate()
217 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent()); in onCreate()
249 mDPM.removeActiveAdmin(mDeviceAdmin.getComponent()); in onCreateDialog()
286 if (!mRefreshing && mDPM.isAdminActive(mDeviceAdmin.getComponent())) { in updateInterface()
DChooseLockGeneric.java67 private DevicePolicyManager mDPM; field in ChooseLockGeneric.ChooseLockGenericFragment
76 mDPM = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
216 int minQuality = mDPM.getPasswordQuality(null); in upgradeQualityForDPM()
231 int encryptionStatus = mDPM.getStorageEncryptionStatus(); in upgradeQualityForEncryption()
343 int minLength = mDPM.getPasswordMinimumLength(null); in updateUnlockMethodAndFinish()
347 final int maxLength = mDPM.getPasswordMaximumLength(quality); in updateUnlockMethodAndFinish()
DDeviceAdminSettings.java54 DevicePolicyManager mDPM; field in DeviceAdminSettings
66 mDPM = (DevicePolicyManager) getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreateView()
78 List<ComponentName> cur = mDPM.getActiveAdmins(); in updateList()
DSecuritySettings.java74 DevicePolicyManager mDPM; field in SecuritySettings
98 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
276 final long adminTimeout = (mDPM != null ? mDPM.getMaximumTimeToLock(null) : 0); in setupLockAfterPreference()
DWirelessSettings.java160 DevicePolicyManager mDPM = (DevicePolicyManager) in onCreate() local
164 mGlobalProxy.setEnabled(mDPM.getGlobalProxyAdmin() == null); in onCreate()
/packages/apps/Email/src/com/android/email/
DSecurityPolicy.java57 private DevicePolicyManager mDPM; field in SecurityPolicy
85 mDPM = null; in SecurityPolicy()
209 if (mDPM == null) { in getDPM()
210 mDPM = (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDPM()
212 return mDPM; in getDPM()