Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceFocusManager.java387 private void onRequestFocusDone(FocusRequest focusRequest) { in onRequestFocusDone() argument
388 if (focusRequest.callback != null) { in onRequestFocusDone()
389 focusRequest.callback.onRequestFocusDone(focusRequest.call); in onRequestFocusDone()
393 private void handleRequestFocus(FocusRequest focusRequest) { in handleRequestFocus() argument
394 Log.i(this, "handleRequestFocus req = %s", focusRequest); in handleRequestFocus()
396 || mCurrentFocus.equals(focusRequest.call.getConnectionServiceWrapper())) { in handleRequestFocus()
397 updateConnectionServiceFocus(focusRequest.call.getConnectionServiceWrapper()); in handleRequestFocus()
399 onRequestFocusDone(focusRequest); in handleRequestFocus()
402 mCurrentFocusRequest = focusRequest; in handleRequestFocus()
408 focusRequest)); in handleRequestFocus()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java171 public void start(boolean handleFocus, boolean repeat, int focusRequest) { in start() argument
182 .Builder(focusRequest) in start()
206 public void start(boolean handleFocus, boolean repeat, int focusRequest, in start() argument
209 start(handleFocus, repeat, focusRequest); in start()
DAudioTestFragment.java834 int focusRequest; in FocusHandler()
837 focusRequest = AUDIOFOCUS_GAIN; in FocusHandler()
840 focusRequest = AUDIOFOCUS_GAIN_TRANSIENT; in FocusHandler()
843 focusRequest = AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; in FocusHandler()
846 focusRequest = AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE; in FocusHandler()
853 mFocusRequest = new AudioFocusRequest.Builder(focusRequest) in FocusHandler()
/packages/apps/Car/Notification/src/com/android/car/notification/
DBeeper.java204 AudioFocusRequest focusRequest = new AudioFocusRequest.Builder( in onPrepared() local
210 mAudiofocusRequestFailed = mAudioManager.requestAudioFocus(focusRequest); in onPrepared()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java272 AudioFocusRequest focusRequest = in requestAudioFocus() local
277 int focusRequestStatus = mAudioManager.requestAudioFocus(focusRequest); in requestAudioFocus()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java832 AudioFocusRequest focusRequest = in requestAudioFocus() local
836 int focusRequestStatus = mAudioManager.requestAudioFocus(focusRequest); in requestAudioFocus()
840 return focusRequest; in requestAudioFocus()