Home
last modified time | relevance | path

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

/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp281 status_t HidlUtils::audioGainModeMaskFromHal(audio_gain_mode_t halGainModeMask, in audioGainModeMaskFromHal() argument
285 for (uint32_t bit = 0; halGainModeMask != 0 && bit < sizeof(audio_gain_mode_t) * 8; ++bit) { in audioGainModeMaskFromHal()
287 if ((flag & halGainModeMask) == flag) { in audioGainModeMaskFromHal()
295 halGainModeMask = static_cast<audio_gain_mode_t>(halGainModeMask & ~flag); in audioGainModeMaskFromHal()
303 audio_gain_mode_t* halGainModeMask) { in audioGainModeMaskToHal() argument
305 *halGainModeMask = {}; in audioGainModeMaskToHal()
310 *halGainModeMask = static_cast<audio_gain_mode_t>(*halGainModeMask | halGainMode); in audioGainModeMaskToHal()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h111 static status_t audioGainModeMaskFromHal(audio_gain_mode_t halGainModeMask,
114 audio_gain_mode_t* halGainModeMask);