/frameworks/base/media/java/android/media/ |
D | HwAudioSource.java | 36 private final AudioAttributes mAudioAttributes; field in HwAudioSource 54 mAudioAttributes = attributes; in HwAudioSource() 136 mAudioAttributes); in start() 178 private AudioAttributes mAudioAttributes; field in HwAudioSource.Builder 195 mAudioAttributes = attributes; in setAudioAttributes() 219 if (mAudioAttributes == null) { in build() 220 mAudioAttributes = new AudioAttributes.Builder() in build() 224 return new HwAudioSource(mAudioDeviceInfo, mAudioAttributes); in build()
|
D | Ringtone.java | 84 private AudioAttributes mAudioAttributes = new AudioAttributes.Builder() field in Ringtone 126 return AudioAttributes.toLegacyStreamType(mAudioAttributes); in getStreamType() 138 mAudioAttributes = attributes; in setAudioAttributes() 150 return mAudioAttributes; in getAudioAttributes() 333 mLocalPlayer.setAudioAttributes(mAudioAttributes); in setUri() 372 AudioAttributes.toLegacyStreamType(mAudioAttributes)) != 0) { in play() 384 mRemotePlayer.playWithVolumeShaping(mRemoteToken, canonicalUri, mAudioAttributes, in play() 462 if (mAudioManager.getStreamVolume(AudioAttributes.toLegacyStreamType(mAudioAttributes)) in playFallbackRingtone() 480 mLocalPlayer.setAudioAttributes(mAudioAttributes); in playFallbackRingtone()
|
D | SoundPool.java | 565 private AudioAttributes mAudioAttributes; field in SoundPool.Builder 603 mAudioAttributes = attributes; in setAudioAttributes() 608 if (mAudioAttributes == null) { in build() 609 mAudioAttributes = new AudioAttributes.Builder() in build() 612 return new SoundPool(mMaxStreams, mAudioAttributes); in build()
|
D | AudioRecord.java | 265 private AudioAttributes mAudioAttributes; field in AudioRecord 365 mAudioAttributes = filteredAttr.build(); in AudioRecord() 367 mAudioAttributes = attributes; in AudioRecord() 405 mAudioAttributes, sampleRate, mChannelMask, mChannelIndexMask, in AudioRecord()
|
/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 | 351 private final AudioAttributes[] mAudioAttributes; field in AudioProductStrategy.AudioAttributesGroup 357 mAudioAttributes = audioAttributes; in AudioAttributesGroup() 369 && mAudioAttributes.equals(thatAag.mAudioAttributes); in equals() 382 return mAudioAttributes.length == 0 ? (new AudioAttributes.Builder().build()) in getAudioAttributes() 383 : mAudioAttributes[0]; in getAudioAttributes() 393 for (final AudioAttributes refAa : mAudioAttributes) { in supportsAttributes() 414 dest.writeInt(mAudioAttributes.length); in writeToParcel() 415 for (AudioAttributes attributes : mAudioAttributes) { in writeToParcel() 449 for (AudioAttributes attribute : mAudioAttributes) { in toString()
|
/frameworks/av/media/libaudioclient/ |
D | AudioVolumeGroup.cpp | 41 mAudioAttributes.clear(); in readFromParcel() 44 mAudioAttributes.push_back(attribute.getAttributes()); in readFromParcel() 58 size_t size = mAudioAttributes.size(); in writeToParcel() 62 for (const auto &attributes : mAudioAttributes) { in writeToParcel()
|
D | AudioProductStrategy.cpp | 38 mAudioAttributes.clear(); in readFromParcel() 41 mAudioAttributes.push_back(attribute); in readFromParcel() 50 size_t size = mAudioAttributes.size(); in writeToParcel() 57 AudioAttributes attribute(mAudioAttributes[i]); in writeToParcel()
|
/frameworks/av/include/media/ |
D | AudioProductStrategy.h | 34 mName(name), mAudioAttributes(attributes), mId(id) {} in AudioProductStrategy() 37 std::vector<AudioAttributes> getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() 59 std::vector<AudioAttributes> mAudioAttributes; variable
|
D | AudioVolumeGroup.h | 35 mName(name), mGroupId(group), mAudioAttributes(attributes), mStreams(streams) {} in AudioVolumeGroup() 39 AttributesVector getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() 48 AttributesVector mAudioAttributes; variable
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioProductStrategy.h | 34 mName(name), mAudioAttributes(attributes), mId(id) {} in AudioProductStrategy() 37 std::vector<AudioAttributes> getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() 59 std::vector<AudioAttributes> mAudioAttributes; variable
|
D | AudioVolumeGroup.h | 35 mName(name), mGroupId(group), mAudioAttributes(attributes), mStreams(streams) {} in AudioVolumeGroup() 39 AttributesVector getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() 48 AttributesVector mAudioAttributes; variable
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 168 private AudioAttributes mAudioAttributes = Notification.AUDIO_ATTRIBUTES_DEFAULT; field in NotificationChannel 232 mAudioAttributes = in.readInt() > 0 ? AudioAttributes.CREATOR.createFromParcel(in) : null; in NotificationChannel() 281 if (mAudioAttributes != null) { in writeToParcel() 283 mAudioAttributes.writeToParcel(dest, 0); in writeToParcel() 398 this.mAudioAttributes = audioAttributes; in setSound() 550 return mAudioAttributes; in getAudioAttributes() 1043 + ", mAudioAttributes=" + mAudioAttributes in dump() 1071 + ", mAudioAttributes=" + mAudioAttributes in toString() 1105 if (mAudioAttributes != null) { in writeToProto() 1106 mAudioAttributes.writeToProto(proto, NotificationChannelProto.AUDIO_ATTRIBUTES); in writeToProto()
|
/frameworks/base/core/jni/ |
D | android_media_AudioProductStrategies.cpp | 62 jfieldID mAudioAttributes; member 234 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 | 576 mAudioAttributes = NULL; in Client() 592 if (mAudioAttributes != NULL) { in ~Client() 593 free(mAudioAttributes); in ~Client() 753 mPid, mAudioAttributes, mAudioDeviceUpdatedListener); in setDataSource_pre() 1277 if (mAudioAttributes != NULL) { free(mAudioAttributes); } in setAudioAttributes_l() 1278 mAudioAttributes = (audio_attributes_t *) calloc(1, sizeof(audio_attributes_t)); in setAudioAttributes_l() 1279 if (mAudioAttributes == NULL) { in setAudioAttributes_l() 1282 unmarshallAudioAttributes(parcel, mAudioAttributes); in setAudioAttributes_l() 1285 mAudioAttributes->usage, mAudioAttributes->content_type, mAudioAttributes->flags, in setAudioAttributes_l() 1286 mAudioAttributes->tags); in setAudioAttributes_l() [all …]
|
D | MediaPlayerService.h | 460 audio_attributes_t * mAudioAttributes; variable
|
/frameworks/av/media/libmediaplayer2/ |
D | mediaplayer2.cpp | 237 mAudioAttributes = NULL; in MediaPlayer2() 509 if (mAudioAttributes != NULL) { in prepareAsync() 510 status_t err = setAudioAttributes_l(mAudioAttributes->getJObject()); in prepareAsync() 959 mAudioAttributes = new JObjectHolder(attributes); in setAudioAttributes() 967 return mAudioAttributes != NULL ? mAudioAttributes->getJObject() : NULL; in getAudioAttributes()
|
/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 | PreferencesHelperTest.java | 123 private AudioAttributes mAudioAttributes; field in PreferencesHelperTest 175 mAudioAttributes = new AudioAttributes.Builder() in setUp() 326 channel2.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testChannelXml() 390 channel2.setSound(SOUND_URI, mAudioAttributes); in testChannelXmlForBackup() 457 channel.setSound(SOUND_URI, mAudioAttributes); in testBackupXml_backupCanonicalizedSoundUri() 484 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withExistentCanonicalizedSoundUri() 506 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 549 channel.setSound(null, mAudioAttributes); in testBackupRestoreXml_withNullSoundUri() 761 channel.setSound(new Uri.Builder().scheme("test").build(), mAudioAttributes); in testUpdate() 771 channel2.setSound(new Uri.Builder().scheme("test2").build(), mAudioAttributes); in testUpdate() [all …]
|
D | RankingHelperTest.java | 100 private AudioAttributes mAudioAttributes; field in RankingHelperTest 193 mAudioAttributes = new AudioAttributes.Builder() in setUp()
|
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/ |
D | mediaplayer2.h | 157 sp<JObjectHolder> mAudioAttributes; variable
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 8529 Landroid/app/NotificationChannel;->mAudioAttributes:Landroid/media/AudioAttributes; 42610 Landroid/media/Ringtone;->mAudioAttributes:Landroid/media/AudioAttributes; 43485 Landroid/media/SoundPool$Builder;->mAudioAttributes:Landroid/media/AudioAttributes; 69948 Landroid/speech/tts/TextToSpeechService$AudioOutputParams;->mAudioAttributes:Landroid/media/AudioAt… 91451 Landroid/widget/VideoView;->mAudioAttributes:Landroid/media/AudioAttributes;
|