Home
last modified time | relevance | path

Searched refs:FindSourceCodec (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/
H A Da2dp_codec_factory.cpp99 A2dpCodecConfig *A2dpCodecFactory::FindSourceCodec(const uint8_t *codeInfo) const in FindSourceCodec() function in OHOS::bluetooth::A2dpCodecFactory
147 A2dpCodecConfig *a2dpCodecConfig = FindSourceCodec(peerCodecInfo); in SetCodecConfig()
308 A2dpCodecConfig *a2dpCodecConfig = FindSourceCodec(capabilities); in SetPeerSourceCodecCapabilities()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/include/
H A Da2dp_codec_factory.h38 A2dpCodecConfig *FindSourceCodec(const uint8_t *codeInfo) const;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_state_machine.cpp201 if (codecFactory->FindSourceCodec(pCodecInfo) == nullptr || in ProcessSetConfigInd()
206 … (codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex() + A2DP_SINK_CODEC_INDEX_MIN - in ProcessSetConfigInd()
211 userConfig.codecIndex_ = codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex(); in ProcessSetConfigInd()
412 codecFactory->FindSourceCodec(pCodecInfo) == nullptr) { in ProcessSetConfigInd()
416 … (codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex() + A2DP_SINK_CODEC_INDEX_MIN - in ProcessSetConfigInd()
420 userConfig.codecIndex_ = codecFactory->FindSourceCodec(pCodecInfo)->GetCodecIndex(); in ProcessSetConfigInd()
H A Da2dp_profile_peer.cpp693 if (codecConfig_->FindSourceCodec(resultInfo) == nullptr) { in SetUserCodecConfigure()
696 … if (codecConfig_->FindSourceCodec(resultInfo)->GetCodecIndex() != A2DP_SOURCE_CODEC_INDEX_SBC) { in SetUserCodecConfigure()
1143 if (codecConfig_->FindSourceCodec(codecInfo) == nullptr) { in Reconfigure()
1146 if (codecConfig_->FindSourceCodec(codecInfo)->GetCodecIndex() == in Reconfigure()