Searched refs:USAGE_TO_CONTEXT (Results 1 – 2 of 2) sorted by relevance
50 static final SparseIntArray USAGE_TO_CONTEXT = new SparseIntArray(); field in CarAudioDynamicRouting68 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_UNKNOWN, ContextNumber.MUSIC); in USAGE_TO_CONTEXT.put()69 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_MEDIA, ContextNumber.MUSIC); in USAGE_TO_CONTEXT.put()70 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_VOICE_COMMUNICATION, ContextNumber.CALL); in USAGE_TO_CONTEXT.put()71 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_VOICE_COMMUNICATION_SIGNALLING, in USAGE_TO_CONTEXT.put()73 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_ALARM, ContextNumber.ALARM); in USAGE_TO_CONTEXT.put()74 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_NOTIFICATION, ContextNumber.NOTIFICATION); in USAGE_TO_CONTEXT.put()75 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_NOTIFICATION_RINGTONE, ContextNumber.CALL_RING); in USAGE_TO_CONTEXT.put()76 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_REQUEST, in USAGE_TO_CONTEXT.put()78 USAGE_TO_CONTEXT.put(AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_INSTANT, in USAGE_TO_CONTEXT.put()[all …]
521 return CarAudioDynamicRouting.USAGE_TO_CONTEXT.get(audioUsage); in getContextForUsage()752 for (int i = 0; i < CarAudioDynamicRouting.USAGE_TO_CONTEXT.size(); i++) { in getUsagesForVolumeGroupId()753 if (contexts.contains(CarAudioDynamicRouting.USAGE_TO_CONTEXT.valueAt(i))) { in getUsagesForVolumeGroupId()754 usages.add(CarAudioDynamicRouting.USAGE_TO_CONTEXT.keyAt(i)); in getUsagesForVolumeGroupId()