Home
last modified time | relevance | path

Searched refs:exceptionPackages (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAudioRestrictionManager.java67 ArraySet<String> exceptionPackages = NO_EXCEPTIONS; field in AudioRestrictionManager.Restriction
98 if (r != null && !r.exceptionPackages.contains(packageName)) { in checkZenModeRestrictionLocked()
106 String[] exceptionPackages) { in setZenModeAudioRestriction() argument
117 if (exceptionPackages != null) { in setZenModeAudioRestriction()
118 final int N = exceptionPackages.length; in setZenModeAudioRestriction()
119 r.exceptionPackages = new ArraySet<String>(N); in setZenModeAudioRestriction()
121 final String pkg = exceptionPackages[i]; in setZenModeAudioRestriction()
123 r.exceptionPackages.add(pkg.trim()); in setZenModeAudioRestriction()
167 if (!r.exceptionPackages.isEmpty()) { in dump()
169 for (int j = 0; j < r.exceptionPackages.size(); j++) { in dump()
[all …]
DAppOpsService.java3278 String[] exceptionPackages) { in setAudioRestriction() argument
3284 code, usage, uid, mode, exceptionPackages); in setAudioRestriction()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl96 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages); in setAudioRestriction() argument
/frameworks/base/core/java/android/app/
DAppOpsManager.java7622 String[] exceptionPackages) { in setRestriction() argument
7625 mService.setAudioRestriction(code, usage, uid, mode, exceptionPackages); in setRestriction()