Searched refs:halGainModeMask (Results 1 – 2 of 2) sorted by relevance
281 status_t HidlUtils::audioGainModeMaskFromHal(audio_gain_mode_t halGainModeMask, in audioGainModeMaskFromHal() argument285 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() argument305 *halGainModeMask = {}; in audioGainModeMaskToHal()310 *halGainModeMask = static_cast<audio_gain_mode_t>(*halGainModeMask | halGainMode); in audioGainModeMaskToHal()
111 static status_t audioGainModeMaskFromHal(audio_gain_mode_t halGainModeMask,114 audio_gain_mode_t* halGainModeMask);