Home
last modified time | relevance | path

Searched refs:codecConfig (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothCodecStatus.java48 public BluetoothCodecStatus(@Nullable BluetoothCodecConfig codecConfig, in BluetoothCodecStatus() argument
51 mCodecConfig = codecConfig; in BluetoothCodecStatus()
99 public boolean isCodecConfigSelectable(BluetoothCodecConfig codecConfig) { in isCodecConfigSelectable() argument
100 if (codecConfig == null || !codecConfig.hasSingleSampleRate() in isCodecConfigSelectable()
101 || !codecConfig.hasSingleBitsPerSample() || !codecConfig.hasSingleChannelMode()) { in isCodecConfigSelectable()
105 if (codecConfig.getCodecType() != selectableConfig.getCodecType()) { in isCodecConfigSelectable()
108 int sampleRate = codecConfig.getSampleRate(); in isCodecConfigSelectable()
113 int bitsPerSample = codecConfig.getBitsPerSample(); in isCodecConfigSelectable()
118 int channelMode = codecConfig.getChannelMode(); in isCodecConfigSelectable()
162 final BluetoothCodecConfig codecConfig = in.readTypedObject(
[all …]
DBluetoothA2dp.java686 @NonNull BluetoothCodecConfig codecConfig) { in setCodecConfigPreference() argument
689 if (codecConfig == null) { in setCodecConfigPreference()
696 service.setCodecConfigPreference(device, codecConfig); in setCodecConfigPreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpProfile.java244 BluetoothCodecConfig codecConfig = null; in isHighQualityAudioEnabled() local
246 codecConfig = mService.getCodecStatus(bluetoothDevice).getCodecConfig(); in isHighQualityAudioEnabled()
248 if (codecConfig != null) { in isHighQualityAudioEnabled()
249 return !codecConfig.isMandatoryCodec(); in isHighQualityAudioEnabled()
293 final BluetoothCodecConfig codecConfig = (selectable == null || selectable.length < 1) in getHighQualityAudioOptionLabel() local
295 final int codecType = (codecConfig == null || codecConfig.isMandatoryCodec()) in getHighQualityAudioOptionLabel()
296 ? BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID : codecConfig.getCodecType(); in getHighQualityAudioOptionLabel()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp203 bool codecConfig = (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process() local
217 if (mInputBufferCount == 0 && !codecConfig) { in process()
219 codecConfig = true; in process()
223 if (codecConfig) { in process()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp185 bool codecConfig = flags ? ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in populateInfoVector() local
186 if (codecConfig) numCsds++; in populateInfoVector()
188 if (timestampDevTest && !codecConfig && !nonDisplayFrame) { in populateInfoVector()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp187 bool codecConfig = flags == CODEC_CONFIG_FLAG; in processMpeg4H263Decoder() local
188 if (codecConfig || volHeader) { in processMpeg4H263Decoder()
230 if (codecConfig) { in processMpeg4H263Decoder()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp218 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone() local
220 if (!codecConfig && !work->worklets.front()->output.buffers.empty()) { in handleWorkDone()
726 bool codecConfig = in TEST_P() local
732 if (mTimestampDevTest && !codecConfig && !nonDisplayFrame) in TEST_P()
976 bool codecConfig = false; in TEST_P() local
990 codecConfig = flags ? ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_P()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp577 bool codecConfig = (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process() local
581 if (mInputBufferCount == 0 && !codecConfig) { in process()
583 codecConfig = true; in process()
586 if (codecConfig && size > 0u) { in process()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp133 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone() local
135 if (!codecConfig && !work->worklets.front()->output.buffers.empty()) { in handleWorkDone()
780 bool codecConfig = false; in TEST_P() local
794 codecConfig = flags ? ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_P()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp550 bool codecConfig = (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process() local
551 if (codecConfig || volHeader) { in process()
589 if (codecConfig) { in process()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp413 bool codecConfig = in process() local
421 if (codecConfig) { in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp450 bool codecConfig = in process() local
458 if (codecConfig) { in process()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp575 bool codecConfig = ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) !=0); in process() local
585 if (codecConfig) { in process()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp416 bool codecConfig = in process() local
418 if (codecConfig) { in process()