Searched refs:durationHint (Results 1 – 2 of 2) 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()