Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAudioFocusManager.java36 /* package */ final class AudioFocusManager { class
117 public AudioFocusManager(Context context, Handler eventHandler, PlayerControl playerControl) { in AudioFocusManager() method in AudioFocusManager
342 ? AudioFocusManager.VOLUME_MULTIPLIER_DUCK in setAudioFocusState()
343 : AudioFocusManager.VOLUME_MULTIPLIER_DEFAULT; in setAudioFocusState()
DSimpleExoPlayer.java357 private final AudioFocusManager audioFocusManager;
482 audioFocusManager = new AudioFocusManager(context, eventHandler, componentListener); in SimpleExoPlayer()
720 @AudioFocusManager.PlayerCommand in setAudioAttributes()
1265 @AudioFocusManager.PlayerCommand in prepare()
1470 @AudioFocusManager.PlayerCommand in setPlayWhenReady()
1940 @AudioFocusManager.PlayerCommand int playerCommand, in updatePlayWhenReady()
1942 playWhenReady = playWhenReady && playerCommand != AudioFocusManager.PLAYER_COMMAND_DO_NOT_PLAY; in updatePlayWhenReady()
1945 playWhenReady && playerCommand != AudioFocusManager.PLAYER_COMMAND_PLAY_WHEN_READY in updatePlayWhenReady()
1988 return playWhenReady && playerCommand != AudioFocusManager.PLAYER_COMMAND_PLAY_WHEN_READY in getPlayWhenReadyChangeReason()
2000 AudioFocusManager.PlayerControl,
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DAudioFocusManagerTest.java18 import static com.google.android.exoplayer2.AudioFocusManager.PLAYER_COMMAND_DO_NOT_PLAY;
19 import static com.google.android.exoplayer2.AudioFocusManager.PLAYER_COMMAND_PLAY_WHEN_READY;
20 import static com.google.android.exoplayer2.AudioFocusManager.PLAYER_COMMAND_WAIT_FOR_CALLBACK;
49 private AudioFocusManager audioFocusManager;
62 new AudioFocusManager( in setUp()
464 private static class TestPlayerControl implements AudioFocusManager.PlayerControl {