Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceBroker.java149 /*package*/ void setForceUse_Async(int useCase, int config, String eventSource) { in setForceUse_Async() argument
151 useCase, config, eventSource); in setForceUse_Async()
641 private void onSetForceUse(int useCase, int config, String eventSource) { in onSetForceUse() argument
642 if (useCase == AudioSystem.FOR_MEDIA) { in onSetForceUse()
646 new AudioServiceEvents.ForceUseEvent(useCase, config, eventSource)); in onSetForceUse()
647 AudioSystem.setForceUse(useCase, config); in onSetForceUse()
DAudioService.java5518 final int useCase = msg.arg1; in handleMessage() local
5520 if (useCase == AudioSystem.FOR_MEDIA) { in handleMessage()
5526 new AudioServiceEvents.ForceUseEvent(useCase, config, eventSource)); in handleMessage()
5527 AudioSystem.setForceUse(useCase, config); in handleMessage()