Home
last modified time | relevance | path

Searched refs:mAudioFocusListener (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DCarAudioZoneInputFragment.java69 private InputAudioFocusListener mAudioFocusListener; field in CarAudioZoneInputFragment
152 mAudioFocusListener = new InputAudioFocusListener(); in playAudio()
156 .setOnAudioFocusChangeListener(mAudioFocusListener) in playAudio()
177 mAudioFocusListener = null; in playAudio()
238 mAudioFocusListener = null; in stopAudioLocked()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java234 mAudioManager.abandonAudioFocus(mAudioFocusListener); in stopPlayback()
268 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in showPostPrepareUI()
277 private OnAudioFocusChangeListener mAudioFocusListener = new OnAudioFocusChangeListener() { field in AudioPreview
309 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in start()
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt208 mAudioManager.abandonAudioFocus(mAudioFocusListener) in stopPlayback()
241 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in showPostPrepareUI()
248 …private val mAudioFocusListener: OnAudioFocusChangeListener = object : OnAudioFocusChangeListener { constant in com.android.music.AudioPreview
275 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in start()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java104 private OnAudioFocusChangeListener mAudioFocusListener = new OnAudioFocusChangeListener() { field in A2dpSinkStreamHandler
275 .setOnAudioFocusChangeListener(mAudioFocusListener, this) in requestAudioFocus()
326 mAudioManager.abandonAudioFocus(mAudioFocusListener); in abandonAudioFocus()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java159 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in requestAudioFocus()
190 mAudioManager.abandonAudioFocus(mAudioFocusListener); in onPause()
196 mAudioManager.abandonAudioFocus(mAudioFocusListener); in destroy()
615 private OnAudioFocusChangeListener mAudioFocusListener = new OnAudioFocusChangeListener() { field in Player