Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java931 final SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in checkRestrictionLocked() local
932 if (usageRestrictions != null) { in checkRestrictionLocked()
933 final Restriction r = usageRestrictions.get(usage); in checkRestrictionLocked()
947 SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in setAudioRestriction() local
948 if (usageRestrictions == null) { in setAudioRestriction()
949 usageRestrictions = new SparseArray<Restriction>(); in setAudioRestriction()
950 mAudioRestrictions.put(code, usageRestrictions); in setAudioRestriction()
952 usageRestrictions.remove(usage); in setAudioRestriction()
966 usageRestrictions.put(usage, r); in setAudioRestriction()