Searched refs:exceptionPackages (Results 1 – 4 of 4) sorted by relevance
604 if (r != null && !r.exceptionPackages.contains(packageName)) { in checkRestrictionLocked()613 String[] exceptionPackages) { in setAudioRestriction() argument626 if (exceptionPackages != null) { in setAudioRestriction()627 final int N = exceptionPackages.length; in setAudioRestriction()628 r.exceptionPackages = new ArraySet<String>(N); in setAudioRestriction()630 final String pkg = exceptionPackages[i]; in setAudioRestriction()632 r.exceptionPackages.add(pkg.trim()); in setAudioRestriction()1220 if (!r.exceptionPackages.isEmpty()) { in dump()1222 for (int j=0; j<r.exceptionPackages.size(); j++) { in dump()1223 pw.print(" "); pw.println(r.exceptionPackages.valueAt(j)); in dump()[all …]
41 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages); in setAudioRestriction() argument
263 final String[] exceptionPackages = null; // none (for now) in applyRestrictions() local266 exceptionPackages); in applyRestrictions()269 exceptionPackages); in applyRestrictions()
1001 String[] exceptionPackages) { in setRestriction() argument1004 mService.setAudioRestriction(code, usage, uid, mode, exceptionPackages); in setRestriction()