HomeSort by relevance Sort by last modified time
    Searched full:usecase (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /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)))) {
  /device/moto/shamu/
audio_platform_info.xml 13 <usecase name="USECASE_VOICE_CALL" type="in" id="20"/>
14 <usecase name="USECASE_VOICE_CALL" type="out" id="20"/>
15 <usecase name="USECASE_VOICE2_CALL" type="in" id="25"/>
16 <usecase name="USECASE_VOICE2_CALL" type="out" id="25"/>
17 <usecase name="USECASE_VOLTE_CALL" type="in" id="21"/>
18 <usecase name="USECASE_VOLTE_CALL" type="out" id="21"/>
19 <usecase name="USECASE_QCHAT_CALL" type="in" id="33"/>
20 <usecase name="USECASE_QCHAT_CALL" type="out" id="33"/>
21 <usecase name="USECASE_VOWLAN_CALL" type="in" id="-1"/>
22 <usecase name="USECASE_VOWLAN_CALL" type="out" id="-1"/
    [all...]
  /hardware/qcom/audio/hal/
audio_hw.c 263 if (out->usecase == USECASE_AUDIO_PLAYBACK_OFFLOAD)
462 struct audio_usecase *usecase)
467 if (usecase == NULL)
470 ALOGV("%s: enter: usecase(%d)", __func__, usecase->id);
472 if (usecase->type == PCM_CAPTURE)
473 snd_device = usecase->in_snd_device;
475 snd_device = usecase->out_snd_device;
477 strcpy(mixer_path, use_case_table[usecase->id]);
479 ALOGD("%s: usecase(%d) apply and update mixer path: %s", __func__, usecase->id, mixer_path)
620 struct audio_usecase *usecase; local
688 struct audio_usecase *usecase; local
780 struct audio_usecase *usecase; local
796 struct audio_usecase *usecase; local
812 struct audio_usecase *usecase = NULL; local
1300 struct audio_usecase *usecase; local
1332 struct audio_usecase *usecase; local
1749 struct audio_usecase *usecase; local
2562 struct audio_usecase *usecase; local
    [all...]
audio_hw.h 60 * Each usecase is mapped to a specific PCM device.
83 * Following usecase are specific to voice session names created by
86 USECASE_VOICE_CALL, /* Usecase setup for voice session on first subscription for DSDS/DSDA */
87 USECASE_VOICE2_CALL, /* Usecase setup for voice session on second subscription for DSDS/DSDA */
88 USECASE_VOLTE_CALL, /* Usecase setup for VoLTE session on first subscription */
89 USECASE_QCHAT_CALL, /* Usecase setup for QCHAT session */
90 USECASE_VOWLAN_CALL, /* Usecase setup for VoWLAN session */
93 * Following usecase are specific to voice session names created by
97 USECASE_VOICEMMODE1_CALL, /* Usecase setup for Voice/VoLTE/VoWLAN sessions on first
100 USECASE_VOICEMMODE2_CALL, /* Usecase setup for voice/VoLTE/VoWLAN sessions on secon
167 audio_usecase_t usecase; member in struct:stream_out
204 audio_usecase_t usecase; member in struct:stream_in
    [all...]
platform_api.h 39 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type);
83 /* returns the latency for a usecase in Us */
84 int64_t platform_render_latency(audio_usecase_t usecase);
98 int platform_get_usecase_index(const char * usecase);
99 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id);
112 struct audio_usecase *usecase, snd_device_t snd_device);
voice.c 113 ALOGD("%s: enter usecase:%s", __func__, use_case_table[usecase_id]);
119 ALOGE("%s: Could not find the usecase (%d) in the list",
164 ALOGD("%s: enter usecase:%s", __func__, use_case_table[usecase_id]);
183 ALOGE("%s: Invalid PCM devices (rx: %d tx: %d) for the usecase(%d)",
291 in->usecase = USECASE_INCALL_REC_UPLINK;
295 in->usecase = USECASE_INCALL_REC_DOWNLINK;
299 in->usecase = USECASE_INCALL_REC_UPLINK_AND_DOWNLINK;
311 ALOGV("%s: Update usecase to %d",__func__, in->usecase);
525 struct audio_usecase *usecase; local
    [all...]
platform_info.c 81 * <usecase name="???" type="in/out" id="???"/>
106 /* mapping from usecase to pcm dev id */
118 ALOGE("%s: usecase %s in %s not found!",
124 ALOGE("%s: usecase type not mentioned", __func__);
140 ALOGE("%s: usecase id not mentioned", __func__);
147 ALOGE("%s: usecase %s in %s, type %d id %d was not set!",
338 } else if (strcmp(tag_name, "usecase") == 0) {
340 ALOGE("usecase tag only supported with PCM_ID section");
356 ALOGE("usecase tag only supported with GAIN_LEVEL_MAPPING section");
  /hardware/qcom/audio/hal/audio_extn/
ext_speaker.c 125 struct audio_usecase *usecase; local
127 usecase = node_to_item(node, struct audio_usecase, list);
128 if (usecase->devices & AUDIO_DEVICE_OUT_EARPIECE) {
129 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) {
133 if (usecase->devices & AUDIO_DEVICE_OUT_SPEAKER) {
134 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) {
dsm_feedback.c 55 ALOGE("%s: Invalid pcm device for usecase (%d)",
hfp.c 151 ALOGE("%s: Invalid PCM devices (rx: %d tx: %d asm: rx tx %d) for the usecase(%d)",
157 ALOGV("%s: HFP PCM devices (hfp rx tx: %d pcm rx tx: %d) for the usecase(%d)",
243 ALOGE("%s: Could not find the usecase (%d) in the list",
348 ALOGD("%s: set_hfp_volume usecase, Vol: [%f]", __func__, vol);
  /device/google/dragon/audio/hal/
audio_hw.c 286 struct mixer_card *uc_get_mixer_for_card(struct audio_usecase *usecase, int card)
291 list_for_each(node, &usecase->mixer_list) {
292 mixer_card = node_to_item(node, struct mixer_card, uc_list_node[usecase->id]);
407 struct audio_usecase *usecase; local
411 usecase = node_to_item(node, struct audio_usecase, adev_list_node);
412 if (usecase->id == uc_id)
413 return usecase;
421 struct audio_usecase *usecase; local
425 usecase = node_to_item(node, struct audio_usecase, adev_list_node);
426 if (usecase->type & type
523 struct audio_usecase *usecase; local
752 struct audio_usecase *usecase = NULL; local
1883 struct audio_usecase *usecase; local
2887 struct audio_usecase *usecase; local
    [all...]
audio_hw.h 158 * Each usecase is mapped to a specific PCM device.
230 audio_usecase_t usecase; member in struct:stream_out
258 audio_usecase_t usecase; member in struct:stream_in
  /device/htc/flounder/audio/hal/
audio_hw.c 318 static struct mixer_card *uc_get_mixer_for_card(struct audio_usecase *usecase, int card)
323 list_for_each(node, &usecase->mixer_list) {
324 mixer_card = node_to_item(node, struct mixer_card, uc_list_node[usecase->id]);
434 struct audio_usecase *usecase; local
438 usecase = node_to_item(node, struct audio_usecase, adev_list_node);
439 if (usecase->id == uc_id)
440 return usecase;
448 struct audio_usecase *usecase; local
452 usecase = node_to_item(node, struct audio_usecase, adev_list_node);
453 if (usecase->type & type
554 struct audio_usecase *usecase; local
802 struct audio_usecase *usecase = NULL; local
2735 struct audio_usecase *usecase; local
4138 struct audio_usecase *usecase; local
    [all...]
  /hardware/qcom/audio/legacy/libalsa-intf/
alsa_ucm.c     [all...]
  /device/google/marlin/
audio_platform_info_tasha_t50.xml 48 <usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="19" />
49 <usecase name="USECASE_AUDIO_PLAYBACK_ULL" type="out" id="19" />
audio_platform_info.xml 84 <usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="19" />
85 <usecase name="USECASE_AUDIO_PLAYBACK_ULL" type="out" id="19" />
  /hardware/qcom/audio/hal/msm8960/
platform.c 403 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type)
407 device_id = pcm_device_table[usecase][0];
409 device_id = pcm_device_table[usecase][1];
1045 struct audio_usecase *usecase; local
    [all...]
  /hardware/qcom/audio/hal/msm8974/
platform.c 632 struct audio_usecase *usecase; local
640 ALOGV("%s: Not Voice call usecase, apply new cal for level %d",
646 usecase = node_to_item(node, struct audio_usecase, list);
648 if (usecase != NULL &&
649 usecase->type == PCM_PLAYBACK &&
650 (usecase->stream.out->devices == AUDIO_DEVICE_OUT_SPEAKER)) {
652 ALOGV("%s: out device is %d", __func__, usecase->out_snd_device);
654 acdb_dev_id = audio_extn_spkr_prot_get_acdb_id(usecase->out_snd_device);
656 acdb_dev_id = acdb_device_table[usecase->out_snd_device];
667 ALOGW("%s: Usecase list is empty", __func__)
2740 struct audio_usecase *usecase; local
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/bridge/
CommandLineSerializer.java 33 * <p>Java serialization is a appropriate in this usecase because there are no compatibility
  /device/moto/shamu/power/
power_shamu.c 140 /* HDR usecase started */
142 /* HDR usecase stopped */
  /hardware/qcom/display/msm8996/libgralloc1/
gralloc_priv.h 59 /* This flag is set for WFD usecase */
62 /* This flag is used for SECURE display usecase */

Completed in 652 milliseconds

1 2 3 4