Home
last modified time | relevance | path

Searched refs:mAudioFormat (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothAudioConfig.java33 private final int mAudioFormat; field in BluetoothAudioConfig
38 mAudioFormat = audioFormat; in BluetoothAudioConfig()
46 && bac.mAudioFormat == mAudioFormat); in equals()
53 return mSampleRate | (mChannelConfig << 24) | (mAudioFormat << 28); in hashCode()
59 + ",mAudioFormat:" + mAudioFormat + "}"; in toString()
85 out.writeInt(mAudioFormat); in writeToParcel()
114 return mAudioFormat; in getAudioFormat()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.cpp43 mAudioFormat = other.mAudioFormat; in copyFrom()
97 aaudio_result_t result = isFormatValid (mAudioFormat); in validate()
191 ALOGD("mAudioFormat = %6d", (int)mAudioFormat); in dump()
DAAudioStreamParameters.h60 return mAudioFormat; in getFormat()
64 mAudioFormat = audioFormat; in setFormat()
153 audio_format_t mAudioFormat = AUDIO_FORMAT_DEFAULT; variable
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java50 private final int mAudioFormat; field in BlockingAudioTrack
82 mAudioFormat = audioFormat; in BlockingAudioTrack()
85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
214 = AudioTrack.getMinBufferSize(mSampleRateInHz, channelConfig, mAudioFormat); in createStreamingAudioTrack()
219 .setEncoding(mAudioFormat) in createStreamingAudioTrack()
DFileSynthesisCallback.java44 private int mAudioFormat; field in FileSynthesisCallback
132 mAudioFormat = audioFormat; in start()
228 audioFormat = mAudioFormat; in done()
/frameworks/base/media/java/android/media/
DAudioTrack.java391 private int mAudioFormat; // initialized by all constructors via audioParamCheck() field in AudioTrack
664 sampleRate, mChannelMask, mChannelIndexMask, mAudioFormat, in AudioTrack()
677 if (AudioFormat.isEncodingLinearFrames(mAudioFormat)) { in AudioTrack()
678 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in AudioTrack()
1319 mAudioFormat = audioFormat; in audioParamCheck()
1324 ((mode != MODE_STREAM) && !AudioFormat.isEncodingLinearPcm(mAudioFormat))) { in audioParamCheck()
1385 if (AudioFormat.isEncodingLinearFrames(mAudioFormat)) { in audioBuffSizeCheck()
1386 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck()
1505 return mAudioFormat; in getAudioFormat()
1541 .setEncoding(mAudioFormat); in getFormat()
[all …]
DAudioRecord.java216 private int mAudioFormat; field in AudioRecord
406 mAudioFormat, mNativeBufferSizeInBytes, in AudioRecord()
792 mAudioFormat = AudioFormat.ENCODING_PCM_16BIT; in audioParamCheck()
797 mAudioFormat = audioFormat; in audioParamCheck()
817 * (AudioFormat.getBytesPerSample(mAudioFormat)); in audioBuffSizeCheck()
882 return mAudioFormat; in getAudioFormat()
906 .setEncoding(mAudioFormat); in getFormat()
1197 if (mState != STATE_INITIALIZED || mAudioFormat == AudioFormat.ENCODING_PCM_FLOAT) { in read()
1269 if (mState != STATE_INITIALIZED || mAudioFormat == AudioFormat.ENCODING_PCM_FLOAT) { in read()
1321 if (mAudioFormat != AudioFormat.ENCODING_PCM_FLOAT) { in read()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java118 private final AudioFormat mAudioFormat; field in SoundTriggerDetector.EventPayload
128 mAudioFormat = audioFormat; in EventPayload()
138 return mAudioFormat; in getCaptureAudioFormat()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java210 private final AudioFormat mAudioFormat; field in AlwaysOnHotwordDetector.EventPayload
220 mAudioFormat = audioFormat; in EventPayload()
230 return mAudioFormat; in getCaptureAudioFormat()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9950 Landroid/bluetooth/BluetoothAudioConfig;->mAudioFormat:I
34754 Landroid/media/AudioRecord;->mAudioFormat:I
35071 Landroid/media/AudioTrack;->mAudioFormat:I
40600 Landroid/media/soundtrigger/SoundTriggerDetector$EventPayload;->mAudioFormat:Landroid/media/AudioFo…
64406 Landroid/service/voice/AlwaysOnHotwordDetector$EventPayload;->mAudioFormat:Landroid/media/AudioForm…