Home
last modified time | relevance | path

Searched refs:extFocus (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarAudioService.java447 int extFocus = AudioHalService.VEHICLE_AUDIO_EXT_FOCUS_NONE_FLAG; in reevaluateCarAudioFocusLocked() local
503 extFocus = 0; in reevaluateCarAudioFocusLocked()
507 extFocus = AudioHalService.VEHICLE_AUDIO_EXT_FOCUS_CAR_PLAY_ONLY_FLAG; in reevaluateCarAudioFocusLocked()
515 return sendFocusRequestToCarIfNecessaryLocked(focusToRequest, streamsToRequest, extFocus, in reevaluateCarAudioFocusLocked()
532 int streamsToRequest, int extFocus, int audioContexts) { in sendFocusRequestToCarIfNecessaryLocked() argument
533 if (needsToSendFocusRequestLocked(focusToRequest, streamsToRequest, extFocus, in sendFocusRequestToCarIfNecessaryLocked()
536 extFocus); in sendFocusRequestToCarIfNecessaryLocked()
542 mAudioHal.requestAudioFocusChange(focusToRequest, streamsToRequest, extFocus, in sendFocusRequestToCarIfNecessaryLocked()
555 int extFocus, int audioContexts) { in needsToSendFocusRequestLocked() argument
562 if ((extFocus & mCurrentFocusState.externalFocus) != extFocus) { in needsToSendFocusRequestLocked()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarAudioFocusTest.java518 public void sendAudioFocusState(int state, int streams, int extFocus) { in sendAudioFocusState() argument
522 mExtFocus = extFocus; in sendAudioFocusState()
524 int[] values = { state, streams, extFocus, 0 }; in sendAudioFocusState()
559 int state, streams, extFocus; in onPropertyGet() local
563 extFocus = mExtFocus; in onPropertyGet()
565 int[] values = { state, streams, extFocus, 0 }; in onPropertyGet()
/packages/services/Car/service/src/com/android/car/hal/
DAudioHalService.java248 public void requestAudioFocusChange(int request, int streams, int extFocus, int audioContexts) { in requestAudioFocusChange() argument
249 int[] payload = { request, streams, extFocus, audioContexts }; in requestAudioFocusChange()