/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | AudioFocusManager.java | 101 @Nullable private AudioAttributes audioAttributes; field in AudioFocusManager 139 public void setAudioAttributes(@Nullable AudioAttributes audioAttributes) { in setAudioAttributes() argument 140 if (!Util.areEqual(this.audioAttributes, audioAttributes)) { in setAudioAttributes() 141 this.audioAttributes = audioAttributes; in setAudioAttributes() 142 focusGain = convertAudioAttributesToFocusGain(audioAttributes); in setAudioAttributes() 215 Util.getStreamTypeForAudioUsage(Assertions.checkNotNull(audioAttributes).usage), in requestAudioFocusDefault() 230 .setAudioAttributes(Assertions.checkNotNull(audioAttributes).getAudioAttributesV21()) in requestAudioFocusV26() 252 return audioAttributes != null && audioAttributes.contentType == C.CONTENT_TYPE_SPEECH; in willPauseWhenDucked() 264 private static int convertAudioAttributesToFocusGain(@Nullable AudioAttributes audioAttributes) { in convertAudioAttributesToFocusGain() argument 265 if (audioAttributes == null) { in convertAudioAttributesToFocusGain() [all …]
|
D | SimpleExoPlayer.java | 376 private AudioAttributes audioAttributes; field in SimpleExoPlayer 455 audioAttributes = AudioAttributes.DEFAULT; in SimpleExoPlayer() 691 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes() argument 692 setAudioAttributes(audioAttributes, /* handleAudioFocus= */ false); in setAudioAttributes() 696 public void setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus) { in setAudioAttributes() argument 701 if (!Util.areEqual(this.audioAttributes, audioAttributes)) { in setAudioAttributes() 702 this.audioAttributes = audioAttributes; in setAudioAttributes() 708 .setPayload(audioAttributes) in setAudioAttributes() 712 streamVolumeManager.setStreamType(Util.getStreamTypeForAudioUsage(audioAttributes.usage)); in setAudioAttributes() 714 audioListener.onAudioAttributesChanged(audioAttributes); in setAudioAttributes() [all …]
|
D | Player.java | 102 void setAudioAttributes(AudioAttributes audioAttributes); in setAudioAttributes() argument 125 void setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus); in setAudioAttributes() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | DefaultAudioSink.java | 276 private AudioAttributes audioAttributes; field in DefaultAudioSink 375 audioAttributes = AudioAttributes.DEFAULT; in DefaultAudioSink() 537 .buildAudioTrack(tunneling, audioAttributes, audioSessionId); in initialize() 899 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes() argument 900 if (this.audioAttributes.equals(audioAttributes)) { in setAudioAttributes() 903 this.audioAttributes = audioAttributes; in setAudioAttributes() 1491 boolean tunneling, AudioAttributes audioAttributes, int audioSessionId) in buildAudioTrack() argument 1495 audioTrack = createAudioTrackV21(tunneling, audioAttributes, audioSessionId); in buildAudioTrack() 1497 int streamType = Util.getStreamTypeForAudioUsage(audioAttributes.usage); in buildAudioTrack() 1536 boolean tunneling, AudioAttributes audioAttributes, int audioSessionId) { in createAudioTrackV21() argument [all …]
|
D | ForwardingAudioSink.java | 138 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes() argument 139 sink.setAudioAttributes(audioAttributes); in setAudioAttributes()
|
D | AudioListener.java | 33 default void onAudioAttributesChanged(AudioAttributes audioAttributes) {} in onAudioAttributesChanged() argument
|
D | AudioSink.java | 305 void setAudioAttributes(AudioAttributes audioAttributes); in setAudioAttributes() argument
|
D | DecoderAudioRenderer.java | 562 AudioAttributes audioAttributes = (AudioAttributes) message; in handleMessage() local 563 audioSink.setAudioAttributes(audioAttributes); in handleMessage()
|
D | MediaCodecAudioRenderer.java | 669 AudioAttributes audioAttributes = (AudioAttributes) message; in handleMessage() local 670 audioSink.setAudioAttributes(audioAttributes); in handleMessage()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAudioManager.java | 226 public void setActivePlaybackConfigurationsFor(List<AudioAttributes> audioAttributes) { in setActivePlaybackConfigurationsFor() argument 227 activePlaybackConfigurations = new ArrayList<>(audioAttributes.size()); in setActivePlaybackConfigurationsFor() 228 for (AudioAttributes audioAttribute : audioAttributes) { in setActivePlaybackConfigurationsFor()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 310 public void onAudioAttributesChanged(EventTime eventTime, AudioAttributes audioAttributes) { in onAudioAttributesChanged() argument 314 audioAttributes.contentType in onAudioAttributesChanged() 316 + audioAttributes.flags in onAudioAttributesChanged() 318 + audioAttributes.usage in onAudioAttributesChanged() 320 + audioAttributes.allowedCapturePolicy); in onAudioAttributesChanged()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | Action.java | 453 private final AudioAttributes audioAttributes; field in Action.SetAudioAttributes 462 String tag, AudioAttributes audioAttributes, boolean handleAudioFocus) { in SetAudioAttributes() argument 464 this.audioAttributes = audioAttributes; in SetAudioAttributes() 471 player.setAudioAttributes(audioAttributes, handleAudioFocus); in doActionImpl()
|
D | ActionSchedule.java | 328 public Builder setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus) { in setAudioAttributes() argument 329 return apply(new SetAudioAttributes(tag, audioAttributes, handleAudioFocus)); in setAudioAttributes()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsListener.java | 439 default void onAudioAttributesChanged(EventTime eventTime, AudioAttributes audioAttributes) {} in onAudioAttributesChanged() argument
|
D | AnalyticsCollector.java | 215 public void onAudioAttributesChanged(AudioAttributes audioAttributes) { in onAudioAttributesChanged() argument 218 listener.onAudioAttributesChanged(eventTime, audioAttributes); in onAudioAttributesChanged()
|