Lines Matching refs:useCase

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