Home
last modified time | relevance | path

Searched refs:codecConfig (Results 1 – 13 of 13) 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/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp153 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone() local
155 if (!codecConfig && in handleWorkDone()
460 bool codecConfig = flags ? in TEST_P() local
462 if (mTimestampDevTest && !codecConfig) in TEST_P()
550 bool codecConfig = flags ? in TEST_F() local
555 if (mTimestampDevTest && !codecConfig) in TEST_F()
841 bool codecConfig = false; in TEST_F() local
853 codecConfig = flags ? in TEST_F()
/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/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp155 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone() local
157 if (!codecConfig && in handleWorkDone()
536 bool codecConfig = in TEST_P() local
538 if (mTimestampDevTest && !codecConfig) in TEST_P()
872 bool codecConfig = false; in TEST_F() local
884 codecConfig = flags ? in TEST_F()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp537 bool codecConfig = (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process() local
541 if (mInputBufferCount == 0 && !codecConfig) { in process()
543 codecConfig = true; in process()
546 if (codecConfig && size > 0u) { in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp553 bool codecConfig = (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process() local
554 if (codecConfig || volHeader) { in process()
592 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.cpp448 bool codecConfig = in process() local
456 if (codecConfig) { in process()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp574 bool codecConfig = ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) !=0); in process() local
584 if (codecConfig) { in process()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp415 bool codecConfig = in process() local
417 if (codecConfig) { in process()