Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DCarAudioService.java742 (mLastFocusRequestToCar.focusRequest == in doHandleCarFocusChange()
744 mLastFocusRequestToCar.focusRequest == in doHandleCarFocusChange()
746 mLastFocusRequestToCar.focusRequest == in doHandleCarFocusChange()
1277 int focusRequest = AudioHalService.VEHICLE_AUDIO_FOCUS_REQUEST_GAIN_TRANSIENT_NO_DUCK; in requestFocusForSystemSoundOnlyCaseLocked() local
1282 return sendFocusRequestToCarIfNecessaryLocked(focusRequest, streamsToRequest, extFocus, in requestFocusForSystemSoundOnlyCaseLocked()
1831 public final int focusRequest; field in CarAudioService.FocusRequest
1835 private FocusRequest(int focusRequest, int streams, int externalFocus) { in FocusRequest() argument
1836 this.focusRequest = focusRequest; in FocusRequest()
1850 return this.focusRequest == that.focusRequest && this.streams == that.streams && in equals()
1856 return "FocusRequest, request:" + focusRequest + in toString()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java98 public void start(boolean handleFocus, boolean repeat, int focusRequest) { in start() argument
105 focusRequest, 0); in start()
114 public void start(boolean handleFocus, boolean repeat, int focusRequest, in start() argument
117 start(handleFocus, repeat, focusRequest); in start()
DAudioTestFragment.java592 int focusRequest = AudioManager.AUDIOFOCUS_GAIN; in FocusHandler()
594 focusRequest = AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; in FocusHandler()
601 AudioManager.STREAM_MUSIC, focusRequest); in FocusHandler()