Home
last modified time | relevance | path

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

12

/device/google/cuttlefish_common/guest/hals/audio/legacy/
Dvsoc_audio_output_stream.cpp92 void operator()(str_parms* parms) const { in operator ()()
93 if (parms) { in operator ()()
94 str_parms_destroy(parms); in operator ()()
104 StrParmsPtr parms(str_parms_create_str(kv_pairs)); in SetParameters() local
107 if (str_parms_get_int(parms.get(), AUDIO_PARAMETER_STREAM_FORMAT, &fmt) in SetParameters()
114 if (str_parms_get_int(parms.get(), AUDIO_PARAMETER_STREAM_SAMPLING_RATE, in SetParameters()
121 if (str_parms_get_int(parms.get(), AUDIO_PARAMETER_STREAM_ROUTING, in SetParameters()
128 if (str_parms_get_int(parms.get(), AUDIO_PARAMETER_STREAM_CHANNELS, in SetParameters()
135 if (str_parms_get_int(parms.get(), AUDIO_PARAMETER_STREAM_FRAME_COUNT, in SetParameters()
142 if (str_parms_get_int(parms.get(), AUDIO_PARAMETER_STREAM_INPUT_SOURCE, in SetParameters()
Dvsoc_audio.cpp361 struct str_parms *parms = str_parms_create_str(kv_pairs); in SetStreamParameters() local
362 if (!parms) { in SetStreamParameters()
366 if (str_parms_get_int(parms, AUDIO_PARAMETER_STREAM_SAMPLING_RATE, in SetStreamParameters()
371 if (str_parms_get_int(parms, AUDIO_PARAMETER_STREAM_FORMAT, in SetStreamParameters()
376 if (str_parms_get_int(parms, AUDIO_PARAMETER_STREAM_ROUTING, in SetStreamParameters()
380 if (str_parms_get_int(parms, AUDIO_PARAMETER_STREAM_INPUT_SOURCE, in SetStreamParameters()
384 str_parms_destroy(parms); in SetStreamParameters()
/device/google/marlin/camera/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);
/device/google/marlin/camera/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()
/device/google/marlin/camera/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);
/device/generic/goldfish/audio/
Daudio_hw_legacy.c128 struct str_parms *parms; in out_set_parameters() local
134 parms = str_parms_create_str(kvpairs); in out_set_parameters()
136 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in out_set_parameters()
148 str_parms_destroy(parms); in out_set_parameters()
284 struct str_parms *parms; in in_set_parameters() local
290 parms = str_parms_create_str(kvpairs); in in_set_parameters()
292 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in in_set_parameters()
304 str_parms_destroy(parms); in in_set_parameters()
Daudio_hw.c305 struct str_parms *parms; in out_set_parameters() local
317 parms = str_parms_create_str(kvpairs); in out_set_parameters()
318 success = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in out_set_parameters()
330 success = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_CONNECT, in out_set_parameters()
335 success = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_DISCONNECT, in out_set_parameters()
345 str_parms_destroy(parms); in out_set_parameters()
842 struct str_parms *parms; in in_set_parameters() local
854 parms = str_parms_create_str(kvpairs); in in_set_parameters()
856 success = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in in_set_parameters()
867 success = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_CONNECT, in in_set_parameters()
[all …]
/device/google/cuttlefish_common/tools/
Dtombstone_to_line.py48 parms = [args.addr2line, '-e',
50 details = subprocess.check_output(parms).strip().split(':')
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h346 cam_stream_parm_buffer_t *parms; member
601 parm_buffer_t *parms);
603 parm_buffer_t *parms);
668 cam_stream_parm_buffer_t *parms);
672 cam_stream_parm_buffer_t *parms);
701 cam_sync_related_sensors_event_info_t *parms);
/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h473 parm_buffer_t *parms);
487 parm_buffer_t *parms);
695 cam_stream_parm_buffer_t *parms);
712 cam_stream_parm_buffer_t *parms);
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCamera.h244 virtual status_t setParameters(const char* parms);
357 static int set_parameters(struct camera_device* dev, const char* parms);
DEmulatedCamera.cpp439 status_t EmulatedCamera::setParameters(const char* parms) { in setParameters() argument
441 PrintParamDiff(mParameters, parms); in setParameters()
444 String8 str8_param(parms); in setParameters()
893 const char* parms) { in set_parameters() argument
899 return ec->setParameters(parms); in set_parameters()
/device/generic/goldfish/camera/
DEmulatedCamera.h236 virtual status_t setParameters(const char* parms);
355 static int set_parameters(struct camera_device* dev, const char* parms);
DEmulatedCamera.cpp547 status_t EmulatedCamera::setParameters(const char* parms) in setParameters() argument
550 PrintParamDiff(mParameters, parms); in setParameters()
553 String8 str8_param(parms); in setParameters()
1127 int EmulatedCamera::set_parameters(struct camera_device* dev, const char* parms) in set_parameters() argument
1134 return ec->setParameters(parms); in set_parameters()
/device/google/cuttlefish_common/guest/hals/audio/
Daudio_hw.c308 struct str_parms *parms; in out_set_parameters() local
320 parms = str_parms_create_str(kvpairs); in out_set_parameters()
321 success = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in out_set_parameters()
333 success = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_CONNECT, in out_set_parameters()
338 success = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_DISCONNECT, in out_set_parameters()
348 str_parms_destroy(parms); in out_set_parameters()
845 struct str_parms *parms; in in_set_parameters() local
857 parms = str_parms_create_str(kvpairs); in in_set_parameters()
859 success = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in in_set_parameters()
870 success = str_parms_get_str(parms, AUDIO_PARAMETER_DEVICE_CONNECT, in in_set_parameters()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c689 parm_buffer_t *parms) in mm_camera_set_parms() argument
693 if (parms != NULL) { in mm_camera_set_parms()
720 parm_buffer_t *parms) in mm_camera_get_parms() argument
724 if (parms != NULL) { in mm_camera_get_parms()
1454 cam_stream_parm_buffer_t *parms) in mm_camera_set_stream_parms() argument
1467 payload.parms = parms; in mm_camera_set_stream_parms()
1503 cam_stream_parm_buffer_t *parms) in mm_camera_get_stream_parms() argument
1516 payload.parms = parms; in mm_camera_get_stream_parms()
2376 cam_sync_related_sensors_event_info_t* parms) in mm_camera_sync_related_sensors() argument
2380 if (parms != NULL) { in mm_camera_sync_related_sensors()
Dmm_camera_interface.c220 parm_buffer_t *parms) in mm_camera_intf_set_parms() argument
231 rc = mm_camera_set_parms(my_obj, parms); in mm_camera_intf_set_parms()
257 parm_buffer_t *parms) in mm_camera_intf_get_parms() argument
268 rc = mm_camera_get_parms(my_obj, parms); in mm_camera_intf_get_parms()
1271 cam_stream_parm_buffer_t *parms) in mm_camera_intf_set_stream_parms() argument
1285 rc = mm_camera_set_stream_parms(my_obj, ch_id, s_id, parms); in mm_camera_intf_set_stream_parms()
1316 cam_stream_parm_buffer_t *parms) in mm_camera_intf_get_stream_parms() argument
1330 rc = mm_camera_get_stream_parms(my_obj, ch_id, s_id, parms); in mm_camera_intf_get_stream_parms()
/device/linaro/poplar/audio/
Daudio_hw.c198 struct str_parms *parms; in out_set_parameters() local
202 parms = str_parms_create_str(kvpairs); in out_set_parameters()
204 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, value, sizeof(value)); in out_set_parameters()
217 str_parms_destroy(parms); in out_set_parameters()
/device/generic/car/emulator/audio/driver/
Daudio_hw.c141 struct str_parms *parms; in out_set_parameters() local
152 parms = str_parms_create_str(kvpairs); in out_set_parameters()
153 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in out_set_parameters()
165 str_parms_destroy(parms); in out_set_parameters()
643 struct str_parms *parms; in in_set_parameters() local
653 parms = str_parms_create_str(kvpairs); in in_set_parameters()
655 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, in in_set_parameters()
668 str_parms_destroy(parms); in in_set_parameters()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dgen.c2094 (p->parms!=NULL)?",":"",
2095 (p->parms!=NULL)?p->parms:"");
2113 (p->parms!=NULL)?",":"",
2114 (p->parms!=NULL)?p->parms:"");
2163 (p->parms!=NULL)?",":"",
2164 (p->parms!=NULL)?p->parms:"");
2181 (p->parms!=NULL)?p->parms:"");
2222 (p->parms!=NULL)?",":"",
2223 (p->parms!=NULL)?p->parms:"");
2230 (p->parms!=NULL && *parm!='\0')?",":"",
[all …]
/device/linaro/hikey/audio/
Daudio_hw.c363 struct str_parms *parms; in out_set_parameters() local
367 parms = str_parms_create_str(kvpairs); in out_set_parameters()
369 ret = str_parms_get_str(parms, AUDIO_PARAMETER_STREAM_ROUTING, value, sizeof(value)); in out_set_parameters()
382 str_parms_destroy(parms); in out_set_parameters()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMuxer.h183 static int set_parameters(struct camera_device *, const char *parms);

12