Home
last modified time | relevance | path

Searched refs:restricted (Results 1 – 2 of 2) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java337 private void setTestPackageRestricted(boolean restricted) throws Exception { in setTestPackageRestricted() argument
339 restricted ? AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED); in setTestPackageRestricted()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java1969 private void restoreRestrictBackgroundPolicyTo(boolean restricted) throws Exception { in restoreRestrictBackgroundPolicyTo() argument
1971 restricted ? RESTRICT_BACKGROUND_ON_CMD : RESTRICT_BACKGROUND_OFF_CMD); in restoreRestrictBackgroundPolicyTo()