Home
last modified time | relevance | path

Searched refs:oldCodecType (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
671 getDefaultCodecConfigByType(oldCodecType, PRIORITY_HIGH); in testCodecParametersChangeHelper()
683 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
685 getCodecCapabilitiesByType(oldCodecType), in testCodecParametersChangeHelper()
690 getCodecCapabilitiesByType(oldCodecType), in testCodecParametersChangeHelper()
695 {getCodecCapabilitiesByType(oldCodecType)}; in testCodecParametersChangeHelper()
698 getCodecCapabilitiesByType(oldCodecType) in testCodecParametersChangeHelper()
713 if (oldCodecType != newCodecType) { in testCodecParametersChangeHelper()
715 getCodecCapabilitiesByType(oldCodecType), in testCodecParametersChangeHelper()
720 getCodecCapabilitiesByType(oldCodecType), in testCodecParametersChangeHelper()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1738 int oldCodecType = newExtras.getInt(Connection.EXTRA_AUDIO_CODEC, in refreshCodec() local
1740 if (newCodecType != oldCodecType) { in refreshCodec()
1742 Log.i(this, "refreshCodec: codec changed; old=%d, new=%d", oldCodecType, newCodecType); in refreshCodec()