Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java97 DevicePolicyManager mDPM; field in DeviceAdminAdd
132 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
150 for (ComponentName component : mDPM.getActiveAdmins()) { in onCreate()
202 if (!mDPM.isAdminActive(who)) { in onCreate()
252 if (mDPM.isAdminActive(who)) { in onCreate()
253 if (mDPM.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) { in onCreate()
262 if (!mDPM.hasGrantedPolicy(who, pi.ident)) { in onCreate()
278 if (mAddingProfileOwner && !mDPM.hasUserSetupCompleted()) { in onCreate()
344 mDPM.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName()); in onCreate()
361 && mDeviceAdmin.getComponent().equals(mDPM.getProfileOwner())) { in onCreate()
[all …]
DDeviceAdminSettings.java68 private DevicePolicyManager mDPM; field in DeviceAdminSettings
129 mDPM = (DevicePolicyManager) getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreateView()
151 final ComponentName deviceOwnerComponent = mDPM.getDeviceOwnerComponentOnAnyUser(); in onResume()
159 mProfileOwnerComponents.put(profileId, mDPM.getProfileOwnerAsUser(profileId)); in onResume()
330 return mDPM.isAdminActiveAsUser(item.getComponent(), getUserId(item)); in isActiveAdmin()
334 return mDPM.isRemovingAdmin(item.getComponent(), getUserId(item)); in isRemovingAdmin()
348 List<ComponentName> activeAdminsListForProfile = mDPM.getActiveAdminsAsUser(profileId); in updateAvailableAdminsForProfile()
DSecuritySettings.java146 private DevicePolicyManager mDPM; field in SecuritySettings
192 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
447 if (admin != null && mDPM.getPasswordQuality(admin.component, userId) == in disableIfPasswordQualityManaged()
468 getActivity(), mTrustAgentManager, mLockPatternUtils, mDPM); in addTrustAgentSettings()
986 private DevicePolicyManager mDPM; field in SecuritySettings.SecuritySubSettings
1001 mDPM = getContext().getSystemService(DevicePolicyManager.class); in onCreate()
1057 mTrustAgentManager, mLockPatternUtils, mDPM); in createPreferenceHierarchy()
1079 if (mDPM != null) { in setupLockAfterPreference()
1082 final long adminTimeout = mDPM in setupLockAfterPreference()
1113 mTrustAgentManager, mLockPatternUtils, mDPM); in updateLockAfterPreferenceSummary()
DChooseLockGeneric.java115 private DevicePolicyManager mDPM; field in ChooseLockGeneric.ChooseLockGenericFragment
147 mDPM = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
467 int minQuality = mDPM.getPasswordQuality(null, mUserId); in upgradeQualityForDPM()
496 int adminEnforcedQuality = mDPM.getPasswordQuality(null, mUserId); in disableUnusablePreferencesImpl()
686 int minLength = mDPM.getPasswordMinimumLength(null, mUserId); in getIntentForUnlockMethod()
690 final int maxLength = mDPM.getPasswordMaximumLength(quality); in getIntentForUnlockMethod()
/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()