Searched refs:mAudioFocusRequest (Results 1 – 5 of 5) sorted by relevance
67 private AudioFocusRequest mAudioFocusRequest; field in CarAudioZoneInputFragment148 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in playAudio()153 mAudioFocusRequest = new AudioFocusRequest in playAudio()162 int audioFocusRequestResults = mAudioManager.requestAudioFocus(mAudioFocusRequest); in playAudio()176 mAudioFocusRequest = null; in playAudio()186 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in stopAudio()237 mAudioFocusRequest = null; in stopAudioLocked()
79 private final AudioFocusRequest mAudioFocusRequest; field in TextToSpeechHelper115 mAudioFocusRequest = new AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT) in TextToSpeechHelper()165 int result = mAudioManager.requestAudioFocus(mAudioFocusRequest); in requestPlay()196 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in onTtsStopped()
206 int result = mAudioManager.abandonAudioFocusRequest(currentRequest.mAudioFocusRequest); in abandonAudioFocusLocked()284 final AudioFocusRequest mAudioFocusRequest; field in HalAudioFocusRequest289 mAudioFocusRequest = audioFocusRequest; in HalAudioFocusRequest()
70 private final AudioFocusRequest mAudioFocusRequest; field in TmaPlayer91 mAudioFocusRequest = new AudioFocusRequest.Builder(AUDIOFOCUS_GAIN).build(); in TmaPlayer()264 return mAudioManager.requestAudioFocus(mAudioFocusRequest) == AUDIOFOCUS_REQUEST_GRANTED; in audioFocusGranted()
187 private AudioFocusRequest mAudioFocusRequest; field in HeadsetClientStateMachine854 if (mAudioFocusRequest == null) return; in returnAudioFocusIfNecessary()855 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in returnAudioFocusIfNecessary()856 mAudioFocusRequest = null; in returnAudioFocusIfNecessary()1625 mAudioFocusRequest = requestAudioFocus(); in processAudioEvent()