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.java1474 final SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in checkRestrictionLocked() local
1475 if (usageRestrictions != null) { in checkRestrictionLocked()
1476 final Restriction r = usageRestrictions.get(usage); in checkRestrictionLocked()
1491 SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in setAudioRestriction() local
1492 if (usageRestrictions == null) { in setAudioRestriction()
1493 usageRestrictions = new SparseArray<Restriction>(); in setAudioRestriction()
1494 mAudioRestrictions.put(code, usageRestrictions); in setAudioRestriction()
1496 usageRestrictions.remove(usage); in setAudioRestriction()
1510 usageRestrictions.put(usage, r); in setAudioRestriction()