Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSetPolicyActivity.java61 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
62 dpm.addUserRestriction(admin, restrictionKey); in handleIntent()
63 Log.i(TAG, "Added user restriction " + restrictionKey in handleIntent()
66 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
67 dpm.clearUserRestriction(admin, restrictionKey); in handleIntent()
68 Log.i(TAG, "Cleared user restriction " + restrictionKey in handleIntent()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DSetPolicyActivity.java62 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
63 dpm.addUserRestriction(BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
64 Log.i(TAG, "Added user restriction " + restrictionKey in handleIntent()
67 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
69 BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
70 Log.i(TAG, "Cleared user restriction " + restrictionKey in handleIntent()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSetPolicyActivity.java74 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
75 dpm.addUserRestriction(BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
76 Log.i(TAG, "Added user restriction " + restrictionKey in handleIntent()
79 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
81 BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
82 Log.i(TAG, "Cleared user restriction " + restrictionKey in handleIntent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java212 String restrictionKey = intent.getStringExtra(EXTRA_USER_RESTRICTION); in onCreate() local
214 Log.i(TAG, "Setting '" + restrictionKey + "'=" + enforced + " using " + mDpm in onCreate()
217 mDpm.addUserRestriction(mAdmin, restrictionKey); in onCreate()
219 mDpm.clearUserRestriction(mAdmin, restrictionKey); in onCreate()