Home
last modified time | relevance | path

Searched refs:mAdmin (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java75 private ComponentName mAdmin; field in CommandReceiverActivity
85 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate()
94 mDpm.addUserRestriction(mAdmin, restrictionKey); in onCreate()
96 mDpm.clearUserRestriction(mAdmin, restrictionKey); in onCreate()
100 mDpm.setKeyguardDisabledFeatures(mAdmin, in onCreate()
104 mDpm.setAutoTimeRequired(mAdmin, in onCreate()
108 mDpm.setDeviceOwnerLockScreenInfo(mAdmin, intent.getStringExtra(EXTRA_VALUE)); in onCreate()
112 mDpm.setMaximumTimeToLock(mAdmin, in onCreate()
117 mDpm.setPasswordQuality(mAdmin, quality); in onCreate()
124 mDpm.setKeyguardDisabled(mAdmin, enforced); in onCreate()
[all …]
DSetSupportMessageActivity.java41 private ComponentName mAdmin; field in SetSupportMessageActivity
56 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate()
59 ? mDpm.getShortSupportMessage(mAdmin) in onCreate()
60 : mDpm.getLongSupportMessage(mAdmin)); in onCreate()
80 mDpm.setShortSupportMessage(mAdmin, message); in onClick()
82 mDpm.setLongSupportMessage(mAdmin, message); in onClick()
DPermissionLockdownTestActivity.java63 private ComponentName mAdmin; field in PermissionLockdownTestActivity
72 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate()
108 int currentPermissionState = mDevicePolicyManager.getPermissionGrantState(mAdmin, in buildLayout()
176 mDevicePolicyManager.setPermissionGrantState(mAdmin, PERMISSION_APP_PACKAGE, in onCheckedChanged()
181 String adminPackage = mAdmin.getPackageName(); in isProfileOrDeviceOwner()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java60 private ComponentName mAdmin; field in PolicySerializationTestActivity
77 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate()
113 item.loadActualValue(mDevicePolicyManager, mAdmin); in loadPolicy()