/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/ |
D | C.java | 19 import android.media.AudioAttributes; 312 public static final int CONTENT_TYPE_MOVIE = android.media.AudioAttributes.CONTENT_TYPE_MOVIE; 316 public static final int CONTENT_TYPE_MUSIC = android.media.AudioAttributes.CONTENT_TYPE_MUSIC; 321 android.media.AudioAttributes.CONTENT_TYPE_SONIFICATION; 326 android.media.AudioAttributes.CONTENT_TYPE_SPEECH; 331 android.media.AudioAttributes.CONTENT_TYPE_UNKNOWN; 349 android.media.AudioAttributes.FLAG_AUDIBILITY_ENFORCED; 385 public static final int USAGE_ALARM = android.media.AudioAttributes.USAGE_ALARM; 388 android.media.AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY; 393 android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | AudioAttributes.java | 34 public final class AudioAttributes { class 36 public static final AudioAttributes DEFAULT = new Builder().build(); 92 public AudioAttributes build() { in build() 93 return new AudioAttributes(contentType, flags, usage, allowedCapturePolicy); in build() 103 @Nullable private android.media.AudioAttributes audioAttributesV21; 105 private AudioAttributes( in AudioAttributes() method in AudioAttributes 122 public android.media.AudioAttributes getAudioAttributesV21() { in getAudioAttributesV21() 124 android.media.AudioAttributes.Builder builder = in getAudioAttributesV21() 125 new android.media.AudioAttributes.Builder() in getAudioAttributesV21() 145 AudioAttributes other = (AudioAttributes) obj; in equals()
|
D | DefaultAudioSink.java | 276 private AudioAttributes audioAttributes; 375 audioAttributes = AudioAttributes.DEFAULT; in DefaultAudioSink() 899 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes() 1491 boolean tunneling, AudioAttributes audioAttributes, int audioSessionId) in buildAudioTrack() 1536 boolean tunneling, AudioAttributes audioAttributes, int audioSessionId) { in createAudioTrackV21() 1537 android.media.AudioAttributes attributes; in createAudioTrackV21() 1540 new android.media.AudioAttributes.Builder() in createAudioTrackV21() 1541 .setContentType(android.media.AudioAttributes.CONTENT_TYPE_MOVIE) in createAudioTrackV21() 1542 .setFlags(android.media.AudioAttributes.FLAG_HW_AV_SYNC) in createAudioTrackV21() 1543 .setUsage(android.media.AudioAttributes.USAGE_MEDIA) in createAudioTrackV21()
|
D | AudioListener.java | 33 default void onAudioAttributesChanged(AudioAttributes audioAttributes) {} in onAudioAttributesChanged()
|
D | AudioSink.java | 305 void setAudioAttributes(AudioAttributes audioAttributes); in setAudioAttributes()
|
D | ForwardingAudioSink.java | 138 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes()
|
D | DecoderAudioRenderer.java | 562 AudioAttributes audioAttributes = (AudioAttributes) message; in handleMessage()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | AudioFocusManagerTest.java | 33 import com.google.android.exoplayer2.audio.AudioAttributes; 86 audioFocusManager.setAudioAttributes(AudioAttributes.DEFAULT); in setAudioAttributes_withNullUsage_abandonsAudioFocus() 109 audioFocusManager.setAudioAttributes(AudioAttributes.DEFAULT); in setAudioAttributes_withNullUsage_abandonsAudioFocus_v26() 129 AudioAttributes alarm = new AudioAttributes.Builder().setUsage(C.USAGE_ALARM).build(); in setAudioAttributes_withUsageAlarm_throwsIllegalArgumentException() 143 AudioAttributes mediaAudioAttributes = in setAudioAttributes_withUsageMedia_usesAudioFocusGain() 144 new AudioAttributes.Builder().setUsage(C.USAGE_MEDIA).build(); in setAudioAttributes_withUsageMedia_usesAudioFocusGain() 159 audioFocusManager.setAudioAttributes(AudioAttributes.DEFAULT); in setAudioAttributes_inEndedState_requestsAudioFocus() 172 audioFocusManager.setAudioAttributes(AudioAttributes.DEFAULT); in updateAudioFocus_idleToBuffering_setsPlayerCommandPlayWhenReady() 188 audioFocusManager.setAudioAttributes(AudioAttributes.DEFAULT); in updateAudioFocus_pausedToPlaying_setsPlayerCommandPlayWhenReady() 207 audioFocusManager.setAudioAttributes(AudioAttributes.DEFAULT); in updateAudioFocus_pausedToPlaying_withTransientLoss_setsPlayerCommandPlayWhenReady() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAudioManagerTest.java | 8 import android.media.AudioAttributes; 55 AudioAttributes atts = new AudioAttributes.Builder().build(); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall() 269 AudioAttributes movieAttribute = in getActivePlaybackConfigurations() 270 new AudioAttributes.Builder().setContentType(AudioAttributes.CONTENT_TYPE_MOVIE).build(); in getActivePlaybackConfigurations() 271 AudioAttributes musicAttribute = in getActivePlaybackConfigurations() 272 new AudioAttributes.Builder().setContentType(AudioAttributes.CONTENT_TYPE_MUSIC).build(); in getActivePlaybackConfigurations() 276 new AudioAttributes[] { in getActivePlaybackConfigurations()
|
D | ShadowAppOpsManagerTest.java | 26 import android.media.AudioAttributes; 240 OP_VIBRATE, AudioAttributes.USAGE_NOTIFICATION, MODE_ERRORED, new String[] {PACKAGE_NAME1}); in setRestrictions() 243 shadowOf(appOps).getRestriction(OP_VIBRATE, AudioAttributes.USAGE_NOTIFICATION); in setRestrictions()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/ |
D | SimpleAudioOutput.java | 20 import android.media.AudioAttributes; 137 AudioAttributes.Builder attributesBuilder = new AudioAttributes.Builder() in createAudioTrack() 138 .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC); in createAudioTrack() 145 AudioAttributes attributes = attributesBuilder.build(); in createAudioTrack()
|
D | AudioLatencyTuner.java | 19 import android.media.AudioAttributes; 70 Field field = AudioAttributes.class.getField("FLAG_LOW_LATENCY"); in reflectAdvancedMethods() 71 mFlagLowLatency = field.getInt(AudioAttributes.class); in reflectAdvancedMethods()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSystemVibrator.java | 12 import android.media.AudioAttributes; 54 …protected void vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attribut… in vibrate() 69 protected void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { in vibrate() 74 …protected void vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) { in vibrate() 80 String reason, AudioAttributes attributes) { in vibrate()
|
D | ShadowAudioManager.java | 6 import android.media.AudioAttributes; 226 public void setActivePlaybackConfigurationsFor(List<AudioAttributes> audioAttributes) { in setActivePlaybackConfigurationsFor() 228 for (AudioAttributes audioAttribute : audioAttributes) { in setActivePlaybackConfigurationsFor()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | AudioFocusManager.java | 26 import com.google.android.exoplayer2.audio.AudioAttributes; 101 @Nullable private AudioAttributes audioAttributes; 139 public void setAudioAttributes(@Nullable AudioAttributes audioAttributes) { in setAudioAttributes() 264 private static int convertAudioAttributesToFocusGain(@Nullable AudioAttributes audioAttributes) { in convertAudioAttributesToFocusGain()
|
D | Player.java | 27 import com.google.android.exoplayer2.audio.AudioAttributes; 102 void setAudioAttributes(AudioAttributes audioAttributes); in setAudioAttributes() 125 void setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus); in setAudioAttributes() 128 AudioAttributes getAudioAttributes(); in getAudioAttributes()
|
D | SimpleExoPlayer.java | 34 import com.google.android.exoplayer2.audio.AudioAttributes; 376 private AudioAttributes audioAttributes; 455 audioAttributes = AudioAttributes.DEFAULT; in SimpleExoPlayer() 691 public void setAudioAttributes(AudioAttributes audioAttributes) { in setAudioAttributes() 696 public void setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus) { in setAudioAttributes() 727 public AudioAttributes getAudioAttributes() { in getAudioAttributes() 835 AudioAttributes audioAttributes = in setAudioStreamType() 836 new AudioAttributes.Builder().setUsage(usage).setContentType(contentType).build(); in setAudioStreamType()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/ |
D | BluetoothMediaPlayback.java | 19 import android.media.AudioAttributes; 106 private AudioAttributes createAudioAttributes(int contentType, int usage) { in createAudioAttributes() 107 AudioAttributes.Builder builder = new AudioAttributes.Builder(); in createAudioAttributes()
|
/external/webrtc/sdk/android/src/java/org/webrtc/audio/ |
D | WebRtcAudioTrack.java | 15 import android.media.AudioAttributes; 54 return AudioAttributes.USAGE_VOICE_COMMUNICATION; in getDefaultUsageAttribute() 398 return new AudioTrack(new AudioAttributes.Builder() in createAudioTrackOnLollipopOrHigher() 400 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH) in createAudioTrackOnLollipopOrHigher()
|
/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioTrack.java | 15 import android.media.AudioAttributes; 65 return AudioAttributes.USAGE_VOICE_COMMUNICATION; in getDefaultUsageAttribute() 407 new AudioAttributes.Builder() in createAudioTrackOnLollipopOrHigher() 409 .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH) in createAudioTrackOnLollipopOrHigher()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | AnalyticsListener.java | 29 import com.google.android.exoplayer2.audio.AudioAttributes; 439 default void onAudioAttributesChanged(EventTime eventTime, AudioAttributes audioAttributes) {} in onAudioAttributesChanged()
|
/external/oboe/docs/ |
D | FAQ.md | 14 …r API 24 or 25 use [`AudioAttributes.FLAG_LOW_LATENCY`](https://developer.android.com/reference/ko…
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | Action.java | 30 import com.google.android.exoplayer2.audio.AudioAttributes; 453 private final AudioAttributes audioAttributes; 462 String tag, AudioAttributes audioAttributes, boolean handleAudioFocus) { in SetAudioAttributes()
|
D | ActionSchedule.java | 28 import com.google.android.exoplayer2.audio.AudioAttributes; 328 public Builder setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus) { in setAudioAttributes()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 32 import com.google.android.exoplayer2.audio.AudioAttributes; 310 public void onAudioAttributesChanged(EventTime eventTime, AudioAttributes audioAttributes) { in onAudioAttributesChanged()
|