Searched refs:mAdminReceiverComponent (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | NfcTestActivity.java | 48 private ComponentName mAdminReceiverComponent; field in NfcTestActivity 60 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate() 68 mDevicePolicyManager.addUserRestriction(mAdminReceiverComponent, in onCreate() 71 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in onCreate() 108 mDevicePolicyManager.addUserRestriction(mAdminReceiverComponent, in finish() 111 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in finish()
|
D | VpnTestActivity.java | 55 private ComponentName mAdminReceiverComponent; field in VpnTestActivity 66 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate() 69 mDevicePolicyManager.addUserRestriction(mAdminReceiverComponent, in onCreate() 77 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in finish()
|
D | ByodHelperActivity.java | 181 private ComponentName mAdminReceiverComponent; field in ByodHelperActivity 223 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate() 243 mDevicePolicyManager.clearCrossProfileIntentFilters(mAdminReceiverComponent); in onCreate() 319 mDevicePolicyManager.setKeyguardDisabledFeatures(mAdminReceiverComponent, value); in onCreate() 359 mDevicePolicyManager.setOrganizationName(mAdminReceiverComponent, getResources() in onCreate() 378 mDevicePolicyManager.setOrganizationName(mAdminReceiverComponent, organizationName); in onCreate() 544 return mDevicePolicyManager.isAdminActive(mAdminReceiverComponent) && in isProfileOwner() 545 mDevicePolicyManager.isProfileOwnerApp(mAdminReceiverComponent.getPackageName()); in isProfileOwner() 549 Bundle restrictions = mDevicePolicyManager.getUserRestrictions(mAdminReceiverComponent); in isRestrictionSet() 557 mDevicePolicyManager.addUserRestriction(mAdminReceiverComponent, restriction); in setRestriction() [all …]
|
D | ByodFlowTestActivity.java | 80 private ComponentName mAdminReceiverComponent; field in ByodFlowTestActivity 162 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate() 169 ByodFlowTestActivity.this, mAdminReceiverComponent, in onCreate()
|