/frameworks/base/media/java/android/media/ |
D | HwAudioSource.java | 38 private final AudioAttributes mAudioAttributes; field in HwAudioSource 62 mAudioAttributes = attributes; in HwAudioSource() 145 mAudioAttributes); in start() 217 private AudioAttributes mAudioAttributes; field in HwAudioSource.Builder 234 mAudioAttributes = attributes; in setAudioAttributes() 258 if (mAudioAttributes == null) { in build() 259 mAudioAttributes = new AudioAttributes.Builder() in build() 263 return new HwAudioSource(mAudioDeviceInfo, mAudioAttributes); in build()
|
D | Ringtone.java | 88 private AudioAttributes mAudioAttributes = new AudioAttributes.Builder() field in Ringtone 132 return AudioAttributes.toLegacyStreamType(mAudioAttributes); in getStreamType() 157 mAudioAttributes = attributes; in setAudioAttributesField() 208 mLocalPlayer.setAudioAttributes(mAudioAttributes); in createLocalMediaPlayer() 275 return mAudioAttributes; in getAudioAttributes() 505 if (mAudioManager.getStreamVolume(AudioAttributes.toLegacyStreamType(mAudioAttributes)) in play() 508 } else if (!mAudioAttributes.areHapticChannelsMuted() && hasHapticChannels()) { in play() 521 mRemotePlayer.playWithVolumeShaping(mRemoteToken, canonicalUri, mAudioAttributes, in play() 603 int streamType = AudioAttributes.toLegacyStreamType(mAudioAttributes); in playFallbackRingtone() 629 mLocalPlayer.setAudioAttributes(mAudioAttributes); in playFallbackRingtone()
|
D | SoundPool.java | 561 private AudioAttributes mAudioAttributes; field in SoundPool.Builder 601 mAudioAttributes = attributes; in setAudioAttributes() 643 if (mAudioAttributes == null) { in build() 644 mAudioAttributes = new AudioAttributes.Builder() in build() 647 return new SoundPool(mContext, mMaxStreams, mAudioAttributes, mSessionId); in build()
|
D | AudioRecord.java | 288 private AudioAttributes mAudioAttributes; field in AudioRecord 432 mAudioAttributes = attributes; in AudioRecord() 445 audioParamCheck(mAudioAttributes.getCapturePreset(), rate, encoding); in AudioRecord() 477 int initResult = native_setup(new WeakReference<AudioRecord>(this), mAudioAttributes, in AudioRecord() 562 return mAudioAttributes; in getAudioAttributes() 1450 return (mAudioAttributes.getAllFlags() & AudioAttributes.FLAG_CAPTURE_PRIVATE) != 0; in isPrivacySensitive()
|
/frameworks/base/media/java/android/media/musicrecognition/ |
D | RecognitionRequest.java | 40 @NonNull private final AudioAttributes mAudioAttributes; field in RecognitionRequest 47 mAudioAttributes = requireNonNull(b.mAudioAttributes); in RecognitionRequest() 56 return mAudioAttributes; in getAudioAttributes() 88 private AudioAttributes mAudioAttributes = new AudioAttributes.Builder() field in RecognitionRequest.Builder 98 mAudioAttributes = audioAttributes; in setAudioAttributes() 148 dest.writeParcelable(mAudioAttributes, flags); in writeToParcel() 156 …mAudioAttributes = in.readParcelable(AudioAttributes.class.getClassLoader(), android.media.AudioAt… in RecognitionRequest()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioVolumeGroup.java | 58 private final AudioAttributes[] mAudioAttributes; field in AudioVolumeGroup 107 mAudioAttributes = audioAttributes; in AudioVolumeGroup() 119 && Arrays.equals(mAudioAttributes, thatAvg.mAudioAttributes); in equals() 125 Arrays.hashCode(mAudioAttributes), Arrays.hashCode(mLegacyStreamTypes)); in hashCode() 132 return Arrays.asList(mAudioAttributes); in getAudioAttributes() 165 dest.writeInt(mAudioAttributes.length); in writeToParcel() 166 for (AudioAttributes attributes : mAudioAttributes) { in writeToParcel() 210 for (AudioAttributes attribute : mAudioAttributes) { in toString()
|
D | AudioProductStrategy.java | 458 private final AudioAttributes[] mAudioAttributes; field in AudioProductStrategy.AudioAttributesGroup 464 mAudioAttributes = audioAttributes; in AudioAttributesGroup() 476 && Arrays.equals(mAudioAttributes, thatAag.mAudioAttributes); in equals() 482 Arrays.hashCode(mAudioAttributes)); in hashCode() 495 return mAudioAttributes.length == 0 ? DEFAULT_ATTRIBUTES : mAudioAttributes[0]; in getAudioAttributes() 505 for (final AudioAttributes refAa : mAudioAttributes) { in supportsAttributes() 526 dest.writeInt(mAudioAttributes.length); in writeToParcel() 527 for (AudioAttributes attributes : mAudioAttributes) { in writeToParcel() 561 for (AudioAttributes attribute : mAudioAttributes) { in toString()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioVolumeGroup.h | 37 mName(name), mGroupId(group), mAudioAttributes(attributes), mStreams(streams) {} in AudioVolumeGroup() 41 AttributesVector getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() 50 AttributesVector mAudioAttributes; variable
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 273 private AudioAttributes mAudioAttributes = Notification.AUDIO_ATTRIBUTES_DEFAULT; field in NotificationChannel 353 mAudioAttributes = in.readInt() > 0 ? AudioAttributes.CREATOR.createFromParcel(in) : null; in NotificationChannel() 416 if (mAudioAttributes != null) { in writeToParcel() 418 mAudioAttributes.writeToParcel(dest, 0); in writeToParcel() 442 copy.setSound(mSound, mAudioAttributes); in copy() 610 this.mAudioAttributes = audioAttributes; in setSound() 851 return mAudioAttributes; in getAudioAttributes() 1607 + ", mAudioAttributes=" + mAudioAttributes in getFieldsString() 1645 if (mAudioAttributes != null) { in dumpDebug() 1646 mAudioAttributes.dumpDebug(proto, NotificationChannelProto.AUDIO_ATTRIBUTES); in dumpDebug()
|
/frameworks/base/core/jni/ |
D | android_media_AudioProductStrategies.cpp | 62 jfieldID mAudioAttributes; member 247 gAudioAttributesGroupsFields.mAudioAttributes = GetFieldIDOrDie( in register_android_media_AudioProductStrategies()
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 141 private AudioAttributes mAudioAttributes; field in VideoView 168 mAudioAttributes = new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_MEDIA) in VideoView() 324 mAudioAttributes = attributes; in setAudioAttributes() 384 mAudioManager.requestAudioFocus(null, mAudioAttributes, mAudioFocusType, 0 /*flags*/); in openVideo() 414 mMediaPlayer.setAudioAttributes(mAudioAttributes); in openVideo()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 780 mAudioAttributes = NULL; in Client() 797 if (mAudioAttributes != NULL) { in ~Client() 798 free(mAudioAttributes); in ~Client() 965 mAudioAttributes, mAudioDeviceUpdatedListener); in setDataSource_pre() 1500 if (mAudioAttributes != NULL) { free(mAudioAttributes); } in setAudioAttributes_l() 1501 mAudioAttributes = (audio_attributes_t *) calloc(1, sizeof(audio_attributes_t)); in setAudioAttributes_l() 1502 if (mAudioAttributes == NULL) { in setAudioAttributes_l() 1505 unmarshallAudioAttributes(parcel, mAudioAttributes); in setAudioAttributes_l() 1508 mAudioAttributes->usage, mAudioAttributes->content_type, mAudioAttributes->flags, in setAudioAttributes_l() 1509 mAudioAttributes->tags); in setAudioAttributes_l() [all …]
|
D | MediaPlayerService.h | 477 audio_attributes_t * mAudioAttributes; variable
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackQueueItem.java | 59 mContext, mUri, null, mAudioParams.mAudioAttributes, in run()
|
D | BlockingAudioTrack.java | 226 AudioTrack audioTrack = new AudioTrack(mAudioParams.mAudioAttributes, in createStreamingAudioTrack()
|
D | TextToSpeechService.java | 719 public final AudioAttributes mAudioAttributes; field in TextToSpeechService.AudioOutputParams 726 mAudioAttributes = null; in AudioOutputParams() 734 mAudioAttributes = audioAttributes; in AudioOutputParams()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 225 private AudioAttributes mAudioAttributes; field in PreferencesHelperTest 368 mAudioAttributes = new AudioAttributes.Builder() in setUp() 594 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml() 662 channel2.setSound(CANONICAL_SOUND_URI, mAudioAttributes); in testChannelXmlForBackup() 1396 channel.setSound(SOUND_URI, mAudioAttributes); in testBackupXml_backupCanonicalizedSoundUri() 1426 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withExistentCanonicalizedSoundUri() 1449 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 1475 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withNonExistentCanonicalizedSoundUriAndMissingPackage() 1698 channel.setSound(null, mAudioAttributes); in testBackupRestoreXml_withNullSoundUri() 1732 channel.setSound(ANDROID_RES_SOUND_URI, mAudioAttributes); in testBackupRestoreXml_withAndroidResourceSoundUri() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationChannelTest.java | 302 AudioAttributes mAudioAttributes = in testWriteXmlForBackup_customLookup() local 310 channel.setSound(uriToBeRestoredCanonicalized, mAudioAttributes); in testWriteXmlForBackup_customLookup()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 8123 private AudioAttributes mAudioAttributes = AudioProductStrategy.getDefaultAttributes(); field in AudioService.VolumeGroupState 8140 if (!aa.equals(mAudioAttributes)) { in VolumeGroupState() 8141 mAudioAttributes = aa; in VolumeGroupState() 8161 mIndexMin = AudioSystem.getMinVolumeIndexForAttributes(mAudioAttributes); in VolumeGroupState() 8162 mIndexMax = AudioSystem.getMaxVolumeIndexForAttributes(mAudioAttributes); in VolumeGroupState() 8336 mAudioSystem.setVolumeIndexForAttributes(mAudioAttributes, index, device); in setVolumeIndexInt()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 8001 Landroid/app/NotificationChannel;->mAudioAttributes:Landroid/media/AudioAttributes; 29582 Landroid/media/Ringtone;->mAudioAttributes:Landroid/media/AudioAttributes; 30400 Landroid/media/SoundPool$Builder;->mAudioAttributes:Landroid/media/AudioAttributes; 50673 Landroid/speech/tts/TextToSpeechService$AudioOutputParams;->mAudioAttributes:Landroid/media/AudioAt… 70232 Landroid/widget/VideoView;->mAudioAttributes:Landroid/media/AudioAttributes;
|