Searched refs:focusRequest (Results 1 – 6 of 6) sorted by relevance
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ConnectionServiceFocusManager.java | 387 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.d(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/ |
D | AudioPlayer.java | 110 public void start(boolean handleFocus, boolean repeat, int focusRequest) { in start() argument 112 start(handleFocus, repeat, focusRequest, nullDeviceAddress); in start() 122 public void start(boolean handleFocus, boolean repeat, int focusRequest, in start() argument 134 focusRequest, 0); in start() 144 public void start(boolean handleFocus, boolean repeat, int focusRequest, in start() argument 147 start(handleFocus, repeat, focusRequest); in start()
|
D | AudioTestFragment.java | 607 int focusRequest; in FocusHandler() 610 focusRequest = AudioManager.AUDIOFOCUS_GAIN; in FocusHandler() 613 focusRequest = AudioManager.AUDIOFOCUS_GAIN_TRANSIENT; in FocusHandler() 616 focusRequest = AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; in FocusHandler() 619 focusRequest = AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE; in FocusHandler() 626 mFocusRequest = new AudioFocusRequest.Builder(focusRequest) in FocusHandler()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | Beeper.java | 207 AudioFocusRequest focusRequest = new AudioFocusRequest.Builder( in onPrepared() local 213 mAudiofocusRequestFailed = mAudioManager.requestAudioFocus(focusRequest); in onPrepared()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandler.java | 262 AudioFocusRequest focusRequest = in requestAudioFocus() local 267 int focusRequestStatus = mAudioManager.requestAudioFocus(focusRequest); in requestAudioFocus()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 770 AudioFocusRequest focusRequest = in requestAudioFocus() local 774 int focusRequestStatus = mAudioManager.requestAudioFocus(focusRequest); in requestAudioFocus() 780 return focusRequest; in requestAudioFocus()
|