Lines Matching refs:use_case
398 char *rxDevice, *txDevice, ident[70], *use_case = NULL;
489 snd_use_case_get(handle->ucMgr, "_verb", (const char **)&use_case);
494 if ((use_case != NULL) && (strncmp(use_case, SND_USE_CASE_VERB_INACTIVE,
496 usecase_type = getUseCaseType(use_case);
498 ALOGD("Deroute use case %s type is %d\n", use_case, usecase_type);
499 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN);
521 if ((use_case != NULL) && (strncmp(use_case, SND_USE_CASE_VERB_INACTIVE,
523 usecase_type = getUseCaseType(use_case);
525 ALOGD("Deroute use case %s type is %d\n", use_case, usecase_type);
526 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN);
561 if ((use_case != NULL) && (strncmp(use_case, SND_USE_CASE_VERB_INACTIVE,
562 strlen(SND_USE_CASE_VERB_INACTIVE))) && (!strncmp(use_case, it->useCase, MAX_UC_LEN))) {
570 if (use_case != NULL) {
571 free(use_case);
572 use_case = NULL;