Searched refs:codecConfig (Results 1 – 2 of 2) sorted by relevance
260 BluetoothCodecConfig codecConfig = new BluetoothCodecConfig( in bluetoothA2dpSetCodecConfigPreference() local275 if (isSelectableCodec(codecConfig, currentCodecConfig) in bluetoothA2dpSetCodecConfigPreference()276 && codecConfig.getCodecSpecific1() == currentCodecConfig.getCodecSpecific1()) { in bluetoothA2dpSetCodecConfigPreference()282 if (isSelectableCodec(codecConfig, selectable)) { in bluetoothA2dpSetCodecConfigPreference()283 mBluetoothCodecConfig = codecConfig; in bluetoothA2dpSetCodecConfigPreference()
505 private static JSONObject buildJsonBluetoothCodecConfig(BluetoothCodecConfig codecConfig) in buildJsonBluetoothCodecConfig() argument508 result.put("codecType", codecConfig.getCodecType()); in buildJsonBluetoothCodecConfig()509 result.put("sampleRate", codecConfig.getSampleRate()); in buildJsonBluetoothCodecConfig()510 result.put("bitsPerSample", codecConfig.getBitsPerSample()); in buildJsonBluetoothCodecConfig()511 result.put("channelMode", codecConfig.getChannelMode()); in buildJsonBluetoothCodecConfig()512 result.put("codecSpecific1", codecConfig.getCodecSpecific1()); in buildJsonBluetoothCodecConfig()