Searched refs:PLAYER_COMMAND_DO_NOT_PLAY (Results 1 – 3 of 3) sorted by relevance
62 PLAYER_COMMAND_DO_NOT_PLAY,68 public static final int PLAYER_COMMAND_DO_NOT_PLAY = -1; field in AudioFocusManager160 return playWhenReady ? PLAYER_COMMAND_PLAY_WHEN_READY : PLAYER_COMMAND_DO_NOT_PLAY; in updateAudioFocus()162 return playWhenReady ? requestAudioFocus() : PLAYER_COMMAND_DO_NOT_PLAY; in updateAudioFocus()196 return PLAYER_COMMAND_DO_NOT_PLAY; in requestAudioFocus()360 executePlayerCommand(PLAYER_COMMAND_DO_NOT_PLAY); in handlePlatformAudioFocusChange()
1942 playWhenReady = playWhenReady && playerCommand != AudioFocusManager.PLAYER_COMMAND_DO_NOT_PLAY; in updatePlayWhenReady()2231 AudioFocusManager.PLAYER_COMMAND_DO_NOT_PLAY, in onAudioBecomingNoisy()
18 import static com.google.android.exoplayer2.AudioFocusManager.PLAYER_COMMAND_DO_NOT_PLAY;73 .isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in setAudioAttributes_withNullUsage_doesNotManageAudioFocus()192 .isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in updateAudioFocus_pausedToPlaying_setsPlayerCommandPlayWhenReady()314 .isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp()321 .isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp()333 .isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp_v26()340 .isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in updateAudioFocus_readyToIdle_withoutFocus_isNoOp_v26()436 assertThat(testPlayerControl.lastPlayerCommand).isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in onAudioFocusChange_withFocusLoss_sendsDoNotPlayAndAbandonsFocus()453 assertThat(testPlayerControl.lastPlayerCommand).isEqualTo(PLAYER_COMMAND_DO_NOT_PLAY); in onAudioFocusChange_withFocusLoss_sendsDoNotPlayAndAbandonsFocus_v26()