Searched refs:mDPM (Results 1 – 2 of 2) sorted by relevance
115 DevicePolicyManager mDPM; field in DeviceAdminSample123 mDPM = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()139 return mDPM.isAdminActive(mDeviceAdminSample); in isActiveAdmin()162 protected DevicePolicyManager mDPM; field in DeviceAdminSample.AdminSampleFragment176 mDPM = mActivity.mDPM; in onActivityCreated()211 boolean sufficient = mDPM.isActivePasswordSufficient(); in reloadSummaries()256 mDPM.resetPassword(newPassword, DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY); in doResetPassword()345 mDPM.setCameraDisabled(mDeviceAdminSample, mDisableCameraCheckbox.isChecked()); in onResume()346 mDPM.setKeyguardDisabledFeatures(mDeviceAdminSample, createKeyguardDisabledFlag()); in onResume()388 mDPM.removeActiveAdmin(mDeviceAdminSample); in onPreferenceChange()[all …]
51 private DevicePolicyManager mDPM; field in Policy59 mDPM = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in Policy()129 return mDPM.isAdminActive(mPolicyAdmin); in isAdminActive()133 return mDPM.isActivePasswordSufficient(); in isActivePasswordSufficient()144 mDPM.setPasswordQuality(mPolicyAdmin, PASSWORD_QUALITY_VALUES[mPasswordQuality]); in configurePolicy()145 mDPM.setPasswordMinimumLength(mPolicyAdmin, mPasswordLength); in configurePolicy()147 mDPM.setPasswordMinimumUpperCase(mPolicyAdmin, mPasswordMinUpperCase); in configurePolicy()