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.java221 (mLastFocusRequestToCar.focusRequest == in doHandleCarFocusChange()
223 mLastFocusRequestToCar.focusRequest == in doHandleCarFocusChange()
225 mLastFocusRequestToCar.focusRequest == in doHandleCarFocusChange()
900 public final int focusRequest; field in CarAudioService.FocusRequest
904 private FocusRequest(int focusRequest, int streams, int externalFocus) { in FocusRequest() argument
905 this.focusRequest = focusRequest; in FocusRequest()
919 return this.focusRequest == that.focusRequest && this.streams == that.streams && in equals()
925 return "FocusRequest, request:" + focusRequest + in toString()
930 public static FocusRequest create(int focusRequest, int streams, int externalFocus) { in create() argument
931 switch (focusRequest) { in create()
[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.java558 int focusRequest = AudioManager.AUDIOFOCUS_GAIN; in FocusHandler()
560 focusRequest = AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; in FocusHandler()
567 AudioManager.STREAM_MUSIC, focusRequest); in FocusHandler()