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 | 1935 if (r != null && !r.exceptionPackages.contains(packageName)) { in checkRestrictionLocked() 1944 String[] exceptionPackages) { in setAudioRestriction() argument 1958 if (exceptionPackages != null) { in setAudioRestriction() 1959 final int N = exceptionPackages.length; in setAudioRestriction() 1960 r.exceptionPackages = new ArraySet<String>(N); in setAudioRestriction() 1962 final String pkg = exceptionPackages[i]; in setAudioRestriction() 1964 r.exceptionPackages.add(pkg.trim()); in setAudioRestriction() 4095 if (!r.exceptionPackages.isEmpty()) { in dump() 4097 for (int j=0; j<r.exceptionPackages.size(); j++) { in dump() 4098 pw.print(" "); pw.println(r.exceptionPackages.valueAt(j)); in dump() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 4626 String[] exceptionPackages) { in setUserRestriction() argument 4627 setUserRestrictionForUser(code, restricted, token, exceptionPackages, mContext.getUserId()); in setUserRestriction() 4632 String[] exceptionPackages, int userId) { in setUserRestrictionForUser() argument 4634 mService.setUserRestriction(code, restricted, token, userId, exceptionPackages); in setUserRestrictionForUser() 4688 String[] exceptionPackages) { in setRestriction() argument 4691 mService.setAudioRestriction(code, usage, uid, mode, exceptionPackages); in setRestriction()
|