/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAudioConfig.java | 33 private final int mAudioFormat; field in BluetoothAudioConfig 38 mAudioFormat = audioFormat; in BluetoothAudioConfig() 47 bac.mAudioFormat == mAudioFormat); in equals() 54 return mSampleRate | (mChannelConfig << 24) | (mAudioFormat << 28); in hashCode() 60 + ",mAudioFormat:" + mAudioFormat + "}"; in toString() 83 out.writeInt(mAudioFormat); in writeToParcel() 109 return mAudioFormat; in getAudioFormat()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 47 status = parcel->writeInt32((int32_t) mAudioFormat); in writeToParcel() 66 status = parcel->readInt32(&mAudioFormat); in readFromParcel() 88 switch (mAudioFormat) { in validate() 93 ALOGE("AAudioStreamConfiguration.validate() invalid audioFormat = %d", mAudioFormat); in validate() 109 ALOGD("AAudioStreamConfiguration mAudioFormat = %d", (int)mAudioFormat); in dump()
|
D | AAudioStreamConfiguration.h | 62 return mAudioFormat; in getAudioFormat() 66 mAudioFormat = audioFormat; in setAudioFormat() 98 aaudio_format_t mAudioFormat = AAUDIO_FORMAT_UNSPECIFIED; variable
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamShared.cpp | 70 mAudioFormat = configurationInput.getAudioFormat(); in open() 71 if (mAudioFormat == AAUDIO_FORMAT_UNSPECIFIED) { in open() 72 mAudioFormat = AAUDIO_FORMAT_PCM_FLOAT; in open() 73 } else if (mAudioFormat != AAUDIO_FORMAT_PCM_FLOAT) { in open() 74 ALOGE("AAudioServiceStreamShared::open(), mAudioFormat = %d, need FLOAT", mAudioFormat); in open() 118 configurationOutput.setAudioFormat(mAudioFormat); in open()
|
D | AAudioServiceStreamBase.h | 109 return mSamplesPerFrame * AAudioConvert_formatToSizeInBytes(mAudioFormat); in calculateBytesPerFrame() 136 aaudio_format_t mAudioFormat = AAUDIO_FORMAT_UNSPECIFIED; variable
|
D | AAudioServiceStreamMMAP.cpp | 166 mAudioFormat = AAudioConvert_androidToAAudioDataFormat(config.format); in open() 187 configurationOutput.setAudioFormat(mAudioFormat); in open()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 50 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()
|
D | FileSynthesisCallback.java | 44 private int mAudioFormat; field in FileSynthesisCallback 132 mAudioFormat = audioFormat; in start() 228 audioFormat = mAudioFormat; in done()
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 354 private int mAudioFormat; // initialized by all constructors via audioParamCheck() field in AudioTrack 596 sampleRate, mChannelMask, mChannelIndexMask, mAudioFormat, in AudioTrack() 1062 mAudioFormat = audioFormat; in audioParamCheck() 1067 ((mode != MODE_STREAM) && !AudioFormat.isEncodingLinearPcm(mAudioFormat))) { in audioParamCheck() 1128 if (AudioFormat.isEncodingLinearFrames(mAudioFormat)) { in audioBuffSizeCheck() 1129 frameSizeInBytes = mChannelCount * AudioFormat.getBytesPerSample(mAudioFormat); in audioBuffSizeCheck() 1224 return mAudioFormat; in getAudioFormat() 1260 .setEncoding(mAudioFormat); in getFormat() 2152 if (mState == STATE_UNINITIALIZED || mAudioFormat == AudioFormat.ENCODING_PCM_FLOAT) { in write() 2167 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write() [all …]
|
D | AudioRecord.java | 195 private int mAudioFormat; field in AudioRecord 383 mAudioFormat, mNativeBufferSizeInBytes, in AudioRecord() 698 mAudioFormat = AudioFormat.ENCODING_PCM_16BIT; in audioParamCheck() 703 mAudioFormat = audioFormat; in audioParamCheck() 723 * (AudioFormat.getBytesPerSample(mAudioFormat)); in audioBuffSizeCheck() 784 return mAudioFormat; in getAudioFormat() 808 .setEncoding(mAudioFormat); in getFormat() 1099 if (mState != STATE_INITIALIZED || mAudioFormat == AudioFormat.ENCODING_PCM_FLOAT) { in read() 1171 if (mState != STATE_INITIALIZED || mAudioFormat == AudioFormat.ENCODING_PCM_FLOAT) { in read() 1223 if (mAudioFormat != AudioFormat.ENCODING_PCM_FLOAT) { in read()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetector.java | 117 private final AudioFormat mAudioFormat; field in SoundTriggerDetector.EventPayload 127 mAudioFormat = audioFormat; in EventPayload() 137 return mAudioFormat; in getCaptureAudioFormat()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 212 private final AudioFormat mAudioFormat; field in AlwaysOnHotwordDetector.EventPayload 222 mAudioFormat = audioFormat; in EventPayload() 232 return mAudioFormat; in getCaptureAudioFormat()
|