Searched refs:restrictionKey (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SetPolicyActivity.java | 60 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local 61 dpm.addUserRestriction(admin, restrictionKey); in handleIntent() 62 Log.i(TAG, "Added user restriction " + restrictionKey in handleIntent() 65 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local 66 dpm.clearUserRestriction(admin, restrictionKey); in handleIntent() 67 Log.i(TAG, "Cleared user restriction " + restrictionKey in handleIntent()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | SetPolicyActivity.java | 62 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/ |
D | SetPolicyActivity.java | 74 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/ |
D | CommandReceiverActivity.java | 225 String restrictionKey = intent.getStringExtra(EXTRA_USER_RESTRICTION); in onCreate() local 227 Log.i(TAG, "Setting '" + restrictionKey + "'=" + enforced in onCreate() 231 mDpm.addUserRestriction(mAdmin, restrictionKey); in onCreate() 233 mDpm.clearUserRestriction(mAdmin, restrictionKey); in onCreate()
|