Searched refs:mAudioFocusRequest (Results 1 – 6 of 6) sorted by relevance
46 private @Nullable final AudioFocusEntry mAudioFocusRequest; field in OemCarAudioFocusEvaluationRequest59 mAudioFocusRequest = (flg & Builder.FOCUS_REQUEST_FIELDS_SET) == 0 in OemCarAudioFocusEvaluationRequest()101 if (mAudioFocusRequest != null) { in writeToParcel()105 if (mAudioFocusRequest != null) { in writeToParcel()106 mAudioFocusRequest.writeToParcel(dest, flags); in writeToParcel()130 return mAudioFocusRequest; in getAudioFocusRequest()175 return safeEquals(mAudioFocusRequest, that.mAudioFocusRequest) in equals()190 int hash = Objects.hash(mAudioFocusRequest, mFocusHolders, mFocusLosers, mMutedVolumeGroups, in hashCode()209 mAudioFocusRequest = audioFocusEntry; in OemCarAudioFocusEvaluationRequest()226 + mAudioZoneId + ", audioFocusInfo = " + mAudioFocusRequest in toString()[all …]
71 private AudioFocusRequest mAudioFocusRequest; field in CarAudioZoneInputFragment156 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in playAudio()161 mAudioFocusRequest = new AudioFocusRequest in playAudio()170 int audioFocusRequestResults = mAudioManager.requestAudioFocus(mAudioFocusRequest); in playAudio()184 mAudioFocusRequest = null; in playAudio()194 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in stopAudio()245 mAudioFocusRequest = null; in stopAudioLocked()
78 private AudioFocusRequest mAudioFocusRequest = null; field in RemotePreviewSession428 if (mAudioFocusRequest == null) return; in abandonAudioFocusIfAny()430 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in abandonAudioFocusIfAny()431 mAudioFocusRequest = null; in abandonAudioFocusIfAny()438 mAudioFocusRequest = new AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT) in requestAudioFocus()453 return mAudioManager.requestAudioFocus(mAudioFocusRequest); in requestAudioFocus()
270 int result = mAudioManager.abandonAudioFocusRequest(currentRequest.mAudioFocusRequest); in abandonAudioFocusLocked()372 final AudioFocusRequest mAudioFocusRequest; field in HalAudioFocusRequest377 mAudioFocusRequest = audioFocusRequest; in HalAudioFocusRequest()387 .append(mAudioFocusRequest.getAudioAttributes()) in toString()389 .append(mAudioFocusRequest.getFocusGain()) in toString()
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()
189 private AudioFocusRequest mAudioFocusRequest; field in HeadsetClientStateMachine1011 if (mAudioFocusRequest == null) return; in returnAudioFocusIfNecessary()1012 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in returnAudioFocusIfNecessary()1013 mAudioFocusRequest = null; in returnAudioFocusIfNecessary()1938 mAudioFocusRequest = requestAudioFocus(); in processAudioEvent()