Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpCodecConfigTest.java719 private void testCodecParametersChangeHelper(int newCodecType, int oldCodecType, in testCodecParametersChangeHelper() argument
724 buildBluetoothCodecConfig(newCodecType, in testCodecParametersChangeHelper()
734 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
737 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
742 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
764 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
767 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
798 private void testCodecSpecificParametersChangeHelper(int newCodecType, int newCodecSpecific, in testCodecSpecificParametersChangeHelper() argument
809 codecDefaultTemp = getDefaultCodecConfigByType(newCodecType, PRIORITY_HIGH); in testCodecSpecificParametersChangeHelper()
828 private void testCodecPriorityChangeHelper(int newCodecType, int newCodecPriority, in testCodecPriorityChangeHelper() argument
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
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()