/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothCodecStatus.java | 48 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 …]
|
D | BluetoothA2dp.java | 686 @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/ |
D | A2dpProfile.java | 244 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/ |
D | C2SoftFlacDec.cpp | 203 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/ |
D | media_c2_hidl_test_common.cpp | 185 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/ |
D | Mpeg4H263DecoderTest.cpp | 187 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/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 218 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/ |
D | C2SoftAacDec.cpp | 577 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/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 133 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/ |
D | C2SoftMpeg4Dec.cpp | 550 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/ |
D | C2SoftGav1Dec.cpp | 413 bool codecConfig = in process() local 421 if (codecConfig) { in process()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 450 bool codecConfig = in process() local 458 if (codecConfig) { in process()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 575 bool codecConfig = ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) !=0); in process() local 585 if (codecConfig) { in process()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 416 bool codecConfig = in process() local 418 if (codecConfig) { in process()
|