Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpCodecConfigTest.java668 private void testCodecParametersChangeHelper(int newCodecType, int oldCodecType, in testCodecParametersChangeHelper() argument
673 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()
745 private void testCodecSpecificParametersChangeHelper(int newCodecType, int newCodecSpecific, in testCodecSpecificParametersChangeHelper() argument
756 codecDefaultTemp = getDefaultCodecConfigByType(newCodecType, PRIORITY_HIGH); in testCodecSpecificParametersChangeHelper()
775 private void testCodecPriorityChangeHelper(int newCodecType, int newCodecPriority, in testCodecPriorityChangeHelper() argument
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1500 int newCodecType; in refreshCodecType() local
1502 newCodecType = transformCodec(getOriginalConnection().getAudioCodec()); in refreshCodecType()
1505 newCodecType = Connection.AUDIO_CODEC_NONE; in refreshCodecType()
1509 if (newCodecType != oldCodecType) { in refreshCodecType()
1510 newExtras.putInt(Connection.EXTRA_AUDIO_CODEC, newCodecType); in refreshCodecType()