Home
last modified time | relevance | path

Searched refs:audioAttributes (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioVolumeGroup.java98 @NonNull AudioAttributes[] audioAttributes, in AudioVolumeGroup() argument
101 Preconditions.checkNotNull(audioAttributes, "audioAttributes must not be null"); in AudioVolumeGroup()
105 mAudioAttributes = audioAttributes; in AudioVolumeGroup()
175 AudioAttributes[] audioAttributes = new AudioAttributes[nbAttributes];
177 audioAttributes[index] = AudioAttributes.CREATOR.createFromParcel(in);
184 return new AudioVolumeGroup(name, id, audioAttributes, streamTypes);
DAudioProductStrategy.java111 @NonNull AudioAttributes audioAttributes) { in getLegacyStreamTypeForStrategyWithAudioAttributes()
112 Preconditions.checkNotNull(audioAttributes, "AudioAttributes must not be null"); in getLegacyStreamTypeForStrategyWithAudioAttributes()
115 if (productStrategy.supportsAudioAttributes(audioAttributes)) { in getLegacyStreamTypeForStrategyWithAudioAttributes()
117 audioAttributes); in getLegacyStreamTypeForStrategyWithAudioAttributes()
119 Log.w(TAG, "Attributes " + audioAttributes.toString() + " ported by strategy " in getLegacyStreamTypeForStrategyWithAudioAttributes()
354 @NonNull AudioAttributes[] audioAttributes) { in AudioAttributesGroup() argument
357 mAudioAttributes = audioAttributes; in AudioAttributesGroup()
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h52 void addAttributes(const AudioAttributes &audioAttributes);
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp38 void ProductStrategy::addAttributes(const AudioAttributes &audioAttributes) in addAttributes() argument
40 mAttributesVector.push_back(audioAttributes); in addAttributes()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java730 AudioAttributes audioAttributes) { in AudioOutputParams() argument
734 mAudioAttributes = audioAttributes; in AudioOutputParams()
743 AudioAttributes audioAttributes = in createFromParamsBundle() local
746 if (audioAttributes == null) { in createFromParamsBundle()
749 audioAttributes = (new AudioAttributes.Builder()) in createFromParamsBundle()
767 audioAttributes); in createFromParamsBundle()
DTextToSpeech.java1416 public int setAudioAttributes(AudioAttributes audioAttributes) {
1417 if (audioAttributes != null) {
1420 audioAttributes);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java321 if (n.audioAttributes != null) { in calculateAttributes()
323 attributes = n.audioAttributes; in calculateAttributes()
573 pw.println(prefix + "n.audioAttributes=" + notification.audioAttributes); in dump()
/frameworks/base/core/java/android/app/
DNotificationChannel.java396 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument
398 this.mAudioAttributes = audioAttributes; in setSound()
DNotification.java453 public AudioAttributes audioAttributes = AUDIO_ATTRIBUTES_DEFAULT; field in Notification
2248 audioAttributes = AudioAttributes.CREATOR.createFromParcel(parcel); in readFromParcelImpl()
2355 if (this.audioAttributes != null) { in cloneInto()
2356 that.audioAttributes = new AudioAttributes.Builder(this.audioAttributes).build(); in cloneInto()
2669 if (audioAttributes != null) { in writeToParcelImpl()
2671 audioAttributes.writeToParcel(parcel, 0); in writeToParcelImpl()
4057 mN.audioAttributes = AUDIO_ATTRIBUTES_DEFAULT; in setSound()
4084 public Builder setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument
4086 mN.audioAttributes = audioAttributes; in setSound()
/frameworks/base/media/java/android/media/
DMediaPlayer.java900 AudioAttributes audioAttributes, int audioSessionId) { in create() argument
904 final AudioAttributes aa = audioAttributes != null ? audioAttributes : in create()
963 AudioAttributes audioAttributes, int audioSessionId) { in create() argument
970 final AudioAttributes aa = audioAttributes != null ? audioAttributes : in create()
DAudioSystem.java1013 AudioAttributes audioAttributes); in startAudioSource() argument
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java718 private native boolean native_setAudioAttributes(AudioAttributes audioAttributes);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...