Home
last modified time | relevance | path

Searched refs:selectableConfig (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeAudioCodecStatus.java132 BluetoothLeAudioCodecConfig codecConfig, BluetoothLeAudioCodecConfig selectableConfig) { in isCodecConfigSelectable() argument
133 if (codecConfig.getCodecType() != selectableConfig.getCodecType()) { in isCodecConfigSelectable()
137 && ((codecConfig.getFrameDuration() & selectableConfig.getFrameDuration()) == 0)) { in isCodecConfigSelectable()
141 && ((codecConfig.getChannelCount() & selectableConfig.getChannelCount()) == 0)) { in isCodecConfigSelectable()
145 && ((codecConfig.getSampleRate() & selectableConfig.getSampleRate()) == 0)) { in isCodecConfigSelectable()
149 && ((codecConfig.getBitsPerSample() & selectableConfig.getBitsPerSample()) == 0)) { in isCodecConfigSelectable()
153 && ((codecConfig.getOctetsPerFrame() < selectableConfig.getMinOctetsPerFrame()) in isCodecConfigSelectable()
155 > selectableConfig.getMaxOctetsPerFrame()))) { in isCodecConfigSelectable()
172 for (BluetoothLeAudioCodecConfig selectableConfig : mInputCodecsSelectableCapabilities) { in isInputCodecConfigSelectable()
173 if (isCodecConfigSelectable(codecConfig, selectableConfig)) { in isInputCodecConfigSelectable()
[all …]
DBluetoothCodecStatus.java113 for (BluetoothCodecConfig selectableConfig : mCodecsSelectableCapabilities) { in isCodecConfigSelectable()
114 if (codecConfig.getCodecType() != selectableConfig.getCodecType()) { in isCodecConfigSelectable()
118 if ((sampleRate & selectableConfig.getSampleRate()) == 0 in isCodecConfigSelectable()
123 if ((bitsPerSample & selectableConfig.getBitsPerSample()) == 0 in isCodecConfigSelectable()
128 if ((channelMode & selectableConfig.getChannelMode()) == 0 in isCodecConfigSelectable()