Searched refs:usageRestrictions (Results 1 – 1 of 1) sorted by relevance
931 final SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in checkRestrictionLocked() local932 if (usageRestrictions != null) { in checkRestrictionLocked()933 final Restriction r = usageRestrictions.get(usage); in checkRestrictionLocked()947 SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in setAudioRestriction() local948 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()