Home
last modified time | relevance | path

Searched refs:durationHint (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java84 android.media.AudioManager.OnAudioFocusChangeListener l, int streamType, int durationHint) { in requestAudioFocus() argument
85 lastAudioFocusRequest = new AudioFocusRequest(l, streamType, durationHint); in requestAudioFocus()
271 public final int durationHint; field in ShadowAudioManager.AudioFocusRequest
274 …oFocusRequest(AudioManager.OnAudioFocusChangeListener listener, int streamType, int durationHint) { in AudioFocusRequest() argument
277 this.durationHint = durationHint; in AudioFocusRequest()
283 this.streamType = this.durationHint = -1; in AudioFocusRequest()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java35 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().durationHint).isEqualTo(888); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall()
64 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().durationHint).isEqualTo(-1); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()