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
104
DevicePolicyManager
mDPM
;
112
mDPM
= (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
128
return
mDPM
.isAdminActive(mDeviceAdminSample);
142
protected DevicePolicyManager
mDPM
;
156
mDPM
= mActivity.
mDPM
;
191
boolean sufficient =
mDPM
.isActivePasswordSufficient();
227
mDPM
.resetPassword(newPassword, DevicePolicyManager.RESET_PASSWORD_REQUIRE_ENTRY);
278
mDPM
.setCameraDisabled(mDeviceAdminSample, mDisableCameraCheckbox.isChecked());
279
mDPM
.setKeyguardDisabledFeatures(mDeviceAdminSample, createKeyguardDisabledFlag())
[
all
...]
/packages/apps/Settings/src/com/android/settings/
DeviceAdminAdd.java
67
DevicePolicyManager
mDPM
;
94
mDPM
= (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE);
122
if (!
mDPM
.isAdminActive(cn)) {
172
if (
mDPM
.isAdminActive(cn)) {
176
if (!
mDPM
.hasGrantedPolicy(cn, pi.ident)) {
221
mDPM
.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing);
228
if (
mDPM
.isAdminActive(mDeviceAdmin.getComponent())) {
240
mDPM
.getRemoveWarning(mDeviceAdmin.getComponent(),
253
mDPM
.removeActiveAdmin(mDeviceAdmin.getComponent());
285
mDPM
.removeActiveAdmin(mDeviceAdmin.getComponent())
[
all
...]
DeviceAdminSettings.java
56
DevicePolicyManager
mDPM
;
69
mDPM
= (DevicePolicyManager) getActivity().getSystemService(Context.DEVICE_POLICY_SERVICE);
76
mDeviceOwnerPkg =
mDPM
.getDeviceOwner();
77
if (mDeviceOwnerPkg != null && !
mDPM
.isDeviceOwner(mDeviceOwnerPkg)) {
85
List<ComponentName> cur =
mDPM
.getActiveAdmins();
ChooseLockGeneric.java
86
private DevicePolicyManager
mDPM
;
96
mDPM
= (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);
250
int minQuality =
mDPM
.getPasswordQuality(null);
267
int encryptionStatus =
mDPM
.getStorageEncryptionStatus();
387
int minLength =
mDPM
.getPasswordMinimumLength(null);
391
final int maxLength =
mDPM
.getPasswordMaximumLength(quality);
SecuritySettings.java
89
private DevicePolicyManager
mDPM
;
124
mDPM
= (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE);
187
switch (
mDPM
.getStorageEncryptionStatus()) {
258
final boolean disabled = (0 != (
mDPM
.getKeyguardDisabledFeatures(null)
422
final long adminTimeout = (
mDPM
!= null ?
mDPM
.getMaximumTimeToLock(null) : 0);
WirelessSettings.java
361
DevicePolicyManager
mDPM
= (DevicePolicyManager)
365
mGlobalProxy.setEnabled(
mDPM
.getGlobalProxyAdmin() == null);
/packages/apps/Email/src/com/android/email/
SecurityPolicy.java
60
private DevicePolicyManager
mDPM
;
88
mDPM
= null;
212
if (
mDPM
== null) {
213
mDPM
= (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE);
215
return
mDPM
;
[
all
...]
Completed in 821 milliseconds