Home
last modified time | relevance | path

Searched refs:use_case (Results 1 – 7 of 7) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
DAudioHardwareALSA.cpp788 char *use_case; in openOutputStream()
789 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
790 if ((use_case == NULL) || (!strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in openOutputStream()
795 free(use_case); in openOutputStream()
879 char *use_case; in openOutputStream() local
880 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
881 if ((use_case == NULL) || (!strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in openOutputStream()
886 free(use_case); in openOutputStream()
929 char *use_case; in openOutputStream() local
930 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
[all …]
DAudioStreamOutALSA.cpp113 char *use_case; in write() local
129 snd_use_case_get(mHandle->ucMgr, "_verb", (const char **)&use_case); in write()
130 if ((use_case == NULL) || (!strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in write()
159 free(use_case); in write()
Dalsa_default.cpp398 char *rxDevice, *txDevice, ident[70], *use_case = NULL; in switchDevice() local
489 snd_use_case_get(handle->ucMgr, "_verb", (const char **)&use_case); in switchDevice()
494 if ((use_case != NULL) && (strncmp(use_case, SND_USE_CASE_VERB_INACTIVE, in switchDevice()
496 usecase_type = getUseCaseType(use_case); in switchDevice()
498 ALOGD("Deroute use case %s type is %d\n", use_case, usecase_type); in switchDevice()
499 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN); in switchDevice()
521 if ((use_case != NULL) && (strncmp(use_case, SND_USE_CASE_VERB_INACTIVE, in switchDevice()
523 usecase_type = getUseCaseType(use_case); in switchDevice()
525 ALOGD("Deroute use case %s type is %d\n", use_case, usecase_type); in switchDevice()
526 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN); in switchDevice()
[all …]
DAudioStreamInALSA.cpp135 char *use_case; in read() local
142 snd_use_case_get(mHandle->ucMgr, "_verb", (const char **)&use_case); in read()
143 if ((use_case != NULL) && (strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in read()
245 free(use_case); in read()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c539 const char *use_case) in check_devices_for_voice_call() argument
544 if ((!strncmp(use_case, SND_USE_CASE_VERB_VOICECALL, in check_devices_for_voice_call()
546 (!strncmp(use_case, SND_USE_CASE_VERB_IP_VOICECALL, in check_devices_for_voice_call()
548 (!strncmp(use_case, SND_USE_CASE_MOD_PLAY_VOICE, in check_devices_for_voice_call()
550 (!strncmp(use_case, SND_USE_CASE_MOD_PLAY_VOIP, in check_devices_for_voice_call()
702 int get_use_case_index(snd_use_case_mgr_t *uc_mgr, const char *use_case, in get_use_case_index() argument
730 while(strncmp(ctrl_list[index].case_name, use_case, (strlen(use_case)+1))) { in get_use_case_index()
756 const char *use_case, int enable, int ctrl_list_type, int uc_index) in snd_use_case_apply_mixer_controls() argument
784 ALOGE("No valid use case found with the use case: %s", use_case); in snd_use_case_apply_mixer_controls()
792 (check_devices_for_voice_call(uc_mgr, use_case) != NULL)) in snd_use_case_apply_mixer_controls()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dhwdep_cal.c49 int use_case; member
/hardware/qcom/audio/hal/msm8916/
Dplatform.c717 int use_case; member