Searched refs:getLastAbandonedAudioFocusRequest (Results 1 – 3 of 3) sorted by relevance
122 Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusRequest(); in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()296 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusRequest()).isNull(); in updateAudioFocus_readyToIdle_abandonsAudioFocus_v26()302 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusRequest()) in updateAudioFocus_readyToIdle_abandonsAudioFocus_v26()334 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusRequest()).isNull(); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp_v26()341 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusRequest()).isNull(); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp_v26()450 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusRequest()).isNull(); in onAudioFocusChange_withFocusLoss_sendsDoNotPlayAndAbandonsFocus_v26()454 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusRequest()) in onAudioFocusChange_withFocusLoss_sendsDoNotPlayAndAbandonsFocus_v26()
264 public android.media.AudioFocusRequest getLastAbandonedAudioFocusRequest() { in getLastAbandonedAudioFocusRequest() method in ShadowAudioManager
100 … assertThat(shadowOf(audioManager).getLastAbandonedAudioFocusRequest()).isSameInstanceAs(request); in abandonAudioFocusRequest_shouldRecordTheListenerOfTheMostRecentCall()