Lines Matching refs:mUcMgr
167 snd_use_case_mgr_open(&mUcMgr, "snd_soc_msm"); in AudioHardwareALSA()
170 snd_use_case_mgr_open(&mUcMgr, "snd_soc_msm_Sitar"); in AudioHardwareALSA()
177 snd_use_case_mgr_open(&mUcMgr, "snd_soc_msm_2x_Fusion3"); in AudioHardwareALSA()
180 snd_use_case_mgr_open(&mUcMgr, "snd_soc_msm_2x"); in AudioHardwareALSA()
184 if (mUcMgr < 0) { in AudioHardwareALSA()
187 ALOGI("ucm instance opened: %u", (unsigned)mUcMgr); in AudioHardwareALSA()
188 mUcMgr->acdb_handle = NULL; in AudioHardwareALSA()
191 mUcMgr->acdb_handle = static_cast<void*> (mAcdbHandle); in AudioHardwareALSA()
193 mUcMgr->isFusion3Platform = true; in AudioHardwareALSA()
195 mUcMgr->isFusion3Platform = false; in AudioHardwareALSA()
209 if (mUcMgr != NULL) { in ~AudioHardwareALSA()
210 ALOGV("closing ucm instance: %u", (unsigned)mUcMgr); in ~AudioHardwareALSA()
211 snd_use_case_mgr_close(mUcMgr); in ~AudioHardwareALSA()
786 alsa_handle.ucMgr = mUcMgr; in openOutputStream()
789 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
817 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_IP_VOICECALL); in openOutputStream()
819 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_VOIP); in openOutputStream()
876 alsa_handle.ucMgr = mUcMgr; in openOutputStream()
880 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
893 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_HIFI2 ); in openOutputStream()
895 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_MUSIC2); in openOutputStream()
926 alsa_handle.ucMgr = mUcMgr; in openOutputStream()
930 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
965 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_HIFI); in openOutputStream()
967 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_MUSIC); in openOutputStream()
971 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC); in openOutputStream()
973 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC); in openOutputStream()
1025 alsa_handle.ucMgr = mUcMgr; in openOutputSession()
1029 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputSession()
1036 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputSession()
1065 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_HIFI_TUNNEL); in openOutputSession()
1067 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_TUNNEL); in openOutputSession()
1072 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_HIFI_LOW_POWER); in openOutputSession()
1074 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_LPA); in openOutputSession()
1154 alsa_handle.ucMgr = mUcMgr; in openInputStream()
1156 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openInputStream()
1184 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_IP_VOICECALL); in openInputStream()
1186 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_VOIP); in openInputStream()
1222 alsa_handle.ucMgr = mUcMgr; in openInputStream()
1223 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openInputStream()
1357 snd_use_case_set(mUcMgr, "_verb", it->useCase); in openInputStream()
1359 snd_use_case_set(mUcMgr, "_enamod", it->useCase); in openInputStream()
1439 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in handleFm()
1459 alsa_handle.ucMgr = mUcMgr; in handleFm()
1472 snd_use_case_set(mUcMgr, "_verb", SND_USE_CASE_VERB_DIGITAL_RADIO); in handleFm()
1474 snd_use_case_set(mUcMgr, "_enamod", SND_USE_CASE_MOD_PLAY_FM); in handleFm()
1535 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in enableVoiceCall()
1555 alsa_handle.ucMgr = mUcMgr; in enableVoiceCall()
1568 snd_use_case_set(mUcMgr, "_verb", verb); in enableVoiceCall()
1570 snd_use_case_set(mUcMgr, "_enamod", modifier); in enableVoiceCall()