Searched refs:usageRestrictions (Results 1 – 1 of 1) sorted by relevance
1932 final SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in checkRestrictionLocked() local1933 if (usageRestrictions != null) { in checkRestrictionLocked()1934 final Restriction r = usageRestrictions.get(usage); in checkRestrictionLocked()1949 SparseArray<Restriction> usageRestrictions = mAudioRestrictions.get(code); in setAudioRestriction() local1950 if (usageRestrictions == null) { in setAudioRestriction()1951 usageRestrictions = new SparseArray<Restriction>(); in setAudioRestriction()1952 mAudioRestrictions.put(code, usageRestrictions); in setAudioRestriction()1954 usageRestrictions.remove(usage); in setAudioRestriction()1968 usageRestrictions.put(usage, r); in setAudioRestriction()