Home
last modified time | relevance | path

Searched refs:EXTRA_RESTRICTION (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java19 import static android.app.admin.DevicePolicyManager.EXTRA_RESTRICTION;
309 assertThat(intentCaptor.getValue().getExtra(EXTRA_RESTRICTION)).isEqualTo("Fake"); in sendShowAdminSupportDetailsIntent_extraRestrictionProvided()
318 assertThat(intentCaptor.getValue().getExtra(EXTRA_RESTRICTION)).isNull(); in sendShowAdminSupportDetailsIntent_noExtraRestriction()
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java95 intent.putExtra(DevicePolicyManager.EXTRA_RESTRICTION, admin.enforcedRestriction); in sendShowAdminSupportDetailsIntent()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java25 import static android.app.admin.DevicePolicyManager.EXTRA_RESTRICTION;
314 mIntent.putExtra(EXTRA_RESTRICTION, POLICY_SUSPEND_PACKAGES); in interceptSuspendedByAdminPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2978 assertThat(intent.getStringExtra(DevicePolicyManager.EXTRA_RESTRICTION)) in testCreateAdminSupportIntent()
2992 assertThat(intent.getStringExtra(DevicePolicyManager.EXTRA_RESTRICTION)) in testCreateAdminSupportIntent()
3003 assertThat(intent.getStringExtra(DevicePolicyManager.EXTRA_RESTRICTION)) in testCreateAdminSupportIntent()
3011 assertThat(intent.getStringExtra(DevicePolicyManager.EXTRA_RESTRICTION)) in testCreateAdminSupportIntent()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2328 public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION"; field in DevicePolicyManager
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java15756 intent.putExtra(DevicePolicyManager.EXTRA_RESTRICTION, userRestriction); in createUserRestrictionSupportIntent()
16370 intent.putExtra(DevicePolicyManager.EXTRA_RESTRICTION, restriction); in createAdminSupportIntent()
/frameworks/base/core/api/
Dsystem-current.txt1388 field public static final String EXTRA_RESTRICTION = "android.app.extra.RESTRICTION";