OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:restrictionKey
(Results
1 - 5
of
5
) sorted by null
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
SetPolicyActivity.java
68
String
restrictionKey
= intent.getStringExtra(EXTRA_RESTRICTION_KEY);
69
dpm.addUserRestriction(admin,
restrictionKey
);
70
Log.i(TAG, "Added user restriction " +
restrictionKey
73
String
restrictionKey
= intent.getStringExtra(EXTRA_RESTRICTION_KEY);
74
dpm.clearUserRestriction(admin,
restrictionKey
);
75
Log.i(TAG, "Cleared user restriction " +
restrictionKey
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
SetPolicyActivity.java
72
String
restrictionKey
= intent.getStringExtra(EXTRA_RESTRICTION_KEY);
73
dpm.addUserRestriction(BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT,
restrictionKey
);
74
Log.i(TAG, "Added user restriction " +
restrictionKey
77
String
restrictionKey
= intent.getStringExtra(EXTRA_RESTRICTION_KEY);
79
BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT,
restrictionKey
);
80
Log.i(TAG, "Cleared user restriction " +
restrictionKey
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
SetPolicyActivity.java
79
String
restrictionKey
= intent.getStringExtra(EXTRA_RESTRICTION_KEY);
80
dpm.addUserRestriction(BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT,
restrictionKey
);
81
Log.i(TAG, "Added user restriction " +
restrictionKey
84
String
restrictionKey
= intent.getStringExtra(EXTRA_RESTRICTION_KEY);
86
BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT,
restrictionKey
);
87
Log.i(TAG, "Cleared user restriction " +
restrictionKey
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowDevicePolicyManagerTest.java
240
String
restrictionKey
= "restriction key";
246
devicePolicyManager.addUserRestriction(testComponent,
restrictionKey
);
250
assertThat(restrictions.getBoolean(
restrictionKey
)).isTrue();
257
String
restrictionKey
= "restriction key";
263
devicePolicyManager.addUserRestriction(testComponent,
restrictionKey
);
267
assertThat(restrictions.getBoolean(
restrictionKey
)).isTrue();
277
String
restrictionKey
= "restriction key";
278
devicePolicyManager.addUserRestriction(testComponent,
restrictionKey
);
281
devicePolicyManager.clearUserRestriction(testComponent,
restrictionKey
);
285
assertThat(restrictions.getBoolean(
restrictionKey
)).isFalse()
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
CommandReceiverActivity.java
196
String
restrictionKey
= intent.getStringExtra(EXTRA_USER_RESTRICTION);
199
mDpm.addUserRestriction(mAdmin,
restrictionKey
);
201
mDpm.clearUserRestriction(mAdmin,
restrictionKey
);
[
all
...]
Completed in 9003 milliseconds