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.java133 /*package*/ void setForceUse_Async(int useCase, int config, String eventSource) { in setForceUse_Async() argument
135 useCase, config, eventSource); in setForceUse_Async()
605 private void onSetForceUse(int useCase, int config, String eventSource) { in onSetForceUse() argument
606 if (useCase == AudioSystem.FOR_MEDIA) { in onSetForceUse()
610 new AudioServiceEvents.ForceUseEvent(useCase, config, eventSource)); in onSetForceUse()
611 AudioSystem.setForceUse(useCase, config); in onSetForceUse()
DAudioService.java5402 final int useCase = msg.arg1; in handleMessage() local
5404 if (useCase == AudioSystem.FOR_MEDIA) { in handleMessage()
5410 new AudioServiceEvents.ForceUseEvent(useCase, config, eventSource)); in handleMessage()
5411 AudioSystem.setForceUse(useCase, config); in handleMessage()