• Home
  • Raw
  • Download

Lines Matching refs:useCase

218         it->useCase[0] = 0;  in ~AudioHardwareALSA()
656 if((!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER)) || in doRouting()
657 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_LPA))) { in doRouting()
662 } else if((!strcmp(it->useCase, SND_USE_CASE_VERB_VOICECALL)) || in doRouting()
663 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOICE))) { in doRouting()
670 }else if((!strcmp(it->useCase, SND_USE_CASE_VERB_DIGITAL_RADIO)) || in doRouting()
671 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_FM))) { in doRouting()
751 if((!strcmp(it->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in openOutputStream()
752 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in openOutputStream()
790 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase)); in openOutputStream()
792 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(alsa_handle.useCase)); in openOutputStream()
798 …Device->route useCase %s mCurDevice %d mVoipStreamCount %d mode %d", it->useCase,mCurDevice,mVoipS… in openOutputStream()
815 if(!strcmp(it->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) { in openOutputStream()
879 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI2 , sizeof(alsa_handle.useCase)); in openOutputStream()
881 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC2, sizeof(alsa_handle.useCase)); in openOutputStream()
887 ALOGD("it->useCase %s", it->useCase); in openOutputStream()
889 if(!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI2)) { in openOutputStream()
932 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI, sizeof(alsa_handle.useCase)); in openOutputStream()
934 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
941 …strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
943 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase)); in openOutputStream()
950 ALOGV("useCase %s", it->useCase); in openOutputStream()
960 if(!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI)) { in openOutputStream()
966 if(!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC)) { in openOutputStream()
1026 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_TUNNEL, sizeof(alsa_handle.useCase)); in openOutputSession()
1028 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_TUNNEL, sizeof(alsa_handle.useCase)); in openOutputSession()
1033 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER, sizeof(alsa_handle.useCase)); in openOutputSession()
1035 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_LPA, sizeof(alsa_handle.useCase)); in openOutputSession()
1042 ALOGD("useCase %s", it->useCase); in openOutputSession()
1059 if(!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_TUNNEL)) { in openOutputSession()
1066 if(!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER)) { in openOutputSession()
1114 if((!strcmp(it->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in openInputStream()
1115 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in openInputStream()
1152 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(alsa_handle.useCase)); in openInputStream()
1154 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase)); in openInputStream()
1177 if(!strcmp(it->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) { in openInputStream()
1226 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in openInputStream()
1227 sizeof(alsa_handle.useCase)); in openInputStream()
1229 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL, in openInputStream()
1230 sizeof(alsa_handle.useCase)); in openInputStream()
1235 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in openInputStream()
1236 sizeof(alsa_handle.useCase)); in openInputStream()
1238 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_DL, in openInputStream()
1239 sizeof(alsa_handle.useCase)); in openInputStream()
1244 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_FM, sizeof(alsa_handle.useCase)); in openInputStream()
1246 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_A2DP_FM, sizeof(alsa_handle.useCase)); in openInputStream()
1252 …strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_LOWLATENCY_MUSIC, sizeof(alsa_handle.useCase in openInputStream()
1254 … strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, sizeof(alsa_handle.useCase)); in openInputStream()
1266 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_INCALL_REC, in openInputStream()
1267 sizeof(alsa_handle.useCase)); in openInputStream()
1269 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_UL_DL_REC, in openInputStream()
1270 sizeof(alsa_handle.useCase)); in openInputStream()
1275 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_INCALL_REC, in openInputStream()
1276 sizeof(alsa_handle.useCase)); in openInputStream()
1278 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_DL_REC, in openInputStream()
1279 sizeof(alsa_handle.useCase)); in openInputStream()
1284 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_FM_REC, sizeof(alsa_handle.useCase)); in openInputStream()
1286 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_FM_A2DP_REC, sizeof(alsa_handle.useCase)); in openInputStream()
1292 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_REC, sizeof(alsa_handle.useCase)); in openInputStream()
1294 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_HIFI_REC, sizeof(alsa_handle.useCase)); in openInputStream()
1340 if(!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_REC) || in openInputStream()
1341 !strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_REC) || in openInputStream()
1343 !strcmp(it->useCase, SND_USE_CASE_VERB_FM_REC) || in openInputStream()
1344 !strcmp(it->useCase, SND_USE_CASE_VERB_FM_A2DP_REC) || in openInputStream()
1346 !strcmp(it->useCase, SND_USE_CASE_VERB_DL_REC) || in openInputStream()
1347 !strcmp(it->useCase, SND_USE_CASE_VERB_UL_DL_REC) || in openInputStream()
1348 !strcmp(it->useCase, SND_USE_CASE_VERB_INCALL_REC)) { in openInputStream()
1349 snd_use_case_set(mUcMgr, "_verb", it->useCase); in openInputStream()
1351 snd_use_case_set(mUcMgr, "_enamod", it->useCase); in openInputStream()
1356 if (!strncmp(it->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in openInputStream()
1357 …|| !strncmp(it->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC))) { in openInputStream()
1358 ALOGV("OpenInoutStream: Use larger buffer size for 5.1(%s) recording ", it->useCase); in openInputStream()
1433 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_DIGITAL_RADIO, sizeof(alsa_handle.useCase)); in handleFm()
1435 strlcpy(alsa_handle.useCase, SND_USE_CASE_MOD_PLAY_FM, sizeof(alsa_handle.useCase)); in handleFm()
1462 if(!strcmp(it->useCase, SND_USE_CASE_VERB_DIGITAL_RADIO)) { in handleFm()
1479 if((!strcmp(it->useCase, SND_USE_CASE_VERB_DIGITAL_RADIO)) || in handleFm()
1480 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_FM))) { in handleFm()
1501 if((!strcmp(it->useCase, verb)) || in disableVoiceCall()
1502 (!strcmp(it->useCase, modifier))) { in disableVoiceCall()
1528 strlcpy(alsa_handle.useCase, verb, sizeof(alsa_handle.useCase)); in enableVoiceCall()
1530 strlcpy(alsa_handle.useCase, modifier, sizeof(alsa_handle.useCase)); in enableVoiceCall()
1557 if (!strcmp(it->useCase, verb)) { in enableVoiceCall()
1600 if((!strncmp(vt_it->useCase, SND_USE_CASE_VERB_VOICECALL, in routeVoiceCall()
1602 (!strncmp(vt_it->useCase, SND_USE_CASE_MOD_PLAY_VOICE, in routeVoiceCall()
1619 if((!strncmp(vt_it->useCase, SND_USE_CASE_VERB_VOICECALL, in routeVoiceCall()
1621 (!strncmp(vt_it->useCase, SND_USE_CASE_MOD_PLAY_VOICE, in routeVoiceCall()
1661 if((!strncmp(vt_it->useCase, SND_USE_CASE_VERB_VOLTE, in routeVoLTECall()
1663 (!strncmp(vt_it->useCase, SND_USE_CASE_MOD_PLAY_VOLTE, in routeVoLTECall()
1680 if((!strncmp(vt_it->useCase, SND_USE_CASE_VERB_VOLTE, in routeVoLTECall()
1682 (!strncmp(vt_it->useCase, SND_USE_CASE_MOD_PLAY_VOLTE, in routeVoLTECall()