Lines Matching refs:useCase
92 if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC))
93 || !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC))) {
139 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) &&
140 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) {
152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE,
153 sizeof(mHandle->useCase));
158 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL,
159 sizeof(mHandle->useCase));
165 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE,
166 sizeof(mHandle->useCase));
171 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_DL,
172 sizeof(mHandle->useCase));
177 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_FM, sizeof(mHandle->useCase));
179 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_A2DP_FM, sizeof(mHandle->useCase));
181 } else if(!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP)) {
182 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase));
187 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_LOWLATENCY_MUSIC, sizeof(mHandle->useCase));
189 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, sizeof(mHandle->useCase));
201 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_INCALL_REC,
202 sizeof(mHandle->useCase));
207 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_UL_DL_REC,
208 sizeof(mHandle->useCase));
214 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_INCALL_REC,
215 sizeof(mHandle->useCase));
220 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_DL_REC,
221 sizeof(mHandle->useCase));
226 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_FM_REC, sizeof(mHandle->useCase));
228 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_FM_A2DP_REC, sizeof(mHandle->useCase));
230 } else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)){
231 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(mHandle->useCase));
236 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_REC, sizeof(mHandle->useCase));
238 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI_REC, sizeof(mHandle->useCase));
246 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) ||
247 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) {
269 if (!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_REC) ||
270 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_REC) ||
271 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_FM_REC) ||
272 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL) ||
273 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_FM_A2DP_REC) ||
274 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_UL_DL_REC) ||
275 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_DL_REC) ||
276 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_INCALL_REC)) {
277 snd_use_case_set(mHandle->ucMgr, "_verb", mHandle->useCase);
279 snd_use_case_set(mHandle->ucMgr, "_enamod", mHandle->useCase);
281 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) ||
282 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) {
296 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) ||
297 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) {
314 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL) ||
315 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP)) {
433 if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECALL))) ||
434 (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) {
490 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) ||
491 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) {
516 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_INCALL_REC)) ||
517 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE))) {
579 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) ||
580 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) {
587 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_INCALL_REC)) ||
588 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE))) {