Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java31 assertThat(shadowOf(audioManager).getLastAudioFocusRequest()).isNull(); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall()
33 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().listener).isSameAs(listener); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall()
34 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().streamType).isEqualTo(999); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall()
35 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().durationHint).isEqualTo(888); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall()
36 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().audioFocusRequest).isNull(); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall()
53 assertThat(shadowOf(audioManager).getLastAudioFocusRequest()).isNull(); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()
62 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().listener).isNull(); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()
63 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().streamType).isEqualTo(-1); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()
64 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().durationHint).isEqualTo(-1); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()
65 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().audioFocusRequest) in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java252 public AudioFocusRequest getLastAudioFocusRequest() { in getLastAudioFocusRequest() method in ShadowAudioManager