OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mDPM
(Results
1 - 8
of
8
) 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
115
DevicePolicyManager
mDPM
;
123
mDPM
= (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
139
return
mDPM
.isAdminActive(mDeviceAdminSample);
162
protected DevicePolicyManager
mDPM
;
176
mDPM
= mActivity.
mDPM
;
211
boolean sufficient =
mDPM
.isActivePasswordSufficient();
256
mDPM
.resetPassword(newPassword, DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY);
345
mDPM
.setCameraDisabled(mDeviceAdminSample, mDisableCameraCheckbox.isChecked());
346
mDPM
.setKeyguardDisabledFeatures(mDeviceAdminSample, createKeyguardDisabledFlag())
[
all
...]
/packages/apps/Settings/src/com/android/settings/
DeviceAdminAdd.java
90
DevicePolicyManager
mDPM
;
127
mDPM
= (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE);
145
for (ComponentName component :
mDPM
.getActiveAdmins()) {
197
if (!
mDPM
.isAdminActive(who)) {
247
if (
mDPM
.isAdminActive(who)) {
248
if (
mDPM
.isRemovingAdmin(who, android.os.Process.myUserHandle().getIdentifier())) {
257
if (!
mDPM
.hasGrantedPolicy(who, pi.ident)) {
273
if (mAddingProfileOwner && !
mDPM
.hasUserSetupCompleted()) {
339
mDPM
.uninstallPackageWithActiveAdmins(mDeviceAdmin.getPackageName());
351
&& mDeviceAdmin.getComponent().equals(
mDPM
.getProfileOwner()))
[
all
...]
DeviceAdminSettings.java
64
private DevicePolicyManager
mDPM
;
114
mDPM
= (DevicePolicyManager) getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE);
134
final ComponentName deviceOwnerComponent =
mDPM
.getDeviceOwnerComponentOnAnyUser();
142
mProfileOwnerComponents.put(profileId,
mDPM
.getProfileOwnerAsUser(profileId));
311
return
mDPM
.isAdminActiveAsUser(item.getComponent(), getUserId(item));
315
return
mDPM
.isRemovingAdmin(item.getComponent(), getUserId(item));
329
List<ComponentName> activeAdminsListForProfile =
mDPM
.getActiveAdminsAsUser(profileId);
SecuritySettings.java
127
private DevicePolicyManager
mDPM
;
170
mDPM
= (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE);
415
if (admin != null &&
mDPM
.getPasswordQuality(admin.component, userId) ==
435
getActiveTrustAgents(getActivity(), mLockPatternUtils,
mDPM
);
[
all
...]
ChooseLockGeneric.java
106
private DevicePolicyManager
mDPM
;
136
mDPM
= (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
416
int minQuality =
mDPM
.getPasswordQuality(null, mUserId);
445
int adminEnforcedQuality =
mDPM
.getPasswordQuality(null, mUserId);
627
int minLength =
mDPM
.getPasswordMinimumLength(null, mUserId);
631
final int maxLength =
mDPM
.getPasswordMaximumLength(quality);
[
all
...]
WirelessSettings.java
317
final DevicePolicyManager
mDPM
= (DevicePolicyManager)
321
mGlobalProxy.setEnabled(
mDPM
.getGlobalProxyAdmin() == null);
/packages/apps/Email/provider_src/com/android/email/
SecurityPolicy.java
62
private DevicePolicyManager
mDPM
;
90
mDPM
= null;
214
if (
mDPM
== null) {
215
mDPM
= (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
217
return
mDPM
;
[
all
...]
Completed in 1092 milliseconds