Searched refs:audioAttributes (Results 1 - 10 of 10) sorted by relevance

/frameworks/support/media/src/androidTest/java/androidx/media/
H A DMediaPlayer2TestBase.java115 AudioAttributesCompat audioAttributes, int audioSessionId) {
118 final AudioAttributesCompat aa = audioAttributes != null ? audioAttributes :
166 AudioAttributesCompat audioAttributes, int audioSessionId) {
175 final AudioAttributesCompat aa = audioAttributes != null ? audioAttributes :
114 createMediaPlayer2(Context context, Uri uri, SurfaceHolder holder, AudioAttributesCompat audioAttributes, int audioSessionId) argument
165 createMediaPlayer2(Context context, int resid, AudioAttributesCompat audioAttributes, int audioSessionId) argument
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java730 AudioAttributes audioAttributes) {
734 mAudioAttributes = audioAttributes;
743 AudioAttributes audioAttributes =
746 if (audioAttributes == null) {
749 audioAttributes = (new AudioAttributes.Builder())
767 audioAttributes);
729 AudioOutputParams(int sessionId, float volume, float pan, AudioAttributes audioAttributes) argument
H A DTextToSpeech.java552 public static final String KEY_PARAM_AUDIO_ATTRIBUTES = "audioAttributes";
1409 * @param audioAttributes Valid AudioAttributes instance.
1413 public int setAudioAttributes(AudioAttributes audioAttributes) { argument
1414 if (audioAttributes != null) {
1417 audioAttributes);
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
H A DNotificationCompatTest.java472 assertNotNull(n.audioAttributes);
479 assertNotNull(n.audioAttributes);
481 n.audioAttributes.getContentType());
523 assertNotNull(n.audioAttributes);
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java297 if (n.audioAttributes != null) {
299 attributes = n.audioAttributes;
534 pw.println(prefix + "n.audioAttributes=" + notification.audioAttributes);
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompatBuilder.java149 .setSound(n.sound, n.audioAttributes);
H A DNotificationCompat.java1014 mNotification.audioAttributes = new AudioAttributes.Builder()
1037 mNotification.audioAttributes = new AudioAttributes.Builder()
/frameworks/base/core/java/android/app/
H A DNotificationChannel.java373 public void setSound(Uri sound, AudioAttributes audioAttributes) { argument
375 this.mAudioAttributes = audioAttributes;
H A DNotification.java420 * @deprecated Use {@link #audioAttributes} instead.
426 * The default value of {@link #audioAttributes}.
439 public AudioAttributes audioAttributes = AUDIO_ATTRIBUTES_DEFAULT; field in class:Notification
2155 audioAttributes = AudioAttributes.CREATOR.createFromParcel(parcel);
2253 if (this.audioAttributes != null) {
2254 that.audioAttributes = new AudioAttributes.Builder(this.audioAttributes).build();
2562 if (audioAttributes != null) {
2564 audioAttributes.writeToParcel(parcel, 0);
3791 mN.audioAttributes
3818 setSound(Uri sound, AudioAttributes audioAttributes) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java900 * @param audioAttributes the {@link AudioAttributes} to be used by the media player.
906 AudioAttributes audioAttributes, int audioSessionId) {
910 final AudioAttributes aa = audioAttributes != null ? audioAttributes :
963 * @param audioAttributes the {@link AudioAttributes} to be used by the media player.
969 AudioAttributes audioAttributes, int audioSessionId) {
976 final AudioAttributes aa = audioAttributes != null ? audioAttributes :
905 create(Context context, Uri uri, SurfaceHolder holder, AudioAttributes audioAttributes, int audioSessionId) argument
968 create(Context context, int resid, AudioAttributes audioAttributes, int audioSessionId) argument

Completed in 279 milliseconds