Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dcrash_trigger_test.c79 char use_case; in main() local
91 use_case = 'c'; in main()
94 use_case = 'h'; in main()
97 use_case = 'd'; in main()
120 if ('c' == use_case) { in main()
123 } else if ('h' == use_case) { in main()
126 } else if ('d' == use_case) { in main()
Doslo_config_test.c550 char use_case; in main() local
582 use_case = 's'; in main()
591 if ('s' == use_case) { in main()
593 use_case = 'v'; in main()
594 } else if ('w' == use_case) { in main()
597 } else if ('t' == use_case) { in main()
599 use_case = 'v'; in main()
617 use_case = 'g'; in main()
627 use_case = 'p'; in main()
636 use_case = 'r'; in main()
[all …]
Dsensor_param_test.c128 char use_case; in main() local
145 use_case = 's'; in main()
153 if ('s' == use_case) { in main()
167 use_case = 'g'; in main()
190 if ('s' == use_case) { in main()
192 } else if ('g' == use_case) { in main()
Dodsp_api_test.c122 char use_case; in main() local
142 use_case = 's'; in main()
162 use_case = 'g'; in main()
181 use_case = 'e'; in main()
197 use_case = 'd'; in main()
213 use_case = 't'; in main()
244 switch(use_case) { in main()
Dget_pwr_stats.c53 char use_case; in main() local
65 use_case = 'c'; in main()
89 if ('c' == use_case) { in main()
/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.c50 int use_case; member
/hardware/qcom/audio/hal/msm8916/
Dplatform.c801 int use_case; member