Home
last modified time | relevance | path

Searched refs:parms (Results 1 – 25 of 45) sorted by relevance

12

/hardware/qcom/audio/hal/audio_extn/
Daudiozoom.c191 struct str_parms *parms = str_parms_create(); in audio_extn_audiozoom_set_microphone_field_dimension_zoom() local
204 str_parms_add_int(parms, "cal_devid", in->device); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
205 str_parms_add_int(parms, "cal_apptype", in->app_type_cfg.app_type); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
206 str_parms_add_int(parms, "cal_topoid", qdsp_audiozoom.topo_id); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
207 str_parms_add_int(parms, "cal_moduleid", qdsp_audiozoom.module_id); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
208 str_parms_add_int(parms, "cal_instanceid", qdsp_audiozoom.instance_id); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
209 str_parms_add_int(parms, "cal_paramid", qdsp_audiozoom.zoom_param_id); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
213 str_parms_add_str(parms, "cal_data", data); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
215 platform_set_parameters(adev->platform, parms); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
220 str_parms_destroy(parms); in audio_extn_audiozoom_set_microphone_field_dimension_zoom()
Daudio_extn.h69 struct str_parms *parms);
81 #define audio_extn_usb_set_sidetone_gain(parms, value, len) (0) argument
100 int audio_extn_usb_set_sidetone_gain(struct str_parms *parms,
122 #define audio_extn_sound_trigger_set_parameters(adev, parms) (0) argument
144 struct str_parms *parms);
155 #define audio_extn_a2dp_set_parameters(parms, reconfig) (0) argument
167 int audio_extn_a2dp_set_parameters(struct str_parms *parms, bool *reconfig);
222 typedef void (* snd_mon_cb)(void * stream, struct str_parms * parms);
Dhfp.c44 struct str_parms *parms);
244 struct str_parms *parms __unused) in start_hfp()
430 void audio_extn_hfp_set_parameters(struct audio_device *adev, struct str_parms *parms) in audio_extn_hfp_set_parameters() argument
438 ret = str_parms_get_str(parms, AUDIO_PARAMETER_HFP_ENABLE, value, in audio_extn_hfp_set_parameters()
443 start_hfp(adev,parms); in audio_extn_hfp_set_parameters()
454 ret = str_parms_get_str(parms,AUDIO_PARAMETER_HFP_SET_SAMPLING_RATE, value, in audio_extn_hfp_set_parameters()
470 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in audio_extn_hfp_set_parameters()
480 ret = str_parms_get_str(parms, AUDIO_PARAMETER_HFP_VOL_MIXER_CTL, in audio_extn_hfp_set_parameters()
485 str_parms_del(parms, AUDIO_PARAMETER_HFP_VOL_MIXER_CTL); in audio_extn_hfp_set_parameters()
489 ret = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_HFP_VOLUME, in audio_extn_hfp_set_parameters()
[all …]
Dmaxxaudio.h34 struct str_parms *parms);
Dmaxxaudio.c739 struct str_parms *parms) in audio_extn_ma_set_parameters() argument
747 ret = str_parms_get_int(parms, "rotation", &val); in audio_extn_ma_set_parameters()
773 ret = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_CONNECT, value, in audio_extn_ma_set_parameters()
778 ret = str_parms_get_str(parms, "card", value, sizeof(value)); in audio_extn_ma_set_parameters()
787 ret = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_DISCONNECT, value, in audio_extn_ma_set_parameters()
792 ret = str_parms_get_str(parms, "card", value, sizeof(value)); in audio_extn_ma_set_parameters()
Dsndmonitor.c583 struct str_parms *parms = str_parms_create_str(msg); in snd_mon_update() local
585 if (!parms) in snd_mon_update()
589 hashmapForEach(sndmonitor.listeners, snd_cb, parms); in snd_mon_update()
592 str_parms_destroy(parms); in snd_mon_update()
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp190 AudioParameter parms = AudioParameter(String8(kvpairs)); in out_set_parameters() local
192 if (parms.getInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val) == NO_ERROR) { in out_set_parameters()
194 parms.remove(String8(AUDIO_PARAMETER_STREAM_ROUTING)); in out_set_parameters()
195 parms.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val); in out_set_parameters()
196 s8 = parms.toString(); in out_set_parameters()
211 AudioParameter parms = AudioParameter(s8); in out_get_parameters() local
212 if (parms.getInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val) == NO_ERROR) { in out_get_parameters()
214 parms.remove(String8(AUDIO_PARAMETER_STREAM_ROUTING)); in out_get_parameters()
215 parms.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val); in out_get_parameters()
216 s8 = parms.toString(); in out_get_parameters()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp210 AudioParameter parms = AudioParameter(String8(kvpairs)); in out_set_parameters() local
212 if (parms.getInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val) == NO_ERROR) { in out_set_parameters()
214 parms.remove(String8(AUDIO_PARAMETER_STREAM_ROUTING)); in out_set_parameters()
215 parms.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val); in out_set_parameters()
216 s8 = parms.toString(); in out_set_parameters()
231 AudioParameter parms = AudioParameter(s8); in out_get_parameters() local
232 if (parms.getInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val) == NO_ERROR) { in out_get_parameters()
234 parms.remove(String8(AUDIO_PARAMETER_STREAM_ROUTING)); in out_get_parameters()
235 parms.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val); in out_get_parameters()
236 s8 = parms.toString(); in out_get_parameters()
[all …]
/hardware/qcom/audio/hal/
Dacdb.c154 int acdb_set_parameters(void *platform, struct str_parms *parms) in acdb_set_parameters() argument
158 char *kv_pairs = str_parms_to_str(parms); in acdb_set_parameters()
167 ret = str_parms_get_str(parms, PLATFORM_CONFIG_KEY_SOUNDCARD_NAME, in acdb_set_parameters()
170 str_parms_del(parms, PLATFORM_CONFIG_KEY_SOUNDCARD_NAME); in acdb_set_parameters()
Dvoice.c468 int voice_set_parameters(struct audio_device *adev, struct str_parms *parms) in voice_set_parameters() argument
474 char *kv_pairs = str_parms_to_str(parms); in voice_set_parameters()
478 ret = voice_extn_set_parameters(adev, parms); in voice_set_parameters()
487 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_TTY_MODE, value, sizeof(value)); in voice_set_parameters()
490 str_parms_del(parms, AUDIO_PARAMETER_KEY_TTY_MODE); in voice_set_parameters()
512 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_HAC, in voice_set_parameters()
516 str_parms_del(parms, AUDIO_PARAMETER_KEY_HAC); in voice_set_parameters()
527 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_INCALLMUSIC, in voice_set_parameters()
530 str_parms_del(parms, AUDIO_PARAMETER_KEY_INCALLMUSIC); in voice_set_parameters()
Dacdb.h61 int acdb_set_parameters(void *platform, struct str_parms *parms);
Daudio_hw.c470 static int parse_snd_card_status(struct str_parms * parms, int * card, in parse_snd_card_status() argument
476 int ret = str_parms_get_str(parms, "SND_CARD_STATUS", value, sizeof(value)); in parse_snd_card_status()
2914 static int parse_compress_metadata(struct stream_out *out, struct str_parms *parms) in parse_compress_metadata() argument
2920 if (!out || !parms) { in parse_compress_metadata()
2924 ret = str_parms_get_str(parms, AUDIO_OFFLOAD_CODEC_DELAY_SAMPLES, value, sizeof(value)); in parse_compress_metadata()
2931 ret = str_parms_get_str(parms, AUDIO_OFFLOAD_CODEC_PADDING_SAMPLES, value, sizeof(value)); in parse_compress_metadata()
2951 static int get_alive_usb_card(struct str_parms* parms) { in get_alive_usb_card() argument
2953 if ((str_parms_get_int(parms, "card", &card) >= 0) && in get_alive_usb_card()
2966 struct str_parms *parms; in out_set_parameters() local
2975 parms = str_parms_create_str(kvpairs); in out_set_parameters()
[all …]
Dplatform_api.h145 typedef int (*set_parameters_fn)(void *platform, struct str_parms *parms);
163 int platform_set_parameters(void *platform, struct str_parms *parms);
/hardware/qcom/audio/hal/voice_extn/
Dvoice_extn.c455 struct str_parms *parms) in voice_extn_set_parameters() argument
460 char *kv_pairs = str_parms_to_str(parms); in voice_extn_set_parameters()
465 err = str_parms_get_int(parms, AUDIO_PARAMETER_KEY_VSID, &value); in voice_extn_set_parameters()
467 str_parms_del(parms, AUDIO_PARAMETER_KEY_VSID); in voice_extn_set_parameters()
470 err = str_parms_get_int(parms, AUDIO_PARAMETER_KEY_CALL_STATE, &value); in voice_extn_set_parameters()
473 str_parms_del(parms, AUDIO_PARAMETER_KEY_CALL_STATE); in voice_extn_set_parameters()
490 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_DEVICE_MUTE, str_value, in voice_extn_set_parameters()
493 str_parms_del(parms, AUDIO_PARAMETER_KEY_DEVICE_MUTE); in voice_extn_set_parameters()
500 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_DIRECTION, str_value, in voice_extn_set_parameters()
503 str_parms_del(parms, AUDIO_PARAMETER_KEY_DIRECTION); in voice_extn_set_parameters()
Dvoice_extn.h28 struct str_parms *parms);
60 struct str_parms *parms __unused) in voice_extn_set_parameters()
/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/
DQualcommCamera.cpp382 int set_parameters(struct camera_device * device, const char *parms) in set_parameters() argument
388 if(hardware != NULL && parms){ in set_parameters()
389 rc = hardware->set_parameters(device, parms); in set_parameters()
399 char *parms = NULL; in get_parameters() local
400 parms = hardware->get_parameters(device); in get_parameters()
401 return parms; in get_parameters()
DQualcommCamera.h87 int set_parameters(struct camera_device *, const char *parms);
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraUsbParm.cpp319 char *parms = NULL; in usbCamGetParameters() local
331 parms = rc; in usbCamGetParameters()
334 PRINT_PARAM_STR(parms); in usbCamGetParameters()
337 return (parms); in usbCamGetParameters()
353 void usbCamPutParameters(camera_hardware_t *camHal, char *parms) in usbCamPutParameters() argument
356 if(parms) in usbCamPutParameters()
357 free(parms); in usbCamPutParameters()
358 parms = NULL; in usbCamPutParameters()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dbt_amp_hci.h32 uint8 parms[1];
35 #define HCI_CMD_PREAMBLE_SIZE OFFSETOF(amp_hci_cmd_t, parms)
176 uint8 parms[1];
179 #define HCI_EVT_PREAMBLE_SIZE OFFSETOF(amp_hci_event_t, parms)
218 uint8 parms[1];
358 uint8 parms[1];
/hardware/qcom/camera/msm8998/usbcamcore/inc/
DQCameraUsbPriv.h86 #define PRINT_PARAM_STR(parms) {\ argument
90 strlcpy(temp,parms+n,1000);\
DQCameraUsbParm.h174 void usbCamPutParameters(camera_hardware_t *camHal, char *parms);
DQualcommUsbCamera.h206 int usbcam_set_parameters(struct camera_device *, const char *parms);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera_muxer.h77 parm_buffer_t *parms, mm_camera_obj_t *cam_obj);
79 parm_buffer_t *parms, mm_camera_obj_t *cam_obj);
121 uint32_t ch_id, uint32_t s_id, cam_stream_parm_buffer_t *parms,
124 uint32_t ch_id, uint32_t s_id, cam_stream_parm_buffer_t *parms,
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h513 parm_buffer_t *parms);
527 parm_buffer_t *parms);
735 cam_stream_parm_buffer_t *parms);
752 cam_stream_parm_buffer_t *parms);
/hardware/qcom/audio/hal/msm8974/
Dplatform.c904 static int parse_audiocal_cfg(struct str_parms *parms, acdb_audio_cal_cfg_t *cal) in parse_audiocal_cfg() argument
910 if (parms == NULL || cal == NULL) in parse_audiocal_cfg()
913 err = str_parms_get_str(parms, "cal_persist", value, sizeof(value)); in parse_audiocal_cfg()
915 str_parms_del(parms, "cal_persist"); in parse_audiocal_cfg()
919 err = str_parms_get_str(parms, "cal_apptype", value, sizeof(value)); in parse_audiocal_cfg()
921 str_parms_del(parms, "cal_apptype"); in parse_audiocal_cfg()
925 err = str_parms_get_str(parms, "cal_caltype", value, sizeof(value)); in parse_audiocal_cfg()
927 str_parms_del(parms, "cal_caltype"); in parse_audiocal_cfg()
931 err = str_parms_get_str(parms, "cal_samplerate", value, sizeof(value)); in parse_audiocal_cfg()
933 str_parms_del(parms, "cal_samplerate"); in parse_audiocal_cfg()
[all …]

12