/hardware/intel/img/libdrm/libdrm/ |
D | xf86drmMode.c | 477 struct drm_mode_get_property prop; in drmModeGetProperty() local 480 prop.prop_id = property_id; in drmModeGetProperty() 481 prop.count_enum_blobs = 0; in drmModeGetProperty() 482 prop.count_values = 0; in drmModeGetProperty() 483 prop.flags = 0; in drmModeGetProperty() 484 prop.enum_blob_ptr = 0; in drmModeGetProperty() 485 prop.values_ptr = 0; in drmModeGetProperty() 487 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPERTY, &prop)) in drmModeGetProperty() 490 if (prop.count_values) in drmModeGetProperty() 491 prop.values_ptr = VOID2U64(drmMalloc(prop.count_values * sizeof(uint64_t))); in drmModeGetProperty() [all …]
|
/hardware/qcom/display/msm8974/libqdutils/ |
D | profiler.cpp | 49 char prop[PROPERTY_VALUE_MAX]; in Init() local 50 property_get("debug.gr.calcfps", prop, "0"); in Init() 51 debug_fps_level = atoi(prop); in Init() 68 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 71 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 72 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 75 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 76 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 78 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 79 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 | 49 char prop[PROPERTY_VALUE_MAX]; in Init() local 50 property_get("debug.gr.calcfps", prop, "0"); in Init() 51 debug_fps_level = atoi(prop); in Init() 68 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local 71 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata() 72 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata() 75 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata() 76 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata() 78 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata() 79 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/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 | 149 char prop[PATH_MAX]; in hw_get_module_by_class() local 168 if (property_get(prop_name, prop, NULL) > 0) { in hw_get_module_by_class() 169 if (hw_module_exists(path, sizeof(path), name, prop) == 0) { in hw_get_module_by_class() 176 if (property_get(variant_keys[i], prop, NULL) == 0) { in hw_get_module_by_class() 179 if (hw_module_exists(path, sizeof(path), name, prop) == 0) { in hw_get_module_by_class()
|
/hardware/intel/img/hwcomposer/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/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/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/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/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/display/msm8226/libexternal/ |
D | external.cpp | 239 const char* prop = (mUnderscanSupported) ? "1" : "0"; in readCEUnderscanInfo() local 240 property_set("hw.underscan_supported", prop); in readCEUnderscanInfo() 375 const char* prop = "0"; in resetInfo() local 376 property_set("hw.underscan_supported", prop); in resetInfo()
|
/hardware/qcom/display/msm8084/libexternal/ |
D | external.cpp | 238 const char* prop = (mUnderscanSupported) ? "1" : "0"; in readCEUnderscanInfo() local 239 property_set("hw.underscan_supported", prop); in readCEUnderscanInfo() 374 const char* prop = "0"; in resetInfo() local 375 property_set("hw.underscan_supported", prop); in resetInfo()
|
/hardware/qcom/display/msm8960/libexternal/ |
D | external.cpp | 289 const char* prop = (mUnderscanSupported) ? "1" : "0"; in readCEUnderscanInfo() local 290 property_set("hw.underscan_supported", prop); in readCEUnderscanInfo() 479 const char* prop = "0"; in resetInfo() local 480 property_set("hw.underscan_supported", prop); in resetInfo()
|
/hardware/qcom/display/msm8974/libexternal/ |
D | external.cpp | 340 const char* prop = (mUnderscanSupported) ? "1" : "0"; in readCEUnderscanInfo() local 341 property_set("hw.underscan_supported", prop); in readCEUnderscanInfo() 477 const char* prop = "0"; in resetInfo() local 478 property_set("hw.underscan_supported", prop); in resetInfo()
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | ThermalService.java | 490 String prop = SystemProperties.get("persist.thermal.turbo.dynamic"); in configureTurboProperties() local 492 if (prop.equals("0")) { in configureTurboProperties() 495 } else if (prop.equals("1")) { in configureTurboProperties()
|
/hardware/intel/common/libmix/videodecoder/ |
D | VideoDecoderAVC.cpp | 793 char prop[PROPERTY_VALUE_MAX]; in isWiDiStatusChanged() local 794 bool widi_on = (property_get("media.widi.enabled", prop, NULL) > 0) && in isWiDiStatusChanged() 795 (!strcmp(prop, "1") || !strcasecmp(prop, "true")); in isWiDiStatusChanged()
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 3483 SWVDEC_PROP prop; in set_parameter() local 3484 prop.ePropId = SWVDEC_PROP_ID_DIMENSIONS; in set_parameter() 3485 prop.uProperty.sDimensions.nWidth = portDefn->format.video.nFrameWidth; in set_parameter() 3486 prop.uProperty.sDimensions.nHeight= portDefn->format.video.nFrameHeight; in set_parameter() 3487 SwVdec_SetProperty(m_pSwVdec,&prop); in set_parameter() 3488 prop.ePropId = SWVDEC_PROP_ID_FRAME_ATTR; in set_parameter() 3489 prop.uProperty.sFrameAttr.eColorFormat = SWVDEC_FORMAT_NV12; in set_parameter() 3490 ret = SwVdec_SetProperty(m_pSwVdec,&prop); in set_parameter() 3566 SWVDEC_PROP prop; in set_parameter() local 3567 prop.ePropId = SWVDEC_PROP_ID_DIMENSIONS; in set_parameter() [all …]
|