/hardware/libhardware/modules/vehicle/ |
D | vehicle.c | 55 int32_t prop; member 69 .prop = VEHICLE_PROPERTY_INFO_MAKE, 78 .prop = VEHICLE_PROPERTY_GEAR_SELECTION, 87 .prop = VEHICLE_PROPERTY_DRIVING_STATUS, 96 .prop = VEHICLE_PROPERTY_PARKING_BRAKE_ON, 105 .prop = VEHICLE_PROPERTY_PERF_VEHICLE_SPEED, 114 .prop = VEHICLE_PROPERTY_RADIO_PRESET, 125 vehicle_prop_config_t* find_config(int prop) { in find_config() argument 128 if (CONFIGS[i].prop == prop) { in find_config() 193 vehicle_prop_config_t* config = find_config(data->prop); in vdev_get() [all …]
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; in Init() local 53 property_get("debug.gr.calcfps", prop, "0"); in Init() 54 debug_fps_level = atoi(prop); in Init() 71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata() [all …]
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; in Init() local 53 property_get("debug.gr.calcfps", prop, "0"); in Init() 54 debug_fps_level = atoi(prop); in Init() 71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata() [all …]
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; in Init() local 53 property_get("debug.gr.calcfps", prop, "0"); in Init() 54 debug_fps_level = atoi(prop); in Init() 71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata() [all …]
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; in Init() local 53 property_get("debug.gr.calcfps", prop, "0"); in Init() 54 debug_fps_level = atoi(prop); in Init() 71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata() [all …]
|
/hardware/qcom/display/msm8960/libqdutils/ |
D | profiler.cpp | 50 char prop[PROPERTY_VALUE_MAX]; in Init() local 51 property_get("debug.gr.calcfps", prop, "0"); in Init() 52 debug_fps_level = atoi(prop); in Init() 69 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 72 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 73 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 76 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 77 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 79 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 80 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata() [all …]
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; in Init() local 53 property_get("debug.gr.calcfps", prop, "0"); in Init() 54 debug_fps_level = atoi(prop); in Init() 71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_hevc.cpp | 405 SWVENC_PROP prop; in set_parameter() local 406 prop.ePropId = SWVENC_PROP_ID_DIMENSIONS; in set_parameter() 407 prop.uProperty.sDimensions.nWidth = portDefn->format.video.nFrameWidth; in set_parameter() 408 prop.uProperty.sDimensions.nHeight= portDefn->format.video.nFrameHeight; in set_parameter() 409 SWVENC_STATUS status = SwVenc_SetProperty(m_pSwVenc,&prop); in set_parameter() 510 SWVENC_PROP prop; in set_parameter() local 511 prop.uProperty.nFrameRate = portFmt->xFramerate; in set_parameter() 512 prop.ePropId = SWVENC_PROP_ID_FRAMERATE; in set_parameter() 513 SwVenc_SetProperty(m_pSwVenc, &prop); in set_parameter() 555 SWVENC_PROP prop; in set_parameter() local [all …]
|
/hardware/ti/omap4-aah/camera/ |
D | CameraParameters.cpp | 166 void CameraProperties::Properties::set(const char * const prop, const char * const value) { in set() argument 167 CAMHAL_ASSERT(prop); in set() 170 mProperties[mCurrentMode].removeItem(android::String8(prop)); in set() 172 mProperties[mCurrentMode].replaceValueFor(android::String8(prop), android::String8(value)); in set() 176 void CameraProperties::Properties::set(const char * const prop, const int value) { in set() argument 179 set(prop, s_val); in set() 182 const char* CameraProperties::Properties::get(const char * prop) const { in get() 183 return mProperties[mCurrentMode].valueFor(android::String8(prop)).string(); in get() 186 int CameraProperties::Properties::getInt(const char * prop) const { in getInt() 187 android::String8 value = mProperties[mCurrentMode].valueFor(android::String8(prop)); in getInt()
|
/hardware/ti/omap4xxx/camera/ |
D | CameraParameters.cpp | 139 ssize_t CameraProperties::Properties::set(const char *prop, const char *value) in set() argument 141 if(!prop) in set() 146 return mProperties->replaceValueFor(String8(prop), String8(value)); in set() 149 ssize_t CameraProperties::Properties::set(const char *prop, int value) in set() argument 155 return set(prop, s_val); in set() 158 const char* CameraProperties::Properties::get(const char * prop) in get() argument 160 String8 value = mProperties->valueFor(String8(prop)); in get()
|
/hardware/libhardware/ |
D | hardware.c | 156 char prop[PATH_MAX] = {0}; in hw_get_module_by_class() local 176 if (property_get(prop_name, prop, NULL) > 0) { in hw_get_module_by_class() 177 if (hw_module_exists(path, sizeof(path), name, prop) == 0) { in hw_get_module_by_class() 184 if (property_get(variant_keys[i], prop, NULL) == 0) { in hw_get_module_by_class() 187 if (hw_module_exists(path, sizeof(path), name, prop) == 0) { in hw_get_module_by_class()
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | HdcpControl.cpp | 52 char prop[PROPERTY_VALUE_MAX]; in startHdcp() local 53 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { in startHdcp() 54 if (atoi(prop) == 0) { in startHdcp() 106 char prop[PROPERTY_VALUE_MAX]; in startHdcpAsync() local 107 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { in startHdcpAsync() 108 if (atoi(prop) == 0) { in startHdcpAsync()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
D | HdcpControl.cpp | 53 char prop[PROPERTY_VALUE_MAX]; in startHdcp() local 54 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { in startHdcp() 55 if (atoi(prop) == 0) { in startHdcp() 107 char prop[PROPERTY_VALUE_MAX]; in startHdcpAsync() local 108 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { in startHdcpAsync() 109 if (atoi(prop) == 0) { in startHdcpAsync()
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCameraParameters.cpp | 1499 char prop[PROPERTY_VALUE_MAX]; in setPreviewSize() local 1501 property_get("persist.camera.aux.preview.size", prop, "0"); in setPreviewSize() 1502 parse_pair(prop, &width, &height, 'x', NULL); in setPreviewSize() 1583 char prop[PROPERTY_VALUE_MAX]; in setPictureSize() local 1585 property_get("persist.camera.aux.picture.size", prop, "0"); in setPictureSize() 1586 parse_pair(prop, &width, &height, 'x', NULL); in setPictureSize() 1948 char prop[PROPERTY_VALUE_MAX]; in setPreviewFormat() local 1950 memset(prop, 0, sizeof(prop)); in setPreviewFormat() 1951 property_get("persist.camera.preview.ubwc", prop, "1"); in setPreviewFormat() 1953 pFormat = atoi(prop); in setPreviewFormat() [all …]
|
/hardware/ti/omap4-aah/camera/inc/ |
D | CameraProperties.h | 204 void set(const char *prop, const char *value); 205 void set(const char *prop, int value); 206 const char* get(const char * prop) const; 207 int getInt(const char * prop) const;
|
/hardware/qcom/audio/msm8909/post_proc/ |
D | equalizer.c | 322 int16_t *prop = (int16_t *)value; in equalizer_get_parameter() local 323 prop[0] = (int16_t)equalizer_get_preset(eq_ctxt); in equalizer_get_parameter() 324 prop[1] = (int16_t)NUM_EQ_BANDS; in equalizer_get_parameter() 326 prop[2 + i] = (int16_t)equalizer_get_band_level(eq_ctxt, i); in equalizer_get_parameter() 375 int16_t *prop = (int16_t *)value; in equalizer_set_parameter() local 376 if ((int)prop[0] >= equalizer_get_num_presets(eq_ctxt)) { in equalizer_set_parameter() 380 if (prop[0] >= 0) { in equalizer_set_parameter() 381 equalizer_set_preset(eq_ctxt, (int)prop[0]); in equalizer_set_parameter() 383 if ((int)prop[1] != NUM_EQ_BANDS) { in equalizer_set_parameter() 388 equalizer_set_band_level(eq_ctxt, i, (int)prop[2 + i]); in equalizer_set_parameter()
|
/hardware/qcom/audio/post_proc/ |
D | equalizer.c | 328 int16_t *prop = (int16_t *)value; in equalizer_get_parameter() local 329 prop[0] = (int16_t)equalizer_get_preset(eq_ctxt); in equalizer_get_parameter() 330 prop[1] = (int16_t)NUM_EQ_BANDS; in equalizer_get_parameter() 332 prop[2 + i] = (int16_t)equalizer_get_band_level(eq_ctxt, i); in equalizer_get_parameter() 384 int16_t *prop = (int16_t *)value; in equalizer_set_parameter() local 385 if ((int)prop[0] >= equalizer_get_num_presets(eq_ctxt)) { in equalizer_set_parameter() 389 if (prop[0] >= 0) { in equalizer_set_parameter() 390 equalizer_set_preset(eq_ctxt, (int)prop[0]); in equalizer_set_parameter() 392 if ((int)prop[1] != NUM_EQ_BANDS) { in equalizer_set_parameter() 397 equalizer_set_band_level(eq_ctxt, i, (int)prop[2 + i]); in equalizer_set_parameter()
|
/hardware/ti/omap4xxx/camera/inc/ |
D | CameraProperties.h | 165 ssize_t set(const char *prop, const char *value); 166 ssize_t set(const char *prop, int value); 167 const char* get(const char * prop);
|
/hardware/libhardware/tests/vehicle/ |
D | vehicle-hal-tool.c | 87 config_temp->prop, config_temp->config_flags, config_temp->change_mode, in list_all_properties() 230 data->prop = property; in get_property() 249 vehicle_data.prop = property; in set_property() 369 printf("Setting Property id: %d\n", vehicle_data.prop); in set_property() 381 printf("Got some value from callback property: %d\n", event_data->prop); in vehicle_event_callback() 395 int32_t prop, in subscribe_to_property() argument 399 int ret_code = device->subscribe(device, prop, 0, 0); in subscribe_to_property() 410 ret_code = device->unsubscribe(device, prop); in subscribe_to_property()
|
/hardware/qcom/camera/QCamera2/ |
D | QCamera2Factory.cpp | 79 char prop[PROPERTY_VALUE_MAX]; in QCamera2Factory() local 80 property_get("persist.camera.HAL3.enabled", prop, "1"); in QCamera2Factory() 81 int isHAL3Enabled = atoi(prop); in QCamera2Factory() 85 property_get("persist.camera.dual.camera", prop, propDefault); in QCamera2Factory() 86 bDualCamera = atoi(prop); in QCamera2Factory()
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_xrandr.c | 104 unsigned char* prop; in psb_xrandr_hdmi_property() local 118 &nitems, &bytes_after, &prop); in psb_xrandr_hdmi_property() 130 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode = (int)((INT32*)prop)[0]; in psb_xrandr_hdmi_property() 133 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_XRes = (int)((INT32*)prop)[0]; in psb_xrandr_hdmi_property() 136 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_YRes = (int)((INT32*)prop)[0]; in psb_xrandr_hdmi_property() 139 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_X_Offset = (int)((INT32*)prop)[0]; in psb_xrandr_hdmi_property() 142 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_Y_Offset = (int)((INT32*)prop)[0]; in psb_xrandr_hdmi_property() 145 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_Center = (int)((INT32*)prop)[0]; in psb_xrandr_hdmi_property() 148 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_SubTitle = (int)((INT32*)prop)[0]; in psb_xrandr_hdmi_property() 152 ((int)((INT32*)prop)[0] == EXTENDEDVIDEO)) { in psb_xrandr_hdmi_property() [all …]
|
/hardware/libhardware_legacy/qemu/ |
D | qemu.c | 160 char prop[PROPERTY_VALUE_MAX]; in qemu_channel_open_tty() local 167 if (property_get(key, prop, "") == 0) { in qemu_channel_open_tty() 173 "/dev/%s", prop); in qemu_channel_open_tty() 175 D("%s device name too long: '%s'", name, prop); in qemu_channel_open_tty()
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_interface.c | 332 char prop[PROPERTY_VALUE_MAX]; in jpeg_open() local 334 property_get("persist.camera.kpi.debug", prop, "0"); in jpeg_open() 335 gKpiDebugLevel = atoi(prop); in jpeg_open()
|
/hardware/libhardware/include/hardware/ |
D | vehicle.h | 1320 int32_t prop; member 1567 int32_t prop; member 1723 int (*subscribe)(struct vehicle_hw_device* device, int32_t prop, float sample_rate, 1727 int (*unsubscribe)(struct vehicle_hw_device* device, int32_t prop);
|
/hardware/intel/common/libmix/mix_video/src/ |
D | mixdrmparams.c | 184 #define MIX_DRMPARAMS_GETTER_CHECK_INPUT(obj, prop) \ argument 185 if(!obj || !prop) return MIX_RESULT_NULL_PTR; \
|