Searched refs:mAudioAttributes (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | Ringtone.java | 79 private AudioAttributes mAudioAttributes = new AudioAttributes.Builder() field in Ringtone 119 return AudioAttributes.toLegacyStreamType(mAudioAttributes); in getStreamType() 131 mAudioAttributes = attributes; in setAudioAttributes() 143 return mAudioAttributes; in getAudioAttributes() 294 mLocalPlayer.setAudioAttributes(mAudioAttributes); in setUri() 329 AudioAttributes.toLegacyStreamType(mAudioAttributes)) != 0) { in play() 341 mRemotePlayer.play(mRemoteToken, canonicalUri, mAudioAttributes, volume, looping); in play() 413 if (mAudioManager.getStreamVolume(AudioAttributes.toLegacyStreamType(mAudioAttributes)) in playFallbackRingtone() 431 mLocalPlayer.setAudioAttributes(mAudioAttributes); in playFallbackRingtone()
|
D | SoundPool.java | 564 private AudioAttributes mAudioAttributes; field in SoundPool.Builder 602 mAudioAttributes = attributes; in setAudioAttributes() 607 if (mAudioAttributes == null) { in build() 608 mAudioAttributes = new AudioAttributes.Builder() in build() 611 return new SoundPool(mMaxStreams, mAudioAttributes); in build()
|
D | AudioRecord.java | 238 private AudioAttributes mAudioAttributes; field in AudioRecord 335 mAudioAttributes = filteredAttr.build(); in AudioRecord() 337 mAudioAttributes = attributes; in AudioRecord() 381 mAudioAttributes, mSampleRate, mChannelMask, mChannelIndexMask, in AudioRecord()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 576 mAudioAttributes = NULL; in Client() 591 if (mAudioAttributes != NULL) { in ~Client() 592 free(mAudioAttributes); in ~Client() 660 mPid, mAudioAttributes); in setDataSource_pre() 1103 if (mAudioAttributes != NULL) { free(mAudioAttributes); } in setAudioAttributes_l() 1104 mAudioAttributes = (audio_attributes_t *) calloc(1, sizeof(audio_attributes_t)); in setAudioAttributes_l() 1105 if (mAudioAttributes == NULL) { in setAudioAttributes_l() 1108 unmarshallAudioAttributes(parcel, mAudioAttributes); in setAudioAttributes_l() 1111 mAudioAttributes->usage, mAudioAttributes->content_type, mAudioAttributes->flags, in setAudioAttributes_l() 1112 mAudioAttributes->tags); in setAudioAttributes_l() [all …]
|
D | MediaPlayerService.h | 378 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 | 680 public final AudioAttributes mAudioAttributes; field in TextToSpeechService.AudioOutputParams 687 mAudioAttributes = null; in AudioOutputParams() 695 mAudioAttributes = audioAttributes; in AudioOutputParams()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 2081 private AudioAttributes mAudioAttributes; field in Notification.Builder 2164 mAudioAttributes = AUDIO_ATTRIBUTES_DEFAULT; in Builder() 2472 mAudioAttributes = AUDIO_ATTRIBUTES_DEFAULT; 2506 mAudioAttributes = audioAttributes; 3335 n.audioAttributes = mAudioAttributes; in buildUnstyled() 3584 mAudioAttributes = n.audioAttributes; in restoreFromNotification()
|