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.java68 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
69 dpm.addUserRestriction(admin, restrictionKey); in handleIntent()
70 Log.i(TAG, "Added user restriction " + restrictionKey in handleIntent()
73 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
74 dpm.clearUserRestriction(admin, restrictionKey); in handleIntent()
75 Log.i(TAG, "Cleared user restriction " + restrictionKey in handleIntent()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DSetPolicyActivity.java72 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
73 dpm.addUserRestriction(BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
74 Log.i(TAG, "Added user restriction " + restrictionKey in handleIntent()
77 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
79 BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
80 Log.i(TAG, "Cleared user restriction " + restrictionKey in handleIntent()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSetPolicyActivity.java79 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
80 dpm.addUserRestriction(BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
81 Log.i(TAG, "Added user restriction " + restrictionKey in handleIntent()
84 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
86 BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT, restrictionKey); in handleIntent()
87 Log.i(TAG, "Cleared user restriction " + restrictionKey in handleIntent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java196 String restrictionKey = intent.getStringExtra(EXTRA_USER_RESTRICTION); in onCreate() local
199 mDpm.addUserRestriction(mAdmin, restrictionKey); in onCreate()
201 mDpm.clearUserRestriction(mAdmin, restrictionKey); in onCreate()