Home
last modified time | relevance | path

Searched refs:newCodecType (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
H A DA2dpCodecConfigTest.java673 new BluetoothCodecConfig(newCodecType, in testCodecParametersChangeHelper()
683 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
686 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
691 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
713 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
716 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
813 getCodecCapabilitiesByType(newCodecType) in testCodecPriorityChangeHelper()
841 getCodecCapabilitiesByType(newCodecType) in testCodecPriorityChangeHelper()
849 && oldCodecType != newCodecType) { in testCodecPriorityChangeHelper()
855 } else if (oldCodecType != newCodecType) { in testCodecPriorityChangeHelper()
[all …]
/aosp12/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyConnection.java1731 int newCodecType; in refreshCodec() local
1733 newCodecType = transformCodec(getOriginalConnection().getAudioCodec()); in refreshCodec()
1736 newCodecType = Connection.AUDIO_CODEC_NONE; in refreshCodec()
1740 if (newCodecType != oldCodecType) { in refreshCodec()
1741 newExtras.putInt(Connection.EXTRA_AUDIO_CODEC, newCodecType); in refreshCodec()
1742 Log.i(this, "refreshCodec: codec changed; old=%d, new=%d", oldCodecType, newCodecType); in refreshCodec()