Searched refs:durationHint (Results 1 – 3 of 3) sorted by relevance
84 android.media.AudioManager.OnAudioFocusChangeListener l, int streamType, int durationHint) { in requestAudioFocus() argument85 lastAudioFocusRequest = new AudioFocusRequest(l, streamType, durationHint); in requestAudioFocus()271 public final int durationHint; field in ShadowAudioManager.AudioFocusRequest274 …oFocusRequest(AudioManager.OnAudioFocusChangeListener listener, int streamType, int durationHint) { in AudioFocusRequest() argument277 this.durationHint = durationHint; in AudioFocusRequest()283 this.streamType = this.durationHint = -1; in AudioFocusRequest()
35 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().durationHint).isEqualTo(888); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall()64 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().durationHint).isEqualTo(-1); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()
92 assertThat(request.durationHint).isEqualTo(AudioManager.AUDIOFOCUS_GAIN); in setAudioAttributes_withNullUsage_abandonsAudioFocus()461 : audioFocusRequest.durationHint; in getAudioFocusGainFromRequest()