Searched refs:getLastAbandonedAudioFocusListener (Results 1 – 3 of 3) sorted by relevance
100 Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusListener(); in setAudioAttributes_withNullUsage_abandonsAudioFocus()277 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusListener()).isNull(); in updateAudioFocus_readyToIdle_abandonsAudioFocus()283 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusListener()) in updateAudioFocus_readyToIdle_abandonsAudioFocus()315 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusListener()).isNull(); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp()322 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusListener()).isNull(); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp()431 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusListener()).isNull(); in onAudioFocusChange_withFocusLoss_sendsDoNotPlayAndAbandonsFocus()437 assertThat(Shadows.shadowOf(audioManager).getLastAbandonedAudioFocusListener()) in onAudioFocusChange_withFocusLoss_sendsDoNotPlayAndAbandonsFocus()
88 assertThat(shadowOf(audioManager).getLastAbandonedAudioFocusListener()).isNull(); in abandonAudioFocus_shouldRecordTheListenerOfTheMostRecentCall()91 …assertThat(shadowOf(audioManager).getLastAbandonedAudioFocusListener()).isSameInstanceAs(listener); in abandonAudioFocus_shouldRecordTheListenerOfTheMostRecentCall()
260 public AudioManager.OnAudioFocusChangeListener getLastAbandonedAudioFocusListener() { in getLastAbandonedAudioFocusListener() method in ShadowAudioManager