Searched refs:AUDIOFOCUS_GAIN (Results 1 – 6 of 6) sorted by relevance
144 focusGain == C.AUDIOFOCUS_GAIN || focusGain == C.AUDIOFOCUS_NONE, in setAudioAttributes()182 return playbackState == Player.STATE_IDLE || focusGain != C.AUDIOFOCUS_GAIN; in shouldAbandonAudioFocus()282 return C.AUDIOFOCUS_GAIN; in convertAudioAttributesToFocusGain()291 return C.AUDIOFOCUS_GAIN; in convertAudioAttributesToFocusGain()355 case AudioManager.AUDIOFOCUS_GAIN: in handlePlatformAudioFocusChange()
92 assertThat(request.durationHint).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in setAudioAttributes_withNullUsage_abandonsAudioFocus()115 assertThat(getAudioFocusGainFromRequest(request)).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()151 assertThat(getAudioFocusGainFromRequest(request)).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in setAudioAttributes_withUsageMedia_usesAudioFocusGain()164 assertThat(getAudioFocusGainFromRequest(request)).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in setAudioAttributes_inEndedState_requestsAudioFocus()181 assertThat(getAudioFocusGainFromRequest(request)).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady()200 assertThat(getAudioFocusGainFromRequest(request)).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in updateAudioFocus_pausedToPlaying_setsPlayerCommandPlayWhenReady()380 audioFocusManager.getFocusListener().onAudioFocusChange(AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange_withDuckEnabled_reducesAndRestoresVolume()404 audioFocusManager.getFocusListener().onAudioFocusChange(AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange_withPausedWhenDucked_sendsCommandWaitForCallback()
57 new android.media.AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN) in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()74 new android.media.AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN).build()); in requestAudioFocus2_shouldReturnTheSpecifiedValue()81 new android.media.AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN).build()); in requestAudioFocus2_shouldReturnTheSpecifiedValue()98 new android.media.AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN).build(); in abandonAudioFocusRequest_shouldRecordTheListenerOfTheMostRecentCall()
477 AUDIOFOCUS_GAIN,486 public static final int AUDIOFOCUS_GAIN = AudioManager.AUDIOFOCUS_GAIN; field in C
46 } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in AudioManagerFacade()
228 case AudioManager.AUDIOFOCUS_GAIN: in start()