Lines Matching refs:useCase
87 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER) || in setVolume()
88 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA)) { in setVolume()
94 else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_TUNNEL) || in setVolume()
95 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_TUNNEL)) { in setVolume()
101 else if(!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, in setVolume()
102 sizeof(mHandle->useCase)) || !strncmp(mHandle->useCase, in setVolume()
103 SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase))) { in setVolume()
124 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && in write()
125 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in write()
128 ALOGD("mHandle->useCase: %s", mHandle->useCase); in write()
131 if(!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP)){ in write()
132 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, in write()
134 } else if(!strcmp(mHandle->useCase,SND_USE_CASE_MOD_PLAY_MUSIC2)) { in write()
135 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI2, in write()
137 } else if (!strcmp(mHandle->useCase,SND_USE_CASE_MOD_PLAY_MUSIC)){ in write()
138 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI, in write()
140 } else if(!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC)) { in write()
141 strlcpy(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, in write()
145 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)){ in write()
146 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, in write()
148 } else if(!strcmp(mHandle->useCase,SND_USE_CASE_VERB_HIFI2)) { in write()
149 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_MUSIC2, in write()
151 } else if (!strcmp(mHandle->useCase,SND_USE_CASE_VERB_HIFI)){ in write()
152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_MUSIC, in write()
154 } else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC)) { in write()
155 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LOWLATENCY_MUSIC, in write()
160 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in write()
161 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in write()
183 if (!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI) || in write()
184 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI2) || in write()
185 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC) || in write()
186 !strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) { in write()
187 snd_use_case_set(mHandle->ucMgr, "_verb", mHandle->useCase); in write()
189 snd_use_case_set(mHandle->ucMgr, "_enamod", mHandle->useCase); in write()
191 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in write()
192 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in write()
205 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in write()
206 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in write()
225 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL) || in write()
226 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP)) { in write()
257 …if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECA… in write()
258 … (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) { in write()
302 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in close()
303 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in close()
320 else if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER)) || in close()
321 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA))) { in close()
341 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in standby()
342 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in standby()
347 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER)) || in standby()
348 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA))) { in standby()