Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 53) sorted by relevance

123

/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.cpp135 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
143 if (param.get(key, value) == NO_ERROR) { in setParameters()
148 param.remove(key); in setParameters()
151 if (param.get(key, value) == NO_ERROR) { in setParameters()
156 param.remove(key); in setParameters()
159 if (param.size()) { in setParameters()
160 status_t hwStatus = mHardwareInterface->setParameters(param.toString()); in setParameters()
171 AudioParameter param = AudioParameter(keys); in getParameters() local
177 if (param.get(key, value) == NO_ERROR) { in getParameters()
180 param.remove(key); in getParameters()
[all …]
DAudioHardwareGeneric.cpp272 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
278 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
280 param.remove(key); in setParameters()
283 if (param.size()) { in setParameters()
291 AudioParameter param = AudioParameter(keys); in getParameters() local
295 if (param.get(key, value) == NO_ERROR) { in getParameters()
296 param.addInt(key, (int)mDevice); in getParameters()
299 ALOGV("getParameters() %s", param.toString().string()); in getParameters()
300 return param.toString(); in getParameters()
380 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
[all …]
DAudioDumpInterface.cpp191 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
196 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in setParameters()
198 param.remove(String8("test_cmd_file_name")); in setParameters()
200 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in setParameters()
202 param.remove(String8("test_cmd_policy")); in setParameters()
203 mPolicyCommands = param.toString(); in setParameters()
214 AudioParameter param = AudioParameter(keys); in getParameters() local
219 if (param.get(String8("test_cmd_policy"), value) == NO_ERROR) { in getParameters()
227 param.remove(String8("test_cmd_policy")); in getParameters()
231 if (param.get(String8("test_cmd_file_name"), value) == NO_ERROR) { in getParameters()
[all …]
DAudioHardwareStub.cpp157 AudioParameter param = AudioParameter(keys); in getParameters() local
158 return param.toString(); in getParameters()
203 AudioParameter param = AudioParameter(keys); in getParameters() local
204 return param.toString(); in getParameters()
DAudioHardwareInterface.cpp108 AudioParameter param = AudioParameter(keys); in getParameters() local
109 return param.toString(); in getParameters()
DAudioPolicyManagerBase.cpp105 AudioParameter param; in setDeviceConnectionState() local
106 param.add(String8(AUDIO_PARAMETER_A2DP_SINK_ADDRESS), String8(device_address)); in setDeviceConnectionState()
107 paramStr = param.toString(); in setDeviceConnectionState()
231 AudioParameter param = AudioParameter(); in setDeviceConnectionState() local
232 param.addInt(String8(AudioParameter::keyRouting), (int)newDevice); in setDeviceConnectionState()
233 mpClientInterface->setParameters(activeInput, param.toString()); in setDeviceConnectionState()
464 AudioParameter param = AudioParameter(); in setForceUse() local
465 param.addInt(String8(AudioParameter::keyRouting), (int)newDevice); in setForceUse()
466 mpClientInterface->setParameters(activeInput, param.toString()); in setForceUse()
948 AudioParameter param = AudioParameter(); in startInput() local
[all …]
/hardware/qcom/display/libqdutils/
DqdMetaData.cpp37 void *param) { in setMetaData() argument
46 if (!param) { in setMetaData()
61 memcpy((void *)&data->hsicData, param, sizeof(HSICData_t)); in setMetaData()
64 data->sharpness = *((int32_t *)param); in setMetaData()
67 data->video_interface = *((int32_t *)param); in setMetaData()
70 data->interlaced = *((int32_t *)param); in setMetaData()
73 memcpy((void *)&data->igcData, param, sizeof(IGCData_t)); in setMetaData()
76 memcpy((void *)&data->Sharp2Data, param, sizeof(Sharp2Data_t)); in setMetaData()
/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp190 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
198 if (param.getInt(key_input, source) == NO_ERROR) { in setParameters()
201 param.remove(key_input); in setParameters()
205 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
220 param.remove(key); in setParameters()
225 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
231 param.remove(key); in setParameters()
241 AudioParameter param = AudioParameter(keys); in getParameters() local
245 if (param.get(key, value) == NO_ERROR) { in getParameters()
246 param.addInt(key, (int)mDevices); in getParameters()
[all …]
DAudioHardwareALSA.cpp340 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
350 if (param.get(key, value) == NO_ERROR) { in setParameters()
370 if (param.get(key, value) == NO_ERROR) { in setParameters()
391 if (param.get(key, value) == NO_ERROR) { in setParameters()
412 if (param.get(key, value) == NO_ERROR) { in setParameters()
425 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
430 param.remove(key); in setParameters()
434 if (param.getInt(key, btRate) == NO_ERROR) { in setParameters()
436 param.remove(key); in setParameters()
440 if (param.get(key, value) == NO_ERROR) { in setParameters()
[all …]
/hardware/broadcom/libbt/src/
Dbt_vendor_brcm.c39 #define BTVNDDBG(param, ...) {ALOGD(param, ## __VA_ARGS__);} argument
41 #define BTVNDDBG(param, ...) {} argument
130 static int op(bt_vendor_opcode_t opcode, void *param) in op() argument
140 int *state = (int *) param; in op()
166 int (*fd_array)[] = (int (*)[]) param; in op()
188 uint32_t *timeout_ms = (uint32_t *) param; in op()
195 uint8_t *mode = (uint8_t *) param; in op()
202 uint8_t *state = (uint8_t *) param; in op()
Dconf.c37 int userial_set_port(char *p_conf_name, char *p_conf_value, int param);
38 int hw_set_patch_file_path(char *p_conf_name, char *p_conf_value, int param);
39 int hw_set_patch_file_name(char *p_conf_name, char *p_conf_value, int param);
41 int hw_set_patch_settlement_delay(char *p_conf_name, char *p_conf_value, int param);
54 typedef int (conf_action_t)(char *p_conf_name, char *p_conf_value, int param);
59 int param; member
132 p_entry->p_action(p_name, p_value, p_entry->param); in vnd_load_conf()
Duserial_vendor.c47 #define VNDUSERIALDBG(param, ...) {ALOGD(param, ## __VA_ARGS__);} argument
49 #define VNDUSERIALDBG(param, ...) {} argument
355 int userial_set_port(char *p_conf_name, char *p_conf_value, int param) in userial_set_port() argument
Dupio.c48 #define UPIODBG(param, ...) {ALOGD(param, ## __VA_ARGS__);} argument
50 #define UPIODBG(param, ...) {} argument
/hardware/qcom/display/liboverlay/pipes/
Doverlay3DPipe.h59 bool setTransform(const utils::eTransform& param);
89 bool setTransform(const utils::eTransform& param);
119 bool setTransform(const utils::eTransform& param);
149 bool setTransform(const utils::eTransform& param);
217 inline bool M3DExtPipe<CHAN>::setTransform(const utils::eTransform& param) { in setTransform() argument
218 return mM3d.setTransform(param); in setTransform()
273 inline bool M3DPrimaryPipe<CHAN>::setTransform(const utils::eTransform& param) { in setTransform() argument
274 return mM3d.setTransform(param); in setTransform()
340 inline bool S3DExtPipe<CHAN>::setTransform(const utils::eTransform& param) { in setTransform() argument
341 return mS3d.setTransform(param); in setTransform()
[all …]
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c102 #define _PROXY_OMX_INIT_PARAM(param,type) do { \ argument
103 TIMM_OSAL_Memset((param), 0, sizeof (type)); \
104 (param)->nSize = sizeof (type); \
105 (param)->nVersion.s.nVersionMajor = 1; \
106 (param)->nVersion.s.nVersionMinor = 1; \
394 OMX_TI_PARAM_DCCURIINFO param; in DCC_Init() local
405 _PROXY_OMX_INIT_PARAM(&param, OMX_TI_PARAM_DCCURIINFO); in DCC_Init()
411 param.nIndex = nIndex; in DCC_Init()
414 OMX_TI_IndexParamDccUriInfo, &param); in DCC_Init()
422 DOMX_DEBUG("DCC URI's %s ", param.sDCCURI); in DCC_Init()
[all …]
/hardware/msm7k/libaudio/
DAudioHardware.cpp283 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
296 if (param.get(key, value) == NO_ERROR) { in setParameters()
306 if (param.get(key, value) == NO_ERROR) { in setParameters()
326 AudioParameter param = AudioParameter(keys); in getParameters() local
327 return param.toString(); in getParameters()
830 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
836 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
840 param.remove(key); in setParameters()
843 if (param.size()) { in setParameters()
851 AudioParameter param = AudioParameter(keys); in getParameters() local
[all …]
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp487 struct kgsl_map_user_mem param; in getMappedGPUAddr() local
488 memset(&param,0x0,sizeof(param)); in getMappedGPUAddr()
489 param.fd = bufFD; in getMappedGPUAddr()
490 param.len = bufLen; in getMappedGPUAddr()
491 param.hostptr = (unsigned int)bufPtr; in getMappedGPUAddr()
492 param.memtype = KGSL_USER_MEM_TYPE_ION; in getMappedGPUAddr()
494 if (!ioctl(mKgslFd, IOCTL_KGSL_MAP_USER_MEM, &param, sizeof(param))) { in getMappedGPUAddr()
497 return (void *)param.gpuaddr; in getMappedGPUAddr()
506 struct kgsl_sharedmem_free param; in unmapGPUAddr() local
507 memset(&param, 0, sizeof(param)); in unmapGPUAddr()
[all …]
/hardware/qcom/bt/libbt-vendor/src/
Dbt_vendor_qcom.c95 static int op(bt_vendor_opcode_t opcode, void *param) in op() argument
107 nState = *(int *) param; in op()
143 int (*fd_array)[] = (int (*) []) param; in op()
/hardware/invensense/libsensors_iio/software/core/mpl/
Dfast_no_motion.h32 void inv_get_fast_nomot_accel_param(long *cntr, long long *param);
33 void inv_get_fast_nomot_compass_param(long *cntr, long long *param);
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp381 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
397 if (param.get(key, value) == NO_ERROR) { in setParameters()
409 if (param.get(key, value) == NO_ERROR) { in setParameters()
419 if (param.get(key, value) == NO_ERROR) { in setParameters()
437 if (param.get(key, value) == NO_ERROR) { in setParameters()
485 if (param.get(key, value) == NO_ERROR) { in setParameters()
1726 AudioParameter param = AudioParameter(keyValuePairs); in setParameters() local
1732 if (param.getInt(key, device) == NO_ERROR) { in setParameters()
1736 param.remove(key); in setParameters()
1739 if (param.size()) { in setParameters()
[all …]
/hardware/ril/libril/
Dril_event.h32 void *param; member
39 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param);
Dril_event.cpp88 dlog(" param = %x", (unsigned int)ev->param); in dump_event()
210 ev->func(ev->fd, 0, ev->param); in firePending()
253 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param) in ril_event_set() argument
261 ev->param = param; in ril_event_set()
/hardware/ti/wpan/bluedroid_wilink/
Dlibbt-vendor-ti.c66 int ti_op(bt_vendor_opcode_t opcode, void **param) { in ti_op() argument
68 int *fd_array = (int (*)[]) param; in ti_op()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
DCMcKMod.cpp444 uint32_t param = handle; in findWsmL2() local
453 ret = ioctl(fdKMod, MC_IO_RESOLVE_WSM, &param); in findWsmL2()
454 if (ret != 0 || param == 0) { in findWsmL2()
456 LOG_E("param %u, ret = %d", param, ret); in findWsmL2()
459 return (addr_t)param; in findWsmL2()
/hardware/qcom/display/libhwcomposer/
Dhwc_vsync.cpp49 static void *vsync_loop(void *param) in vsync_loop() argument
55 hwc_context_t * ctx = reinterpret_cast<hwc_context_t *>(param); in vsync_loop()

123