Searched refs:popCount (Results 1 – 4 of 4) sorted by relevance
84 static inline uint32_t popCount(uint32_t u) in popCount() function101 if (mHandle->channels != popCount(*channels)) in set()
859 alsa_handle.channels = AudioSystem::popCount(*channels); in openOutputStream()897 ALOGD("channels: %d", AudioSystem::popCount(*channels)); in openOutputStream()1192 it->channels = AudioSystem::popCount(*channels); in openInputStream()1311 it->channels = AudioSystem::popCount((*channels) & in openInputStream()
319 static uint32_t popCount(uint32_t u) { in popCount() function
718 int commonFlags = (int)AudioSystem::popCount(outputDesc->mProfile->mFlags & flags); in selectOutput()2766 bool shouldMute = outputDesc->isActive() && (AudioSystem::popCount(device) >= 2); in checkDeviceMuteStrategies()2994 } else if (AudioSystem::popCount(device) > 1) { in getDeviceForVolume()3007 ALOGW_IF(AudioSystem::popCount(device) != 1, in getDeviceForVolume()