Home
last modified time | relevance | path

Searched refs:newCodecConfig (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpCodecConfig.java85 BluetoothCodecConfig newCodecConfig) { in setCodecConfigPreference() argument
96 if (!codecStatus.isCodecConfigSelectable(newCodecConfig)) { in setCodecConfigPreference()
99 "setCodecConfigPreference: invalid codec " + Objects.toString(newCodecConfig)); in setCodecConfigPreference()
104 int prioritizedCodecType = getPrioitizedCodecType(newCodecConfig, selectableCodecs); in setCodecConfigPreference()
107 && (prioritizedCodecType != newCodecConfig.getCodecType() in setCodecConfigPreference()
108 || (currentCodecConfig.similarCodecFeedingParameters(newCodecConfig) in setCodecConfigPreference()
110 newCodecConfig)))) { in setCodecConfigPreference()
117 codecConfigArray[0] = newCodecConfig; in setCodecConfigPreference()
DA2dpStateMachine.java751 BluetoothCodecConfig newCodecConfig = mCodecStatus.getCodecConfig(); in processCodecConfigEvent() local
753 && (prevCodecConfig.getCodecType() != newCodecConfig.getCodecType())) { in processCodecConfigEvent()
755 } else if (!newCodecConfig.sameAudioFeedingParameters(prevCodecConfig)) { in processCodecConfigEvent()
757 } else if ((newCodecConfig.getCodecType() in processCodecConfigEvent()
761 != newCodecConfig.getCodecSpecific1())) { in processCodecConfigEvent()
763 } else if ((newCodecConfig.getCodecType() in processCodecConfigEvent()
768 != newCodecConfig.getCodecSpecific1())) { in processCodecConfigEvent()
DA2dpNativeInterface.java213 BluetoothCodecConfig newCodecConfig, in onCodecConfigChanged() argument
220 newCodecConfig, in onCodecConfigChanged()