Home
last modified time | relevance | path

Searched refs:PLAYER_COMMAND_PLAY_WHEN_READY (Results 1 – 3 of 3) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DAudioFocusManagerTest.java19 import static com.google.android.exoplayer2.AudioFocusManager.PLAYER_COMMAND_PLAY_WHEN_READY;
75 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in setAudioAttributes_withNullUsage_doesNotManageAudioFocus()
89 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in setAudioAttributes_withNullUsage_abandonsAudioFocus()
98 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in setAudioAttributes_withNullUsage_abandonsAudioFocus()
112 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()
120 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26()
148 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in setAudioAttributes_withUsageMedia_usesAudioFocusGain()
161 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in setAudioAttributes_inEndedState_requestsAudioFocus()
174 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady()
178 .isEqualTo(PLAYER_COMMAND_PLAY_WHEN_READY); in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAudioFocusManager.java64 PLAYER_COMMAND_PLAY_WHEN_READY,
72 public static final int PLAYER_COMMAND_PLAY_WHEN_READY = 1; field in AudioFocusManager
160 return playWhenReady ? PLAYER_COMMAND_PLAY_WHEN_READY : PLAYER_COMMAND_DO_NOT_PLAY; in updateAudioFocus()
188 return PLAYER_COMMAND_PLAY_WHEN_READY; in requestAudioFocus()
193 return PLAYER_COMMAND_PLAY_WHEN_READY; in requestAudioFocus()
357 executePlayerCommand(PLAYER_COMMAND_PLAY_WHEN_READY); in handlePlatformAudioFocusChange()
DSimpleExoPlayer.java1945 playWhenReady && playerCommand != AudioFocusManager.PLAYER_COMMAND_PLAY_WHEN_READY in updatePlayWhenReady()
1988 return playWhenReady && playerCommand != AudioFocusManager.PLAYER_COMMAND_PLAY_WHEN_READY in getPlayWhenReadyChangeReason()