Searched refs:exceptionPackages (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AudioRestrictionManager.java | 67 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 …]
|
D | AppOpsService.java | 2917 String[] exceptionPackages) { in setAudioRestriction() argument 2923 code, usage, uid, mode, exceptionPackages); in setAudioRestriction() 5667 String[] exceptionPackages) { in setUserRestriction() argument 5683 setUserRestrictionNoCheck(code, restricted, token, userHandle, exceptionPackages); in setUserRestriction() 5687 int userHandle, String[] exceptionPackages) { in setUserRestrictionNoCheck() argument 5700 if (restrictionState.setRestriction(code, restricted, exceptionPackages, userHandle)) { in setUserRestrictionNoCheck()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 87 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages); in setAudioRestriction() argument 90 …iction(int code, boolean restricted, IBinder token, int userHandle, in String[] exceptionPackages); in setUserRestriction() argument
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 6685 String[] exceptionPackages) { in setUserRestriction() argument 6686 setUserRestrictionForUser(code, restricted, token, exceptionPackages, mContext.getUserId()); in setUserRestriction() 6691 String[] exceptionPackages, int userId) { in setUserRestrictionForUser() argument 6693 mService.setUserRestriction(code, restricted, token, userId, exceptionPackages); in setUserRestrictionForUser() 6748 String[] exceptionPackages) { in setRestriction() argument 6751 mService.setAudioRestriction(code, usage, uid, mode, exceptionPackages); in setRestriction()
|