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.java707 private void testCodecParametersChangeHelper(int newCodecType, int oldCodecType, in testCodecParametersChangeHelper() argument
712 buildBluetoothCodecConfig(newCodecType, in testCodecParametersChangeHelper()
722 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
725 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
730 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
752 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
755 getCodecCapabilitiesByType(newCodecType) in testCodecParametersChangeHelper()
786 private void testCodecSpecificParametersChangeHelper(int newCodecType, int newCodecSpecific, in testCodecSpecificParametersChangeHelper() argument
797 codecDefaultTemp = getDefaultCodecConfigByType(newCodecType, PRIORITY_HIGH); in testCodecSpecificParametersChangeHelper()
816 private void testCodecPriorityChangeHelper(int newCodecType, int newCodecPriority, in testCodecPriorityChangeHelper() argument
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1772 int newCodecType; in refreshCodec() local
1774 newCodecType = transformCodec(getOriginalConnection().getAudioCodec()); in refreshCodec()
1777 newCodecType = Connection.AUDIO_CODEC_NONE; in refreshCodec()
1781 if (newCodecType != oldCodecType) { in refreshCodec()
1782 newExtras.putInt(Connection.EXTRA_AUDIO_CODEC, newCodecType); in refreshCodec()
1783 Log.i(this, "refreshCodec: codec changed; old=%d, new=%d", oldCodecType, newCodecType); in refreshCodec()