Searched refs:restricted (Results 1 – 2 of 2) sorted by relevance
337 private void setTestPackageRestricted(boolean restricted) throws Exception { in setTestPackageRestricted() argument339 restricted ? AppOpsManager.MODE_IGNORED : AppOpsManager.MODE_ALLOWED); in setTestPackageRestricted()
1969 private void restoreRestrictBackgroundPolicyTo(boolean restricted) throws Exception { in restoreRestrictBackgroundPolicyTo() argument1971 restricted ? RESTRICT_BACKGROUND_ON_CMD : RESTRICT_BACKGROUND_OFF_CMD); in restoreRestrictBackgroundPolicyTo()