/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/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 153 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/ |
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/audio/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 155 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/ |
D | C2SoftAacDec.cpp | 537 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/ |
D | C2SoftMpeg4Dec.cpp | 553 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/ |
D | C2SoftGav1Dec.cpp | 413 bool codecConfig = in process() local 421 if (codecConfig) { in process()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 448 bool codecConfig = in process() local 456 if (codecConfig) { in process()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 574 bool codecConfig = ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) !=0); in process() local 584 if (codecConfig) { in process()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 415 bool codecConfig = in process() local 417 if (codecConfig) { in process()
|