Searched refs:mDPM (Results 1 – 6 of 6) sorted by relevance
65 DevicePolicyManager mDPM; field in DeviceAdminAdd92 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()
67 private DevicePolicyManager mDPM; field in ChooseLockGeneric.ChooseLockGenericFragment76 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()
54 DevicePolicyManager mDPM; field in DeviceAdminSettings66 mDPM = (DevicePolicyManager) getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreateView()78 List<ComponentName> cur = mDPM.getActiveAdmins(); in updateList()
74 DevicePolicyManager mDPM; field in SecuritySettings98 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()276 final long adminTimeout = (mDPM != null ? mDPM.getMaximumTimeToLock(null) : 0); in setupLockAfterPreference()
160 DevicePolicyManager mDPM = (DevicePolicyManager) in onCreate() local164 mGlobalProxy.setEnabled(mDPM.getGlobalProxyAdmin() == null); in onCreate()
57 private DevicePolicyManager mDPM; field in SecurityPolicy85 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()