Lines Matching refs:ident_value
467 char ident[MAX_STR_LEN], *ident1, *ident2, *ident_value, *temp_ptr; in snd_use_case_geti() local
490 if ((ident_value = in snd_use_case_geti()
493 if (!strncmp(ident2, ident_value, in snd_use_case_geti()
494 (strlen(ident_value)+1))) { in snd_use_case_geti()
496 free(ident_value); in snd_use_case_geti()
497 ident_value = NULL; in snd_use_case_geti()
500 free(ident_value); in snd_use_case_geti()
501 ident_value = NULL; in snd_use_case_geti()
513 if((ident_value = in snd_use_case_geti()
516 if (!strncmp(ident2, ident_value, in snd_use_case_geti()
517 (strlen(ident_value)+1))) { in snd_use_case_geti()
519 free(ident_value); in snd_use_case_geti()
520 ident_value = NULL; in snd_use_case_geti()
523 free(ident_value); in snd_use_case_geti()
524 ident_value = NULL; in snd_use_case_geti()
583 char *ident_value = NULL; in snd_use_case_apply_voice_acdb() local
597 if ((ident_value = in snd_use_case_apply_voice_acdb()
600 if ((!strncmp(ident_value, SND_USE_CASE_MOD_PLAY_VOICE, in snd_use_case_apply_voice_acdb()
602 (!strncmp(ident_value, SND_USE_CASE_MOD_PLAY_VOIP, in snd_use_case_apply_voice_acdb()
605 free(ident_value); in snd_use_case_apply_voice_acdb()
606 ident_value = NULL; in snd_use_case_apply_voice_acdb()
609 free(ident_value); in snd_use_case_apply_voice_acdb()
610 ident_value = NULL; in snd_use_case_apply_voice_acdb()
629 if ((ident_value = in snd_use_case_apply_voice_acdb()
632 if (strncmp(ident_value, ctrl_list[use_case_index].case_name, in snd_use_case_apply_voice_acdb()
636 free(ident_value); in snd_use_case_apply_voice_acdb()
637 ident_value = NULL; in snd_use_case_apply_voice_acdb()
641 if (ident_value != NULL) { in snd_use_case_apply_voice_acdb()
642 while(strncmp(ctrl_list[index].case_name, ident_value, in snd_use_case_apply_voice_acdb()
643 (strlen(ident_value)+1))) { in snd_use_case_apply_voice_acdb()
652 ALOGE("No valid device found: %s",ident_value); in snd_use_case_apply_voice_acdb()
691 free(ident_value); in snd_use_case_apply_voice_acdb()
692 ident_value = NULL; in snd_use_case_apply_voice_acdb()
1115 char *ident_value, use_case[MAX_UC_LEN]; in set_controls_of_device_for_all_usecases() local
1200 if ((ident_value = in set_controls_of_device_for_all_usecases()
1204 getUseCaseType(ident_value) == CAP_VOICE || in set_controls_of_device_for_all_usecases()
1205 capability == getUseCaseType(ident_value)) { in set_controls_of_device_for_all_usecases()
1206 strlcpy(use_case, ident_value, sizeof(use_case)); in set_controls_of_device_for_all_usecases()
1248 strlcpy(use_case, ident_value, sizeof(use_case)); in set_controls_of_device_for_all_usecases()
1250 get_use_case_index(uc_mgr, ident_value, CTRL_LIST_MODIFIER); in set_controls_of_device_for_all_usecases()
1252 capability == getUseCaseType(ident_value) || in set_controls_of_device_for_all_usecases()
1253 getUseCaseType(ident_value) == CAP_VOICE) { in set_controls_of_device_for_all_usecases()
1264 free(ident_value); in set_controls_of_device_for_all_usecases()
2037 char *ident_value; in snd_use_case_mgr_reset() local
2052 if ((ident_value = in snd_use_case_mgr_reset()
2056 ident_value); in snd_use_case_mgr_reset()
2058 ident_value, 0, CTRL_LIST_MODIFIER); in snd_use_case_mgr_reset()
2060 ALOGE("Failed to disable mixer controls for %s", ident_value); in snd_use_case_mgr_reset()
2061 free(ident_value); in snd_use_case_mgr_reset()
2088 if ((ident_value = in snd_use_case_mgr_reset()
2092 ident_value); in snd_use_case_mgr_reset()
2094 ident_value, 0); in snd_use_case_mgr_reset()
2097 ident_value); in snd_use_case_mgr_reset()
2098 free(ident_value); in snd_use_case_mgr_reset()