/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/ |
D | TextConfig.java | 54 private final @CodecType int mCodecType; field in TextConfig 63 mCodecType = in.readInt(); in TextConfig() 73 mCodecType = builder.mCodecType; in TextConfig() 82 return this.mCodecType; in getCodecType() 108 return super.toString() + " TextConfig: {mCodecType=" + mCodecType in toString() 119 mCodecType, in hashCode() 142 return (mCodecType == s.mCodecType in equals() 161 dest.writeInt(mCodecType); in writeToParcel() 185 private @CodecType int mCodecType; field in TextConfig.Builder 206 public Builder setCodecType(final @CodecType int mCodecType) { in setCodecType() argument [all …]
|
D | VideoConfig.java | 260 private final @CodecType int mCodecType; field in VideoConfig 282 mCodecType = in.readInt(); in VideoConfig() 304 mCodecType = builder.mCodecType; in VideoConfig() 329 return this.mCodecType; in getCodecType() 411 + ", mCodecType=" + mCodecType in toString() 432 return Objects.hash(super.hashCode(), mVideoMode, mCodecType, mFramerate, mBitrate, in hashCode() 455 && mCodecType == s.mCodecType in equals() 486 dest.writeInt(mCodecType); in writeToParcel() 522 private int mCodecType; field in VideoConfig.Builder 565 this.mCodecType = codecType; in setCodecType()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/ |
D | TextConfig.cpp | 31 this->mCodecType = 0; in TextConfig() 43 this->mCodecType = config->mCodecType; in TextConfig() 54 this->mCodecType = config.mCodecType; in TextConfig() 68 this->mCodecType = config.mCodecType; in operator =() 79 return (RtpConfig::operator==(config) && mCodecType == config.mCodecType && in operator ==() 87 return (RtpConfig::operator!=(config) || mCodecType == config.mCodecType || in operator !=() 107 err = out->writeInt32(mCodecType); in writeToParcel() 156 err = in->readInt32(&mCodecType); in readFromParcel() 194 mCodecType = codec; in setCodecType() 199 return mCodecType; in getCodecType()
|
D | CallQuality.cpp | 42 mCodecType = DEFAULT_PARAM; in CallQuality() 67 mCodecType = quality.mCodecType; in CallQuality() 96 mCodecType = quality.mCodecType; in operator =() 123 mCodecType == quality.mCodecType && in operator ==() 148 mCodecType != quality.mCodecType || in operator !=() 224 err = out->writeInt32(mCodecType); in writeToParcel() 360 err = in->readInt32(&mCodecType); in readFromParcel() 538 return mCodecType; in getCodecType() 543 mCodecType = type; in setCodecType()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/ |
D | IAudioSourceNode.cpp | 35 mCodecType = 0; in IAudioSourceNode() 54 IMLOGD2("[ProcessStart] codec[%d], mode[%d]", mCodecType, mCodecMode); in ProcessStart() 59 mAudioSource->SetCodec(mCodecType); in ProcessStart() 60 mRunningCodecMode = ImsMediaAudioUtil::GetMaximumAmrMode(mCodecType, mCodecMode); in ProcessStart() 67 if (mCodecType == kAudioCodecEvs) in ProcessStart() 128 mCodecType = ImsMediaAudioUtil::ConvertCodecType(pConfig->getCodecType()); in SetConfig() 130 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in SetConfig() 135 else if (mCodecType == kAudioCodecEvs) in SetConfig() 166 if (mCodecType == ImsMediaAudioUtil::ConvertCodecType(pConfig->getCodecType())) in IsSameConfig() 168 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in IsSameConfig() [all …]
|
D | IAudioPlayerNode.cpp | 58 IMLOGD2("[Start] codec[%d], mode[%d]", mCodecType, mMode); in Start() 62 mJitterBuffer->SetCodecType(mCodecType); in Start() 72 mAudioPlayer->SetCodec(mCodecType); in Start() 76 int mode = (mCodecType == kAudioCodecEvs) in Start() 78 : ImsMediaAudioUtil::GetMaximumAmrMode(mCodecType, mMode); in Start() 80 if (mCodecType == kAudioCodecEvs) in Start() 143 mCodecType = ImsMediaAudioUtil::ConvertCodecType(mConfig->getCodecType()); in SetConfig() 145 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in SetConfig() 150 else if (mCodecType == kAudioCodecEvs) in SetConfig() 182 if (mCodecType == ImsMediaAudioUtil::ConvertCodecType(pConfig->getCodecType())) in IsSameConfig() [all …]
|
D | AudioRtpPayloadDecoderNode.cpp | 25 mCodecType = 0; in AudioRtpPayloadDecoderNode() 52 mPrevCMR = mCodecType == kAudioCodecEvs ? 127 : 15; in Start() 79 mCodecType = ImsMediaAudioUtil::ConvertCodecType(pConfig->getCodecType()); in SetConfig() 80 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in SetConfig() 84 else if (mCodecType == kAudioCodecEvs) in SetConfig() 101 if (mCodecType == ImsMediaAudioUtil::ConvertCodecType(pConfig->getCodecType())) in IsSameConfig() 103 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in IsSameConfig() 107 else if (mCodecType == kAudioCodecEvs) in IsSameConfig() 133 switch (mCodecType) in OnDataFromFrontNode() 148 IMLOGE1("[OnDataFromFrontNode] invalid codec type[%d]", mCodecType); in OnDataFromFrontNode() [all …]
|
D | AudioRtpPayloadEncoderNode.cpp | 28 mCodecType = 0; in AudioRtpPayloadEncoderNode() 61 mCodecType, mOctetAligned, mMaxNumOfFrame, mEvsMode, mEvsCodecMode); in Start() 97 switch (mCodecType) in OnDataFromFrontNode() 112 IMLOGE1("[OnDataFromFrontNode] invalid codec type[%d]", mCodecType); in OnDataFromFrontNode() 125 mCodecType = ImsMediaAudioUtil::ConvertCodecType(pConfig->getCodecType()); in SetConfig() 126 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in SetConfig() 130 else if (mCodecType == kAudioCodecEvs) in SetConfig() 150 if (mCodecType == ImsMediaAudioUtil::ConvertCodecType(pConfig->getCodecType())) in IsSameConfig() 152 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in IsSameConfig() 156 else if (mCodecType == kAudioCodecEvs) in IsSameConfig() [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothCodecConfig.java | 222 private final @Nullable BluetoothCodecType mCodecType; field in BluetoothCodecConfig 293 mCodecType = codecType; in BluetoothCodecConfig() 330 mCodecType = BluetoothCodecType.createFromType(in.readInt()); in BluetoothCodecConfig() 345 return (Objects.equals(other.mCodecType, mCodecType) in equals() 364 mCodecType, in hashCode() 397 if (mCodecType != null) { in toString() 398 codecName = mCodecType.getCodecName(); in toString() 399 codecType = mCodecType.getNativeCodecType(); in toString() 548 return mCodecType == null ? SOURCE_CODEC_TYPE_INVALID : mCodecType.getNativeCodecType(); in getCodecType() 554 return mCodecType; in getExtendedCodecType() [all …]
|
D | BluetoothLeAudioCodecConfig.java | 217 private final @SourceCodecType int mCodecType; field in BluetoothLeAudioCodecConfig 250 mCodecType = codecType; in BluetoothLeAudioCodecConfig() 299 out.writeInt(mCodecType); in writeToParcel() 363 + mCodecType in toString() 389 return mCodecType; in getCodecType() 398 switch (mCodecType) { in getCodecName() 406 return "UNKNOWN CODEC(" + mCodecType + ")"; in getCodecName() 458 return (other.getCodecType() == mCodecType in equals() 478 mCodecType, in hashCode() 496 private int mCodecType = BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_INVALID; field in BluetoothLeAudioCodecConfig.Builder [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/ |
D | ImsMediaAudioPlayer.cpp | 44 mCodecType = 0; in ImsMediaAudioPlayer() 63 mCodecType = type; in SetCodec() 121 if (mCodecType == kAudioCodecAmr) in Start() 125 else if (mCodecType == kAudioCodecAmrWb) in Start() 129 else if (mCodecType == kAudioCodecEvs) in Start() 149 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in Start() 187 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in Start() 203 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in Start() 215 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in Start() 237 if ((mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) && (mCodec != nullptr)) in Stop() [all …]
|
D | ImsMediaAudioSource.cpp | 43 mCodecType = -1; in ImsMediaAudioSource() 68 mCodecType = type; in SetCodec() 156 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in Start() 179 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in Stop() 281 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in run() 286 else if (mCodecType == kAudioCodecEvs) in run() 420 switch (mCodecType) in startCodec() 440 if (mCodecType == kAudioCodecAmr || mCodecType == kAudioCodecAmrWb) in startCodec() 484 else if (mCodecType == kAudioCodecEvs) in startCodec()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/ |
D | TextRtpPayloadDecoderNode.cpp | 25 mCodecType = TextConfig::TEXT_CODEC_NONE; in TextRtpPayloadDecoderNode() 37 IMLOGD1("[Start] codec[%d]", mCodecType); in Start() 39 if (mCodecType == TextConfig::TEXT_CODEC_NONE) in Start() 77 switch (mCodecType) in OnDataFromFrontNode() 84 IMLOGE1("[OnDataFromFrontNode invalid codec type[%u]", mCodecType); in OnDataFromFrontNode() 97 mCodecType = pConfig->getCodecType(); in SetConfig() 109 return (mCodecType == pConfig->getCodecType()); in IsSameConfig()
|
D | TextRtpPayloadEncoderNode.cpp | 24 mCodecType = TextConfig::TEXT_CODEC_NONE; in TextRtpPayloadEncoderNode() 41 IMLOGD1("[Start] codec[%d]", mCodecType); in Start() 43 if (mCodecType == TextConfig::TEXT_CODEC_NONE) in Start() 72 switch (mCodecType) in OnDataFromFrontNode() 79 IMLOGE1("[ProcessData] invalid codec type[%d]", mCodecType); in OnDataFromFrontNode() 92 mCodecType = pConfig->getCodecType(); in SetConfig() 107 return (mCodecType == pConfig->getCodecType() && in IsSameConfig() 129 uint32_t codecType = mCodecType; in EncodeT140()
|
D | TextSourceNode.cpp | 27 mCodecType = TextConfig::TEXT_CODEC_NONE; in TextSourceNode() 43 IMLOGD2("[Start] codec[%d], redundant level[%d]", mCodecType, mRedundantLevel); in Start() 45 if (mCodecType == TextConfig::TEXT_CODEC_NONE) in Start() 82 mCodecType = pConfig->getCodecType(); in SetConfig() 96 return (mCodecType == pConfig->getCodecType() && in IsSameConfig()
|
D | TextRendererNode.cpp | 28 mCodecType = TextConfig::TEXT_CODEC_NONE; in TextRendererNode() 44 IMLOGD1("[Start] codec[%d]", mCodecType); in Start() 46 if (mCodecType == TextConfig::TEXT_CODEC_NONE) in Start() 83 mCodecType = pConfig->getCodecType(); in SetConfig() 95 return (mCodecType == pConfig->getCodecType()); in IsSameConfig()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/ |
D | IVideoRendererNode.cpp | 45 mCodecType = DEFAULT_UNDEFINED; in IVideoRendererNode() 69 IMLOGD1("[Start] codec[%d]", mCodecType); in Start() 73 jitter->SetCodecType(mCodecType); in Start() 84 mVideoRenderer->SetCodec(mCodecType); in Start() 137 mCodecType = ImsMediaVideoUtil::ConvertCodecType(pConfig->getCodecType()); in SetConfig() 154 return (mCodecType == ImsMediaVideoUtil::ConvertCodecType(pConfig->getCodecType()) && in IsSameConfig() 230 if (mCodecType == kVideoCodecAvc) in ProcessData() 237 else if (mCodecType == kVideoCodecHevc) in ProcessData() 389 switch (mCodecType) in GetFrameType() 438 IMLOGE1("[GetFrameType] Invalid video codec type %d", mCodecType); in GetFrameType() [all …]
|
D | IVideoSourceNode.cpp | 33 mCodecType = DEFAULT_UNDEFINE; in IVideoSourceNode() 61 IMLOGD3("[Start] codec[%d], mode[%d], cameraId[%d]", mCodecType, mVideoMode, mCameraId); in Start() 66 mCodecType, mCodecProfile, mCodecLevel, mBitrate, mFramerate, mIntraInterval); in Start() 132 mCodecType = ImsMediaVideoUtil::ConvertCodecType(pConfig->getCodecType()); in SetConfig() 166 return (mCodecType == ImsMediaVideoUtil::ConvertCodecType(pConfig->getCodecType()) && in IsSameConfig() 196 if (mCodecType != ImsMediaVideoUtil::ConvertCodecType(pConfig->getCodecType()) || in UpdateConfig()
|
D | VideoRtpPayloadDecoderNode.cpp | 31 mCodecType = 0; in VideoRtpPayloadDecoderNode() 46 IMLOGD2("[Start] Codec[%d], PayloadMode[%d]", mCodecType, mPayloadMode); in Start() 88 mCodecType = pConfig->getCodecType(); in SetConfig() 100 return (mCodecType == pConfig->getCodecType() && in IsSameConfig() 115 switch (mCodecType) in OnDataFromFrontNode() 124 IMLOGE1("[OnDataFromFrontNode] invalid codec type[%d]", mCodecType); in OnDataFromFrontNode()
|
D | VideoRtpPayloadEncoderNode.cpp | 38 mCodecType = VideoConfig::CODEC_AVC; in VideoRtpPayloadEncoderNode() 67 IMLOGD3("[Start] codecType[%d], PayloadMode[%d], mtu[%d]", mCodecType, mPayloadMode, in Start() 110 mCodecType = pConfig->getCodecType(); in SetConfig() 123 return (mCodecType == pConfig->getCodecType() && in IsSameConfig() 137 switch (mCodecType) in OnDataFromFrontNode() 146 IMLOGE1("[OnDataFromFrontNode] invalid codec type[%d]", mCodecType); in OnDataFromFrontNode()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothA2dpConfigStore.java | 31 @Nullable private BluetoothCodecType mCodecType = null; field in BluetoothA2dpConfigStore 46 mCodecType = codecType; in setCodecType() 100 .setExtendedCodecType(mCodecType) in createCodecConfigFromCodecType()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/ |
D | BaseJitterBuffer.cpp | 25 mCodecType = 0; in BaseJitterBuffer() 46 mCodecType = type; in SetCodecType()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | MediaQualityAnalyzer.cpp | 46 mCodecType = 0; in MediaQualityAnalyzer() 88 mCodecType = config->getCodecType(); in setConfig() 92 mCodecType, ImsMediaAudioUtil::FindMaxEvsBandwidthFromRange(mCodecAttribute))); in setConfig() 94 if (mCodecType == AudioConfig::CODEC_AMR) in setConfig() 114 IMLOGI4("[setConfig] codec type[%d], bandwidth[%d], rxRtp[%d], rtcp[%d]", mCodecType, in setConfig() 153 return (mCodecType == config->getCodecType() && in isSameConfig() 690 mCodecType, ImsMediaAudioUtil::FindMaxEvsBandwidthFromRange(mCodecAttribute))); in notifyCallQuality()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/ |
D | ImsMediaVideoRenderer.cpp | 32 mCodecType = -1; in ImsMediaVideoRenderer() 58 mCodecType = codecType; in SetCodec() 90 if (mCodecType == kVideoCodecHevc) in Start()
|
D | ImsMediaVideoSource.cpp | 35 mCodecType = -1; in ImsMediaVideoSource() 86 mCodecType = codecType; in SetCodecConfig() 176 if (mCodecType == kVideoCodecHevc) in Start()
|