Searched refs:exceptionPackages (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 70 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages); in setAudioRestriction() argument 73 …iction(int code, boolean restricted, IBinder token, int userHandle, in String[] exceptionPackages); in setUserRestriction() argument
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1878 if (r != null && !r.exceptionPackages.contains(packageName)) { in checkRestrictionLocked() 1887 String[] exceptionPackages) { in setAudioRestriction() argument 1901 if (exceptionPackages != null) { in setAudioRestriction() 1902 final int N = exceptionPackages.length; in setAudioRestriction() 1903 r.exceptionPackages = new ArraySet<String>(N); in setAudioRestriction() 1905 final String pkg = exceptionPackages[i]; in setAudioRestriction() 1907 r.exceptionPackages.add(pkg.trim()); in setAudioRestriction() 3948 if (!r.exceptionPackages.isEmpty()) { in dump() 3950 for (int j=0; j<r.exceptionPackages.size(); j++) { in dump() 3951 pw.print(" "); pw.println(r.exceptionPackages.valueAt(j)); in dump() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 4572 String[] exceptionPackages) { in setUserRestriction() argument 4573 setUserRestrictionForUser(code, restricted, token, exceptionPackages, mContext.getUserId()); in setUserRestriction() 4578 String[] exceptionPackages, int userId) { in setUserRestrictionForUser() argument 4580 mService.setUserRestriction(code, restricted, token, userId, exceptionPackages); in setUserRestrictionForUser() 4633 String[] exceptionPackages) { in setRestriction() argument 4636 mService.setAudioRestriction(code, usage, uid, mode, exceptionPackages); in setRestriction()
|