Home
last modified time | relevance | path

Searched refs:mAdminReceiverComponent (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DNfcTestActivity.java58 private ComponentName mAdminReceiverComponent; field in NfcTestActivity
69 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate()
75 mDevicePolicyManager.addUserRestriction(mAdminReceiverComponent, in onCreate()
116 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in finish()
DByodHelperActivity.java110 private ComponentName mAdminReceiverComponent; field in ByodHelperActivity
128 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate()
337 return mDevicePolicyManager.isAdminActive(mAdminReceiverComponent) && in isProfileOwner()
338 mDevicePolicyManager.isProfileOwnerApp(mAdminReceiverComponent.getPackageName()); in isProfileOwner()
347 mDevicePolicyManager.setSecureSetting(mAdminReceiverComponent, INSTALL_NON_MARKET_APPS, in setAllowNonMarket()
367 mDevicePolicyManager.setPermissionGrantState(mAdminReceiverComponent, getPackageName(), in grantCameraPermissionToSelf()
DByodFlowTestActivity.java56 private ComponentName mAdminReceiverComponent; field in ByodFlowTestActivity
93 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate()
443 mAdminReceiverComponent); in startByodProvisioning()