Home
last modified time | relevance | path

Searched refs:audioAttributes (Results 1 – 15 of 15) 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.java145 @NonNull AudioAttributes audioAttributes) { in getLegacyStreamTypeForStrategyWithAudioAttributes()
146 Preconditions.checkNotNull(audioAttributes, "AudioAttributes must not be null"); in getLegacyStreamTypeForStrategyWithAudioAttributes()
149 if (productStrategy.supportsAudioAttributes(audioAttributes)) { in getLegacyStreamTypeForStrategyWithAudioAttributes()
151 audioAttributes); in getLegacyStreamTypeForStrategyWithAudioAttributes()
153 Log.w(TAG, "Attributes " + audioAttributes.toString() + " ported by strategy " in getLegacyStreamTypeForStrategyWithAudioAttributes()
393 @NonNull AudioAttributes[] audioAttributes) { in AudioAttributesGroup() argument
396 mAudioAttributes = audioAttributes; in AudioAttributesGroup()
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h54 void addAttributes(const AudioAttributes &audioAttributes);
/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.java1423 public int setAudioAttributes(AudioAttributes audioAttributes) {
1424 if (audioAttributes != null) {
1427 audioAttributes);
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp39 void ProductStrategy::addAttributes(const AudioAttributes &audioAttributes) in addAttributes() argument
41 mAttributesVector.push_back(audioAttributes); in addAttributes()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java327 if (n.audioAttributes != null) { in calculateAttributes()
329 attributes = n.audioAttributes; in calculateAttributes()
575 pw.println(prefix + "n.audioAttributes=" + notification.audioAttributes); in dump()
/frameworks/base/media/java/android/media/
DMediaPlayer.java903 AudioAttributes audioAttributes, int audioSessionId) { in create() argument
907 final AudioAttributes aa = audioAttributes != null ? audioAttributes : in create()
966 AudioAttributes audioAttributes, int audioSessionId) { in create() argument
973 final AudioAttributes aa = audioAttributes != null ? audioAttributes : in create()
DAudioSystem.java1552 AudioAttributes audioAttributes); in startAudioSource() argument
/frameworks/base/core/java/android/app/
DNotificationChannel.java473 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument
475 this.mAudioAttributes = audioAttributes; in setSound()
DNotification.java456 public AudioAttributes audioAttributes = AUDIO_ATTRIBUTES_DEFAULT; field in Notification
2290 audioAttributes = AudioAttributes.CREATOR.createFromParcel(parcel); in readFromParcelImpl()
2397 if (this.audioAttributes != null) { in cloneInto()
2398 that.audioAttributes = new AudioAttributes.Builder(this.audioAttributes).build(); in cloneInto()
2747 if (audioAttributes != null) { in writeToParcelImpl()
2749 audioAttributes.writeToParcel(parcel, 0); in writeToParcelImpl()
4190 mN.audioAttributes = AUDIO_ATTRIBUTES_DEFAULT; in setSound()
4217 public Builder setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument
4219 mN.audioAttributes = audioAttributes; in setSound()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6817 private void validateAudioAttributesUsage(@NonNull AudioAttributes audioAttributes) { in validateAudioAttributesUsage() argument
6818 @AudioAttributes.AttributeUsage int usage = audioAttributes.getSystemUsage(); in validateAudioAttributesUsage()
6831 private boolean isValidAudioAttributesUsage(@NonNull AudioAttributes audioAttributes) { in isValidAudioAttributesUsage() argument
6832 @AudioAttributes.AttributeUsage int usage = audioAttributes.getSystemUsage(); in isValidAudioAttributesUsage()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4624 field public android.media.AudioAttributes audioAttributes;
/frameworks/base/api/
Dcurrent.txt5552 field @Deprecated public android.media.AudioAttributes audioAttributes;