Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp188 AudioParameter parms = AudioParameter(String8(kvpairs)); in out_set_parameters() local
190 if (parms.getInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val) == NO_ERROR) { in out_set_parameters()
192 parms.remove(String8(AUDIO_PARAMETER_STREAM_ROUTING)); in out_set_parameters()
193 parms.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val); in out_set_parameters()
194 s8 = parms.toString(); in out_set_parameters()
209 AudioParameter parms = AudioParameter(s8); in out_get_parameters() local
210 if (parms.getInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val) == NO_ERROR) { in out_get_parameters()
212 parms.remove(String8(AUDIO_PARAMETER_STREAM_ROUTING)); in out_get_parameters()
213 parms.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), val); in out_get_parameters()
214 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/audio_extn/
Dhfp.c36 struct str_parms *parms);
111 struct str_parms *parms __unused) in start_hfp()
264 void audio_extn_hfp_set_parameters(struct audio_device *adev, struct str_parms *parms) in audio_extn_hfp_set_parameters() argument
272 ret = str_parms_get_str(parms, AUDIO_PARAMETER_HFP_ENABLE, value, in audio_extn_hfp_set_parameters()
276 ret = start_hfp(adev,parms); in audio_extn_hfp_set_parameters()
281 ret = str_parms_get_str(parms,AUDIO_PARAMETER_HFP_SET_SAMPLING_RATE, value, in audio_extn_hfp_set_parameters()
297 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in audio_extn_hfp_set_parameters()
307 ret = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_HFP_VOLUME, in audio_extn_hfp_set_parameters()
Daudio_extn.h38 struct str_parms *parms);
/hardware/qcom/audio/hal/voice_extn/
Dvoice_extn.c430 struct str_parms *parms) in voice_extn_set_parameters() argument
435 char *kv_pairs = str_parms_to_str(parms); in voice_extn_set_parameters()
440 err = str_parms_get_int(parms, AUDIO_PARAMETER_KEY_VSID, &value); in voice_extn_set_parameters()
442 str_parms_del(parms, AUDIO_PARAMETER_KEY_VSID); in voice_extn_set_parameters()
445 err = str_parms_get_int(parms, AUDIO_PARAMETER_KEY_CALL_STATE, &value); in voice_extn_set_parameters()
448 str_parms_del(parms, AUDIO_PARAMETER_KEY_CALL_STATE); in voice_extn_set_parameters()
465 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_DEVICE_MUTE, str_value, in voice_extn_set_parameters()
468 str_parms_del(parms, AUDIO_PARAMETER_KEY_DEVICE_MUTE); in voice_extn_set_parameters()
475 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_DIRECTION, str_value, in voice_extn_set_parameters()
478 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/audio/hal/
Dvoice.c359 int voice_set_parameters(struct audio_device *adev, struct str_parms *parms) in voice_set_parameters() argument
365 char *kv_pairs = str_parms_to_str(parms); in voice_set_parameters()
369 ret = voice_extn_set_parameters(adev, parms); in voice_set_parameters()
378 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_TTY_MODE, value, sizeof(value)); in voice_set_parameters()
381 str_parms_del(parms, AUDIO_PARAMETER_KEY_TTY_MODE); in voice_set_parameters()
403 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_HAC, in voice_set_parameters()
407 str_parms_del(parms, AUDIO_PARAMETER_KEY_HAC); in voice_set_parameters()
418 err = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_INCALLMUSIC, in voice_set_parameters()
421 str_parms_del(parms, AUDIO_PARAMETER_KEY_INCALLMUSIC); in voice_set_parameters()
Daudio_hw.c1247 static int parse_compress_metadata(struct stream_out *out, struct str_parms *parms) in parse_compress_metadata() argument
1253 if (!out || !parms) { in parse_compress_metadata()
1257 ret = str_parms_get_str(parms, AUDIO_OFFLOAD_CODEC_DELAY_SAMPLES, value, sizeof(value)); in parse_compress_metadata()
1264 ret = str_parms_get_str(parms, AUDIO_OFFLOAD_CODEC_PADDING_SAMPLES, value, sizeof(value)); in parse_compress_metadata()
1290 struct str_parms *parms; in out_set_parameters() local
1298 parms = str_parms_create_str(kvpairs); in out_set_parameters()
1299 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, value, sizeof(value)); in out_set_parameters()
1362 parse_compress_metadata(out, parms); in out_set_parameters()
1365 str_parms_destroy(parms); in out_set_parameters()
1753 struct str_parms *parms; in in_set_parameters() local
[all …]
Dvoice.h77 int voice_set_parameters(struct audio_device *adev, struct str_parms *parms);
/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/libhardware/modules/usbaudio/
Daudio_hw.c319 struct str_parms * parms = str_parms_create_str(kvpairs); in out_set_parameters() local
323 param_val = str_parms_get_str(parms, "card", value, sizeof(value)); in out_set_parameters()
327 param_val = str_parms_get_str(parms, "device", value, sizeof(value)); in out_set_parameters()
350 str_parms_destroy(parms); in out_set_parameters()
704 struct str_parms * parms = str_parms_create_str(kvpairs); in in_set_parameters() local
710 param_val = str_parms_get_str(parms, "card", value, sizeof(value)); in in_set_parameters()
714 param_val = str_parms_get_str(parms, "device", value, sizeof(value)); in in_set_parameters()
738 str_parms_destroy(parms); in in_set_parameters()
1012 struct str_parms * parms = str_parms_create_str(kvpairs); in adev_set_parameters() local
1015 param_val = str_parms_get_str(parms, "disconnect", value, sizeof(value)); in adev_set_parameters()
[all …]
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c396 struct str_parms *parms; in out_set_parameters() local
402 parms = str_parms_create_str(kvpairs); in out_set_parameters()
406 if (parms == NULL) { in out_set_parameters()
412 ret = str_parms_get_str(parms, "card", value, sizeof(value)); in out_set_parameters()
416 ret = str_parms_get_str(parms, "device", value, sizeof(value)); in out_set_parameters()
421 str_parms_destroy(parms); in out_set_parameters()
/hardware/libhardware/include/hardware/
Dcamera.h252 int (*set_parameters)(struct camera_device *, const char *parms);
/hardware/ti/omap4xxx/camera/
DCameraHal_Module.cpp377 static void camera_put_parameters(struct camera_device *device, char *parms) in camera_put_parameters() argument
388 gCameraHals[ti_dev->cameraid]->putParameters(parms); in camera_put_parameters()
DCameraHal.cpp2698 void CameraHal::putParameters(char *parms) in putParameters() argument
2700 free(parms); in putParameters()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_ssim_opt.asm152 ; all the parms needed for 16x16 ssim so we can play with dssim as distortion
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
Dssim_opt.asm152 ; all the parms needed for 16x16 ssim so we can play with dssim as distortion
/hardware/ti/omap4-aah/camera/
DCameraHal_Module.cpp500 static void camera_put_parameters(struct camera_device *device, char *parms) in camera_put_parameters() argument
511 gCameraHals[ti_dev->cameraid]->putParameters(parms); in camera_put_parameters()
DCameraHal.cpp3749 void CameraHal::putParameters(char *parms) in putParameters() argument
3751 free(parms); in putParameters()
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c46 extern void BVDump(const char* prefix, const char* tab, const struct bvbltparams* parms);
47 #define BVDUMP(p,t,parms) BVDump(p, t, parms) argument
52 #define BVDUMP(p,t,parms) argument
1169 extern void BVDump(const char* prefix, const char* tab, const struct bvbltparams* parms);
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCameraHWInterface.cpp4379 const char *parms) in HAL_camera_device_set_parameters() argument
4382 String8 str(parms); in HAL_camera_device_set_parameters()
4392 CameraParameters parms = obj(dev)->getParameters(); in HAL_camera_device_get_parameters() local
4393 str = parms.flatten(); in HAL_camera_device_get_parameters()
4397 static void HAL_camera_device_put_parameters(struct camera_device *dev, char *parms) in HAL_camera_device_put_parameters() argument
4400 free(parms); in HAL_camera_device_put_parameters()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp646 AudioParameter parms = AudioParameter(String8(kvpairs)); in audio_config_compare() local
651 if ((parms.getInt(String8("exiting"), exiting) == NO_ERROR) && (exiting > 0)) { in audio_config_compare()