Searched refs:mAdminReceiverComponent (Results 1 – 3 of 3) sorted by relevance
58 private ComponentName mAdminReceiverComponent; field in NfcTestActivity69 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate()75 mDevicePolicyManager.addUserRestriction(mAdminReceiverComponent, in onCreate()116 mDevicePolicyManager.clearUserRestriction(mAdminReceiverComponent, in finish()
110 private ComponentName mAdminReceiverComponent; field in ByodHelperActivity128 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()
56 private ComponentName mAdminReceiverComponent; field in ByodFlowTestActivity93 mAdminReceiverComponent = new ComponentName(this, DeviceAdminTestReceiver.class.getName()); in onCreate()443 mAdminReceiverComponent); in startByodProvisioning()