/hardware/qcom/audio/legacy/alsa_sound/ |
AudioStreamOutALSA.cpp | 87 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER) || 88 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA)) { 94 else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_TUNNEL) || 95 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_TUNNEL)) { 101 else if(!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, 102 sizeof(mHandle->useCase)) || !strncmp(mHandle->useCase, 103 SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase))) { 124 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && 125 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) [all...] |
alsa_default.cpp | 200 int getUseCaseType(const char *useCase); 226 strlcat(ident, handle->useCase, sizeof(ident)); 284 if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) 285 || !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC))) { 286 ALOGV("HWParams: Use 4 channels in kernel for 5.1(%s) recording ", handle->useCase); 334 if (strcmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC) && 335 strcmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC) && 360 if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) 361 || !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC))) { 362 ALOGV("SWParams: Use 4 channels in kernel for 5.1(%s) recording ", handle->useCase); [all...] |
AudioStreamInALSA.cpp | 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)); [all...] |
AudioHardwareALSA.cpp | 218 it->useCase[0] = 0; 656 if((!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER)) || 657 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_LPA))) { 662 } else if((!strcmp(it->useCase, SND_USE_CASE_VERB_VOICECALL)) || 663 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOICE))) { 670 }else if((!strcmp(it->useCase, SND_USE_CASE_VERB_DIGITAL_RADIO)) || 671 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_FM))) { 751 if((!strcmp(it->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || 752 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { 791 strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase)) [all...] |
ALSAStreamOps.cpp | 58 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || 59 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { 75 it->useCase[0] = 0; 252 if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECALL))) || 253 (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) 351 if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECALL))) || 352 (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) {
|
/hardware/qcom/audio/hal/ |
platform_api.h | 25 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type); 50 /* returns the latency for a usecase in Us */ 51 int64_t platform_render_latency(audio_usecase_t usecase); 64 int platform_get_usecase_index(const char * usecase); 65 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id);
|
audio_hw.c | 213 struct audio_usecase *usecase) 218 if (usecase == NULL) 221 ALOGV("%s: enter: usecase(%d)", __func__, usecase->id); 223 if (usecase->type == PCM_CAPTURE) 224 snd_device = usecase->in_snd_device; 226 snd_device = usecase->out_snd_device; 228 strcpy(mixer_path, use_case_table[usecase->id]); 238 struct audio_usecase *usecase) 243 if (usecase == NULL 314 struct audio_usecase *usecase; local 381 struct audio_usecase *usecase; local 470 struct audio_usecase *usecase; local 486 struct audio_usecase *usecase; local 502 struct audio_usecase *usecase = NULL; local 899 struct audio_usecase *usecase; local 931 struct audio_usecase *usecase; local 1280 struct audio_usecase *usecase; local 1869 struct audio_usecase *usecase; local 2203 struct audio_usecase *usecase; local [all...] |
voice.c | 60 ALOGD("%s: enter usecase:%s", __func__, use_case_table[usecase_id]); 79 ALOGE("%s: Could not find the usecase (%d) in the list", 106 ALOGD("%s: enter usecase:%s", __func__, use_case_table[usecase_id]); 125 ALOGE("%s: Invalid PCM devices (rx: %d tx: %d) for the usecase(%d)", 228 in->usecase = USECASE_INCALL_REC_UPLINK; 232 in->usecase = USECASE_INCALL_REC_DOWNLINK; 236 in->usecase = USECASE_INCALL_REC_UPLINK_AND_DOWNLINK; 248 ALOGV("%s: Update usecase to %d",__func__, in->usecase); 458 struct audio_usecase *usecase; local [all...] |
platform_info.c | 66 * <usecase name="???" type="in/out" id="???"/> 77 /* mapping from usecase to pcm dev id */ 89 ALOGE("%s: usecase %s in %s not found!", 95 ALOGE("%s: usecase type not mentioned", __func__); 111 ALOGE("%s: usecase id not mentioned", __func__); 118 ALOGE("%s: usecase %s in %s, type %d id %d was not set!", 214 } else if (strcmp(tag_name, "usecase") == 0) { 216 ALOGE("usecase tag only supported with PCM_ID section");
|
audio_hw.h | 50 * Each usecase is mapped to a specific PCM device. 133 audio_usecase_t usecase; member in struct:stream_out 166 audio_usecase_t usecase; member in struct:stream_in 229 * or other capabilities are present for the device corresponding to that usecase. 241 struct audio_usecase *usecase); 250 struct audio_usecase *usecase);
|
/hardware/qcom/audio/hal/audio_extn/ |
ext_speaker.c | 124 struct audio_usecase *usecase; local 126 usecase = node_to_item(node, struct audio_usecase, list); 127 if (usecase->devices & AUDIO_DEVICE_OUT_EARPIECE) { 128 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { 132 if (usecase->devices & AUDIO_DEVICE_OUT_SPEAKER) { 133 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) {
|
hfp.c | 137 ALOGE("%s: Invalid PCM devices (rx: %d tx: %d asm: rx tx %d) for the usecase(%d)", 143 ALOGV("%s: HFP PCM devices (hfp rx tx: %d pcm rx tx: %d) for the usecase(%d)", 229 ALOGE("%s: Could not find the usecase (%d) in the list", 315 ALOGD("%s: set_hfp_volume usecase, Vol: [%f]", __func__, vol);
|
/device/htc/flounder/audio/hal/ |
audio_hw.c | 312 struct mixer_card *uc_get_mixer_for_card(struct audio_usecase *usecase, int card) 317 list_for_each(node, &usecase->mixer_list) { 318 mixer_card = node_to_item(node, struct mixer_card, uc_list_node[usecase->id]); 428 struct audio_usecase *usecase; local 432 usecase = node_to_item(node, struct audio_usecase, adev_list_node); 433 if (usecase->id == uc_id) 434 return usecase; 442 struct audio_usecase *usecase; local 446 usecase = node_to_item(node, struct audio_usecase, adev_list_node); 447 if (usecase->type & type 548 struct audio_usecase *usecase; local 783 struct audio_usecase *usecase = NULL; local 2713 struct audio_usecase *usecase; local 4045 struct audio_usecase *usecase; local [all...] |
audio_hw.h | 187 * Each usecase is mapped to a specific PCM device. 278 audio_usecase_t usecase; member in struct:stream_out 319 audio_usecase_t usecase; member in struct:stream_in
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_ucm.c | [all...] |
/device/moto/shamu/power/ |
power_shamu.c | 140 /* HDR usecase started */ 142 /* HDR usecase stopped */
|
/hardware/qcom/power/ |
power.c | 135 /* HDR usecase started */ 137 /* HDR usecase stopped */
|
/hardware/qcom/audio/hal/msm8960/ |
platform.c | 398 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) 402 device_id = pcm_device_table[usecase][0]; 404 device_id = pcm_device_table[usecase][1]; [all...] |
/hardware/qcom/audio/hal/msm8974/ |
platform.c | 838 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) 842 device_id = pcm_device_table[usecase][0]; 844 device_id = pcm_device_table[usecase][1]; [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
r1updt.h | 25 // r1updt had a broader usecase, but we dont use it here. And, more
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
InitiationListener.java | 33 * href="http://xmpp.org/extensions/xep-0065.html#usecase-alternate">XEP-0065</a> Section 5.2.A2).
|
/hardware/qcom/audio/hal/voice_extn/ |
voice_extn.c | 168 ALOGE("%s: voice_start_usecase() failed for usecase: %d\n", 206 ALOGE("%s: voice_stop_usecase() failed for usecase: %d\n", 558 out->usecase = USECASE_INCALL_MUSIC_UPLINK; 560 out->usecase = USECASE_INCALL_MUSIC_UPLINK2;
|
/device/asus/flo/power/ |
power_flo.c | 289 /* HDR usecase started */ 291 /* HDR usecase stopped */
|
/device/lge/hammerhead/power/ |
power_hammerhead.c | 289 /* HDR usecase started */ 291 /* HDR usecase stopped */
|
/device/lge/mako/power/ |
power_mako.c | 289 /* HDR usecase started */ 291 /* HDR usecase stopped */
|