Searched refs:newCodecType (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpCodecConfigTest.java | 668 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/ |
D | TelephonyConnection.java | 1731 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()
|