/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CommandReceiverActivity.java | 186 private ComponentName mAdmin; field in CommandReceiverActivity 207 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate() 217 mDpm.addUserRestriction(mAdmin, restrictionKey); in onCreate() 219 mDpm.clearUserRestriction(mAdmin, restrictionKey); in onCreate() 224 mDpm.setKeyguardDisabledFeatures(mAdmin, enforced in onCreate() 229 mDpm.setAutoTimeRequired(mAdmin, in onCreate() 234 mDpm.setDeviceOwnerLockScreenInfo(mAdmin, intent.getStringExtra(EXTRA_VALUE)); in onCreate() 239 mDpm.setMaximumTimeToLock(mAdmin, in onCreate() 249 mDpm.setKeyguardDisabled(mAdmin, enforced); in onCreate() 254 mDpm.setStatusBarDisabled(mAdmin, enforced); in onCreate() [all …]
|
D | SetSupportMessageActivity.java | 42 private ComponentName mAdmin; field in SetSupportMessageActivity 62 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate() 65 ? mDpm.getShortSupportMessage(mAdmin) in onCreate() 66 : mDpm.getLongSupportMessage(mAdmin)); in onCreate() 86 mDpm.setShortSupportMessage(mAdmin, message); in onClick() 88 mDpm.setLongSupportMessage(mAdmin, message); in onClick()
|
D | PermissionLockdownTestActivity.java | 74 private ComponentName mAdmin; field in PermissionLockdownTestActivity 85 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate() 121 int readPermissionState = mDevicePolicyManager.getPermissionGrantState(mAdmin, in buildLayout() 123 int writePermissionState = mDevicePolicyManager.getPermissionGrantState(mAdmin, in buildLayout() 201 mDevicePolicyManager.setPermissionGrantState(mAdmin, PERMISSION_APP_PACKAGE, in onCheckedChanged() 203 mDevicePolicyManager.setPermissionGrantState(mAdmin, PERMISSION_APP_PACKAGE, in onCheckedChanged() 208 String adminPackage = mAdmin.getPackageName(); in isProfileOrDeviceOwner()
|
D | RecentsRedactionActivity.java | 44 private ComponentName mAdmin; field in RecentsRedactionActivity 89 mAdmin = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate() 123 mDevicePolicyManager.setPasswordQuality(mAdmin, in hasPassword() 127 mDevicePolicyManager.setPasswordQuality(mAdmin, in hasPassword()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CaCertManagementTest.java | 40 private final ComponentName mAdmin = ADMIN_RECEIVER_COMPONENT; field in CaCertManagementTest 48 List<byte[]> caCerts = mDevicePolicyManager.getInstalledCaCerts(mAdmin); in testCanRetrieveListOfInstalledCaCerts() 142 boolean installed = mDevicePolicyManager.hasCaCertInstalled(mAdmin, caCert.getEncoded()); in isCaCertInstalledAndTrusted() 145 for (byte[] certBuffer : mDevicePolicyManager.getInstalledCaCerts(mAdmin)) { in isCaCertInstalledAndTrusted() 195 return mDevicePolicyManager.installCaCert(mAdmin, caCertificate); in installCaCert() 199 mDevicePolicyManager.uninstallCaCert(mAdmin, caCertificate); in uninstallCaCert() 203 mDevicePolicyManager.uninstallAllUserCaCerts(mAdmin); in uninstallAllUserCaCerts()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/ |
D | DeviceAdminTapjackingTestActivity.java | 50 private ComponentName mAdmin; field in DeviceAdminTapjackingTestActivity 59 mAdmin = new ComponentName(this, EmptyDeviceAdminReceiver.class); in onCreate() 76 while (mDevicePolicyManager.isAdminActive(mAdmin) in isActiveAdminAfterTimeout() 83 return mDevicePolicyManager.isAdminActive(mAdmin); in isActiveAdminAfterTimeout() 90 securitySettingsIntent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mAdmin); in onClick()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | DeviceAdminUninstallTestActivity.java | 66 private ComponentName mAdmin; field in DeviceAdminUninstallTestActivity 83 mAdmin = new ComponentName(ADMIN_PACKAGE_NAME, ADMIN_RECEIVER_CLASS_NAME); in onCreate() 92 mAdminActivated = mDevicePolicyManager.isAdminActive(mAdmin); in onCreate() 131 securitySettingsIntent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mAdmin); in onClick() 143 mAdminActivated = mDevicePolicyManager.isAdminActive(mAdmin); in onActivityResult()
|
D | PolicySerializationTestActivity.java | 61 private ComponentName mAdmin; field in PolicySerializationTestActivity 78 mAdmin = DeviceAdminTestReceiver.getReceiverComponentName(); in onCreate() 115 item.loadActualValue(mDevicePolicyManager, mAdmin); in loadPolicy()
|