/frameworks/base/media/java/android/media/ |
D | FadeManagerConfiguration.java | 350 public long getFadeOutDurationForAudioAttributes(@NonNull AudioAttributes audioAttributes) { in getFadeOutDurationForAudioAttributes() argument 353 mAttrToFadeWrapperMap.get(audioAttributes), /* isFadeIn= */ false)); in getFadeOutDurationForAudioAttributes() 366 public long getFadeInDurationForAudioAttributes(@NonNull AudioAttributes audioAttributes) { in getFadeInDurationForAudioAttributes() argument 369 mAttrToFadeWrapperMap.get(audioAttributes), /* isFadeIn= */ true)); in getFadeInDurationForAudioAttributes() 384 @NonNull AudioAttributes audioAttributes) { in getFadeOutVolumeShaperConfigForAudioAttributes() 385 Objects.requireNonNull(audioAttributes, "Audio attributes cannot be null"); in getFadeOutVolumeShaperConfigForAudioAttributes() 387 return getVolumeShaperConfigFromWrapper(mAttrToFadeWrapperMap.get(audioAttributes), in getFadeOutVolumeShaperConfigForAudioAttributes() 403 @NonNull AudioAttributes audioAttributes) { in getFadeInVolumeShaperConfigForAudioAttributes() 404 Objects.requireNonNull(audioAttributes, "Audio attributes cannot be null"); in getFadeInVolumeShaperConfigForAudioAttributes() 406 return getVolumeShaperConfigFromWrapper(mAttrToFadeWrapperMap.get(audioAttributes), in getFadeInVolumeShaperConfigForAudioAttributes() [all …]
|
D | RingtoneManager.java | 808 AudioAttributes audioAttributes) { in getRingtone() argument 813 ringtone.setAudioAttributesField(audioAttributes); in getRingtone()
|
D | MediaPlayer.java | 949 AudioAttributes audioAttributes, int audioSessionId) { in create() argument 953 final AudioAttributes aa = audioAttributes != null ? audioAttributes : in create() 1011 AudioAttributes audioAttributes, int audioSessionId) { in create() argument 1018 final AudioAttributes aa = audioAttributes != null ? audioAttributes : in create()
|
D | AudioSystem.java | 1968 AudioAttributes audioAttributes); in startAudioSource() argument
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioVolumeGroup.java | 100 @NonNull AudioAttributes[] audioAttributes, in AudioVolumeGroup() argument 103 Preconditions.checkNotNull(audioAttributes, "audioAttributes must not be null"); in AudioVolumeGroup() 107 mAudioAttributes = audioAttributes; in AudioVolumeGroup() 183 AudioAttributes[] audioAttributes = new AudioAttributes[nbAttributes]; 185 audioAttributes[index] = AudioAttributes.CREATOR.createFromParcel(in); 192 return new AudioVolumeGroup(name, id, audioAttributes, streamTypes);
|
D | AudioProductStrategy.java | 152 @NonNull AudioAttributes audioAttributes) { in getLegacyStreamTypeForStrategyWithAudioAttributes() 153 Objects.requireNonNull(audioAttributes, "AudioAttributes must not be null"); in getLegacyStreamTypeForStrategyWithAudioAttributes() 156 if (productStrategy.supportsAudioAttributes(audioAttributes)) { in getLegacyStreamTypeForStrategyWithAudioAttributes() 158 audioAttributes); in getLegacyStreamTypeForStrategyWithAudioAttributes() 160 Log.w(TAG, "Attributes " + audioAttributes + " supported by strategy " in getLegacyStreamTypeForStrategyWithAudioAttributes() 461 @NonNull AudioAttributes[] audioAttributes) { in AudioAttributesGroup() argument 464 mAudioAttributes = audioAttributes; in AudioAttributesGroup()
|
/frameworks/av/media/libaudioclient/ |
D | AudioVolumeGroup.cpp | 51 aidl.audioAttributes = VALUE_OR_RETURN( in legacy2aidl_AudioVolumeGroup() 67 aidl.audioAttributes, in aidl2legacy_AudioVolumeGroup()
|
D | AudioProductStrategy.cpp | 43 aidl.audioAttributes = VALUE_OR_RETURN( in legacy2aidl_AudioProductStrategy() 57 aidl.audioAttributes, in aidl2legacy_AudioProductStrategy()
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool.cpp | 517 audio_attributes_t audioAttributes = AUDIO_ATTRIBUTES_INITIALIZER; in android_media_SoundPool_native_setup() local 523 audio_utils_strlcpy(audioAttributes.tags, tags); in android_media_SoundPool_native_setup() 525 audioAttributes.usage = in android_media_SoundPool_native_setup() 527 audioAttributes.content_type = in android_media_SoundPool_native_setup() 529 audioAttributes.flags = in android_media_SoundPool_native_setup() 533 maxChannels, audioAttributes, opPackageNameStr.c_str()); in android_media_SoundPool_native_setup()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioProductStrategy.aidl | 28 AudioAttributesEx[] audioAttributes;
|
D | AudioVolumeGroup.aidl | 29 AudioAttributes[] audioAttributes;
|
/frameworks/base/media/java/android/media/musicrecognition/ |
D | RecognitionRequest.java | 97 public Builder setAudioAttributes(@NonNull AudioAttributes audioAttributes) { in setAudioAttributes() argument 98 mAudioAttributes = audioAttributes; in setAudioAttributes()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 730 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()
|
D | TextToSpeech.java | 1522 public int setAudioAttributes(AudioAttributes audioAttributes) { 1523 if (audioAttributes != null) { 1526 audioAttributes);
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | VibratorTest.java | 227 AudioAttributes audioAttributes = new AudioAttributes.Builder().setUsage( in vibrate_withAudioAttributes_createsVibrationAttributesWithSameUsage() local 230 mVibratorSpy.vibrate(effect, audioAttributes); in vibrate_withAudioAttributes_createsVibrationAttributesWithSameUsage()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 608 public void setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument 610 this.mAudioAttributes = audioAttributes; in setSound() 1125 final AudioAttributes audioAttributes = safeAudioAttributes(parser); in populateFromXml() local 1126 final int usage = audioAttributes.getUsage(); in populateFromXml() 1128 audioAttributes); in populateFromXml()
|
D | Notification.java | 545 public AudioAttributes audioAttributes = AUDIO_ATTRIBUTES_DEFAULT; field in Notification 2727 audioAttributes = AudioAttributes.CREATOR.createFromParcel(parcel); in readFromParcelImpl() 2836 if (this.audioAttributes != null) { in cloneInto() 2837 that.audioAttributes = new AudioAttributes.Builder(this.audioAttributes).build(); in cloneInto() 3415 if (audioAttributes != null) { in writeToParcelImpl() 3417 audioAttributes.writeToParcel(parcel, 0); in writeToParcelImpl() 5126 mN.audioAttributes = AUDIO_ATTRIBUTES_DEFAULT; in setSound() 5153 public Builder setSound(Uri sound, AudioAttributes audioAttributes) { in setSound() argument 5155 mN.audioAttributes = audioAttributes; in setSound()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 364 if (n.audioAttributes != null) { in calculateAttributes() 366 attributes = n.audioAttributes; in calculateAttributes() 544 pw.println(prefix + "n.audioAttributes=" + notification.audioAttributes); in dump()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 772 AudioAttributes audioAttributes = new AudioAttributes.Builder() in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() local 775 new VibrationAttributes.Builder(audioAttributes).build(); in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 10255 private void validateAudioAttributesUsage(@NonNull AudioAttributes audioAttributes) { in validateAudioAttributesUsage() argument 10256 @AudioAttributes.AttributeUsage int usage = audioAttributes.getSystemUsage(); in validateAudioAttributesUsage() 10259 && (audioAttributes.getAllFlags() & AudioAttributes.FLAG_CALL_REDIRECTION) != 0 in validateAudioAttributesUsage() 10272 private boolean isValidAudioAttributesUsage(@NonNull AudioAttributes audioAttributes) { in isValidAudioAttributesUsage() argument 10273 @AudioAttributes.AttributeUsage int usage = audioAttributes.getSystemUsage(); in isValidAudioAttributesUsage() 10277 && (audioAttributes.getAllFlags() in isValidAudioAttributesUsage()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 14450 if (notif.audioAttributes != null) { 14452 notif.audioAttributes.writeToParcel(parcel, 0);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 4624 field public android.media.AudioAttributes audioAttributes;
|
/frameworks/base/core/api/ |
D | current.txt | 6512 field @Deprecated public android.media.AudioAttributes audioAttributes;
|