Lines Matching refs:IsSingleBit
117 static bool IsSingleBit(uint32_t bitmasks, uint32_t bitfield) { in IsSingleBit() function
151 if (!IsSingleBit(static_cast<uint32_t>(sbc_data.sampleRate), 0xff) || in IsOffloadSbcConfigurationValid()
152 !IsSingleBit(static_cast<uint32_t>(sbc_data.channelMode), 0x0f) || in IsOffloadSbcConfigurationValid()
153 !IsSingleBit(static_cast<uint32_t>(sbc_data.blockLength), 0xf0) || in IsOffloadSbcConfigurationValid()
154 !IsSingleBit(static_cast<uint32_t>(sbc_data.numSubbands), 0x0c) || in IsOffloadSbcConfigurationValid()
155 !IsSingleBit(static_cast<uint32_t>(sbc_data.allocMethod), 0x03) || in IsOffloadSbcConfigurationValid()
156 !IsSingleBit(static_cast<uint32_t>(sbc_data.bitsPerSample), 0x07) || in IsOffloadSbcConfigurationValid()
190 if (!IsSingleBit(static_cast<uint32_t>(aac_data.objectType), 0xf0) || in IsOffloadAacConfigurationValid()
191 !IsSingleBit(static_cast<uint32_t>(aac_data.sampleRate), 0xff) || in IsOffloadAacConfigurationValid()
192 !IsSingleBit(static_cast<uint32_t>(aac_data.channelMode), 0x03) || in IsOffloadAacConfigurationValid()
193 !IsSingleBit(static_cast<uint32_t>(aac_data.bitsPerSample), 0x07)) { in IsOffloadAacConfigurationValid()
222 if (!IsSingleBit(static_cast<uint32_t>(ldac_data.sampleRate), 0xff) || in IsOffloadLdacConfigurationValid()
223 !IsSingleBit(static_cast<uint32_t>(ldac_data.channelMode), 0x07) || in IsOffloadLdacConfigurationValid()
226 !IsSingleBit(static_cast<uint32_t>(ldac_data.bitsPerSample), 0x07)) { in IsOffloadLdacConfigurationValid()
252 if (!IsSingleBit(static_cast<uint32_t>(aptx_data.sampleRate), 0xff) || in IsOffloadAptxConfigurationValid()
253 !IsSingleBit(static_cast<uint32_t>(aptx_data.channelMode), 0x03) || in IsOffloadAptxConfigurationValid()
254 !IsSingleBit(static_cast<uint32_t>(aptx_data.bitsPerSample), 0x07)) { in IsOffloadAptxConfigurationValid()
280 if (!IsSingleBit(static_cast<uint32_t>(aptx_data.sampleRate), 0xff) || in IsOffloadAptxHdConfigurationValid()
281 !IsSingleBit(static_cast<uint32_t>(aptx_data.channelMode), 0x03) || in IsOffloadAptxHdConfigurationValid()
282 !IsSingleBit(static_cast<uint32_t>(aptx_data.bitsPerSample), 0x07)) { in IsOffloadAptxHdConfigurationValid()