Searched refs:AudioFocusRequest (Results 1 – 4 of 4) sorted by relevance
38 private AudioFocusRequest lastAudioFocusRequest;41 private android.media.AudioFocusRequest lastAbandonedAudioFocusRequest;85 lastAudioFocusRequest = new AudioFocusRequest(l, streamType, durationHint); in requestAudioFocus()94 protected int requestAudioFocus(android.media.AudioFocusRequest audioFocusRequest) { in requestAudioFocus()95 lastAudioFocusRequest = new AudioFocusRequest(audioFocusRequest); in requestAudioFocus()111 protected int abandonAudioFocusRequest(android.media.AudioFocusRequest audioFocusRequest) { in abandonAudioFocusRequest()252 public AudioFocusRequest getLastAudioFocusRequest() { in getLastAudioFocusRequest()264 public android.media.AudioFocusRequest getLastAbandonedAudioFocusRequest() { in getLastAbandonedAudioFocusRequest()268 public static class AudioFocusRequest { class in ShadowAudioManager272 public final android.media.AudioFocusRequest audioFocusRequest;[all …]
27 import android.media.AudioFocusRequest;76 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withNullUsage_doesNotManageAudioFocus()90 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withNullUsage_abandonsAudioFocus()113 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()121 AudioFocusRequest lastRequest = in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()149 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_withUsageMedia_usesAudioFocusGain()162 ShadowAudioManager.AudioFocusRequest request = in setAudioAttributes_inEndedState_requestsAudioFocus()179 ShadowAudioManager.AudioFocusRequest request = in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady()198 ShadowAudioManager.AudioFocusRequest request = in updateAudioFocus_pausedToPlaying_setsPlayerCommandPlayWhenReady()279 ShadowAudioManager.AudioFocusRequest request = in updateAudioFocus_readyToIdle_abandonsAudioFocus()[all …]
19 import android.media.AudioFocusRequest;107 private @MonotonicNonNull AudioFocusRequest audioFocusRequest;222 AudioFocusRequest.Builder builder = in requestAudioFocusV26()224 ? new AudioFocusRequest.Builder(focusGain) in requestAudioFocusV26()225 : new AudioFocusRequest.Builder(audioFocusRequest); in requestAudioFocusV26()
56 android.media.AudioFocusRequest request = in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()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()97 android.media.AudioFocusRequest request = in abandonAudioFocusRequest_shouldRecordTheListenerOfTheMostRecentCall()98 new android.media.AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN).build(); in abandonAudioFocusRequest_shouldRecordTheListenerOfTheMostRecentCall()