/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() 207 mLocalPlayer.setAudioAttributes(mAudioAttributes); in createLocalMediaPlayer() 250 return mAudioAttributes; in getAudioAttributes() 482 && !mAudioAttributes.areHapticChannelsMuted() && mVolume == 0; in play() 484 AudioAttributes.toLegacyStreamType(mAudioAttributes)) != 0) { in play() 496 mRemotePlayer.playWithVolumeShaping(mRemoteToken, canonicalUri, mAudioAttributes, in play() 578 int streamType = AudioAttributes.toLegacyStreamType(mAudioAttributes); in playFallbackRingtone() 604 mLocalPlayer.setAudioAttributes(mAudioAttributes); in playFallbackRingtone()
|
D | SoundPool.java | 557 private AudioAttributes mAudioAttributes; field in SoundPool.Builder 595 mAudioAttributes = attributes; in setAudioAttributes() 600 if (mAudioAttributes == null) { in build() 601 mAudioAttributes = new AudioAttributes.Builder() in build() 604 return new SoundPool(mMaxStreams, mAudioAttributes); in build()
|
D | AudioRecord.java | 276 private AudioAttributes mAudioAttributes; field in AudioRecord 418 mAudioAttributes = attributes; in AudioRecord() 431 audioParamCheck(mAudioAttributes.getCapturePreset(), rate, encoding); in AudioRecord() 463 int initResult = native_setup(new WeakReference<AudioRecord>(this), mAudioAttributes, in AudioRecord() 547 return mAudioAttributes; in getAudioAttributes() 1336 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 | 56 private final AudioAttributes[] mAudioAttributes; field in AudioVolumeGroup 105 mAudioAttributes = audioAttributes; in AudioVolumeGroup() 117 && mAudioAttributes.equals(thatAvg.mAudioAttributes); in equals() 124 return Arrays.asList(mAudioAttributes); in getAudioAttributes() 157 dest.writeInt(mAudioAttributes.length); in writeToParcel() 158 for (AudioAttributes attributes : mAudioAttributes) { in writeToParcel() 202 for (AudioAttributes attribute : mAudioAttributes) { in toString()
|
D | AudioProductStrategy.java | 444 private final AudioAttributes[] mAudioAttributes; field in AudioProductStrategy.AudioAttributesGroup 450 mAudioAttributes = audioAttributes; in AudioAttributesGroup() 462 && mAudioAttributes.equals(thatAag.mAudioAttributes); in equals() 475 return mAudioAttributes.length == 0 ? (new AudioAttributes.Builder().build()) in getAudioAttributes() 476 : mAudioAttributes[0]; in getAudioAttributes() 486 for (final AudioAttributes refAa : mAudioAttributes) { in supportsAttributes() 507 dest.writeInt(mAudioAttributes.length); in writeToParcel() 508 for (AudioAttributes attributes : mAudioAttributes) { in writeToParcel() 542 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
|
D | AudioProductStrategy.h | 36 mName(name), mAudioAttributes(attributes), mId(id) {} in AudioProductStrategy() 39 std::vector<AudioAttributes> getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() 61 std::vector<AudioAttributes> mAudioAttributes; variable
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 257 private AudioAttributes mAudioAttributes = Notification.AUDIO_ATTRIBUTES_DEFAULT; field in NotificationChannel 329 mAudioAttributes = in.readInt() > 0 ? AudioAttributes.CREATOR.createFromParcel(in) : null; in NotificationChannel() 384 if (mAudioAttributes != null) { in writeToParcel() 386 mAudioAttributes.writeToParcel(dest, 0); in writeToParcel() 538 this.mAudioAttributes = audioAttributes; in setSound() 727 return mAudioAttributes; in getAudioAttributes() 1311 + ", mAudioAttributes=" + mAudioAttributes in getFieldsString() 1348 if (mAudioAttributes != null) { in dumpDebug() 1349 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 | 776 mAudioAttributes = NULL; in Client() 793 if (mAudioAttributes != NULL) { in ~Client() 794 free(mAudioAttributes); in ~Client() 956 mAudioAttributes, mAudioDeviceUpdatedListener); in setDataSource_pre() 1491 if (mAudioAttributes != NULL) { free(mAudioAttributes); } in setAudioAttributes_l() 1492 mAudioAttributes = (audio_attributes_t *) calloc(1, sizeof(audio_attributes_t)); in setAudioAttributes_l() 1493 if (mAudioAttributes == NULL) { in setAudioAttributes_l() 1496 unmarshallAudioAttributes(parcel, mAudioAttributes); in setAudioAttributes_l() 1499 mAudioAttributes->usage, mAudioAttributes->content_type, mAudioAttributes->flags, in setAudioAttributes_l() 1500 mAudioAttributes->tags); in setAudioAttributes_l() [all …]
|
D | MediaPlayerService.h | 474 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 | 221 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 | RankingHelperTest.java | 102 private AudioAttributes mAudioAttributes; field in RankingHelperTest 196 mAudioAttributes = new AudioAttributes.Builder() in setUp()
|
D | PreferencesHelperTest.java | 181 private AudioAttributes mAudioAttributes; field in PreferencesHelperTest 298 mAudioAttributes = new AudioAttributes.Builder() in setUp() 488 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml() 552 channel2.setSound(SOUND_URI, mAudioAttributes); in testChannelXmlForBackup() 1281 channel.setSound(SOUND_URI, mAudioAttributes); in testBackupXml_backupCanonicalizedSoundUri() 1308 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withExistentCanonicalizedSoundUri() 1330 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 1380 channel.setSound(null, mAudioAttributes); in testBackupRestoreXml_withNullSoundUri() 1584 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testUpdate() 1594 channel2.setSound(new Uri.Builder().scheme("test2").build(), mAudioAttributes); in testUpdate() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 7506 private AudioAttributes mAudioAttributes = AudioProductStrategy.getDefaultAttributes(); field in AudioService.VolumeGroupState 7523 if (!aa.equals(mAudioAttributes)) { in VolumeGroupState() 7524 mAudioAttributes = aa; in VolumeGroupState() 7544 mIndexMin = AudioSystem.getMinVolumeIndexForAttributes(mAudioAttributes); in VolumeGroupState() 7545 mIndexMax = AudioSystem.getMaxVolumeIndexForAttributes(mAudioAttributes); in VolumeGroupState() 7711 AudioSystem.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; 51316 Landroid/speech/tts/TextToSpeechService$AudioOutputParams;->mAudioAttributes:Landroid/media/AudioAt… 70875 Landroid/widget/VideoView;->mAudioAttributes:Landroid/media/AudioAttributes;
|