HomeSort by relevance Sort by last modified time
    Searched refs:mDPM (Results 1 - 2 of 2) sorted by null

  /development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
Policy.java 51 private DevicePolicyManager mDPM;
59 mDPM = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);
129 return mDPM.isAdminActive(mPolicyAdmin);
133 return mDPM.isActivePasswordSufficient();
144 mDPM.setPasswordQuality(mPolicyAdmin, PASSWORD_QUALITY_VALUES[mPasswordQuality]);
145 mDPM.setPasswordMinimumLength(mPolicyAdmin, mPasswordLength);
147 mDPM.setPasswordMinimumUpperCase(mPolicyAdmin, mPasswordMinUpperCase);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
DeviceAdminSample.java 113 DevicePolicyManager mDPM;
121 mDPM = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
137 return mDPM.isAdminActive(mDeviceAdminSample);
160 protected DevicePolicyManager mDPM;
174 mDPM = mActivity.mDPM;
209 boolean sufficient = mDPM.isActivePasswordSufficient();
254 mDPM.resetPassword(newPassword, DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY);
333 mDPM.setCameraDisabled(mDeviceAdminSample, mDisableCameraCheckbox.isChecked());
334 mDPM.setKeyguardDisabledFeatures(mDeviceAdminSample, createKeyguardDisabledFlag())
    [all...]

Completed in 259 milliseconds