Home
last modified time | relevance | path

Searched refs:popCount (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp84 static inline uint32_t popCount(uint32_t u) in popCount() function
101 if (mHandle->channels != popCount(*channels)) in set()
DAudioHardwareALSA.cpp859 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()
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioSystemLegacy.h319 static uint32_t popCount(uint32_t u) { in popCount() function
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp718 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()