/hardware/qcom/display/msm8084/libqdutils/ |
H A D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; local 53 property_get("debug.gr.calcfps", prop, "0"); 54 debug_fps_level = atoi(prop); 71 char prop[PROPERTY_VALUE_MAX]; local 74 property_get("debug.gr.calcfps.type", prop, "0"); 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); 79 debug_fps_metadata.time_period = atoi(prop); 81 property_get("debug.gr.calcfps.period", prop, "10"); 82 debug_fps_metadata.period = atoi(prop); [all...] |
/hardware/qcom/display/msm8226/libqdutils/ |
H A D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; local 53 property_get("debug.gr.calcfps", prop, "0"); 54 debug_fps_level = atoi(prop); 71 char prop[PROPERTY_VALUE_MAX]; local 74 property_get("debug.gr.calcfps.type", prop, "0"); 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); 79 debug_fps_metadata.time_period = atoi(prop); 81 property_get("debug.gr.calcfps.period", prop, "10"); 82 debug_fps_metadata.period = atoi(prop); [all...] |
/hardware/qcom/display/msm8909/libqdutils/ |
H A D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; local 53 property_get("debug.gr.calcfps", prop, "0"); 54 debug_fps_level = atoi(prop); 71 char prop[PROPERTY_VALUE_MAX]; local 74 property_get("debug.gr.calcfps.type", prop, "0"); 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); 79 debug_fps_metadata.time_period = atoi(prop); 81 property_get("debug.gr.calcfps.period", prop, "10"); 82 debug_fps_metadata.period = atoi(prop); [all...] |
/hardware/qcom/display/msm8960/libqdutils/ |
H A D | profiler.cpp | 50 char prop[PROPERTY_VALUE_MAX]; local 51 property_get("debug.gr.calcfps", prop, "0"); 52 debug_fps_level = atoi(prop); 69 char prop[PROPERTY_VALUE_MAX]; local 72 property_get("debug.gr.calcfps.type", prop, "0"); 73 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); 76 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); 77 debug_fps_metadata.time_period = atoi(prop); 79 property_get("debug.gr.calcfps.period", prop, "10"); 80 debug_fps_metadata.period = atoi(prop); [all...] |
/hardware/qcom/display/msm8994/libqdutils/ |
H A D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; local 53 property_get("debug.gr.calcfps", prop, "0"); 54 debug_fps_level = atoi(prop); 71 char prop[PROPERTY_VALUE_MAX]; local 74 property_get("debug.gr.calcfps.type", prop, "0"); 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); 79 debug_fps_metadata.time_period = atoi(prop); 81 property_get("debug.gr.calcfps.period", prop, "10"); 82 debug_fps_metadata.period = atoi(prop); [all...] |
/hardware/qcom/display/msm8996/libqdutils/ |
H A D | profiler.cpp | 52 char prop[PROPERTY_VALUE_MAX]; local 53 property_get("debug.gr.calcfps", prop, "0"); 54 debug_fps_level = atoi(prop); 71 char prop[PROPERTY_VALUE_MAX]; local 74 property_get("debug.gr.calcfps.type", prop, "0"); 75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); 78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); 79 debug_fps_metadata.time_period = atoi(prop); 81 property_get("debug.gr.calcfps.period", prop, "10"); 82 debug_fps_metadata.period = atoi(prop); [all...] |
/hardware/libhardware/ |
H A D | hardware.c | 156 char prop[PATH_MAX] = {0}; local 176 if (property_get(prop_name, prop, NULL) > 0) { 177 if (hw_module_exists(path, sizeof(path), name, prop) == 0) { 184 if (property_get(variant_keys[i], prop, NULL) == 0) { 187 if (hw_module_exists(path, sizeof(path), name, prop) == 0) {
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | HdcpControl.cpp | 52 char prop[PROPERTY_VALUE_MAX]; local 53 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { 54 if (atoi(prop) == 0) { 106 char prop[PROPERTY_VALUE_MAX]; local 107 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { 108 if (atoi(prop) == 0) {
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
H A D | HdcpControl.cpp | 53 char prop[PROPERTY_VALUE_MAX]; local 54 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { 55 if (atoi(prop) == 0) { 107 char prop[PROPERTY_VALUE_MAX]; local 108 if (property_get("debug.hwc.hdcp.enable", prop, "1") > 0) { 109 if (atoi(prop) == 0) {
|
/hardware/libhardware/modules/input/evdev/ |
H A D | InputDevice.cpp | 98 static bool getBooleanProperty(const InputProperty& prop) { argument 99 const char* propValue = prop.getValue(); 105 ALOGW("Expected boolean for property %s; value=%s", prop.getKey(), propValue);
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
H A D | mm_jpeg_interface.c | 332 char prop[PROPERTY_VALUE_MAX]; local 334 property_get("persist.camera.kpi.debug", prop, "0"); 335 gKpiDebugLevel = atoi(prop);
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
H A D | HwcLayer.cpp | 83 char prop[PROPERTY_VALUE_MAX]; local 84 if (property_get("debug.hwc.fps_trace.enable", prop, "0") > 0) { 85 mTraceFps = atoi(prop);
|
H A D | DisplayAnalyzer.cpp | 57 char prop[PROPERTY_VALUE_MAX]; local 58 if (property_get("hwc.video.extmode.enable", prop, "1") > 0) { 59 mVideoExtModeEnabled = atoi(prop) ? true : false; 240 char prop[PROPERTY_VALUE_MAX]; local 241 if (property_get("hwc.video.extmode.enable", prop, "1") > 0) { 242 mVideoExtModeEnabled = atoi(prop) ? true : false;
|
/hardware/libhardware/modules/vehicle/ |
H A D | vehicle.c | 55 int32_t prop; member in struct:subscription 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) { argument 128 if (CONFIGS[i].prop == prop) { 424 vdev_subscribe(vehicle_hw_device_t* device, int32_t prop, float sample_rate, int32_t zones UNUSED) argument 489 vdev_unsubscribe(vehicle_hw_device_t* device, int32_t prop) argument [all...] |
/hardware/libhardware/tests/vehicle/ |
H A D | vehicle-hal-tool.c | 51 "./vehicle-hal-tool -m get -p <prop> -t <type> [-v <vehicle_prop_value>]\n" 87 config_temp->prop, config_temp->config_flags, config_temp->change_mode, 230 data->prop = property; 249 vehicle_data.prop = property; 369 printf("Setting Property id: %d\n", vehicle_data.prop); 381 printf("Got some value from callback property: %d\n", event_data->prop); 395 int32_t prop, 399 int ret_code = device->subscribe(device, prop, 0, 0); 410 ret_code = device->unsubscribe(device, prop); 393 subscribe_to_property( vehicle_hw_device_t *device, int32_t prop, float sample_rate, uint32_t wait_in_seconds) argument
|
/hardware/libhardware_legacy/qemu/ |
H A D | qemu.c | 160 char prop[PROPERTY_VALUE_MAX]; local 167 if (property_get(key, prop, "") == 0) { 173 "/dev/%s", prop); 175 D("%s device name too long: '%s'", name, prop);
|
/hardware/qcom/audio/msm8909/post_proc/ |
H A D | equalizer.c | 322 int16_t *prop = (int16_t *)value; local 323 prop[0] = (int16_t)equalizer_get_preset(eq_ctxt); 324 prop[1] = (int16_t)NUM_EQ_BANDS; 326 prop[2 + i] = (int16_t)equalizer_get_band_level(eq_ctxt, i); 375 int16_t *prop = (int16_t *)value; local 376 if ((int)prop[0] >= equalizer_get_num_presets(eq_ctxt)) { 380 if (prop[0] >= 0) { 381 equalizer_set_preset(eq_ctxt, (int)prop[0]); 383 if ((int)prop[1] != NUM_EQ_BANDS) { 388 equalizer_set_band_level(eq_ctxt, i, (int)prop[ [all...] |
/hardware/qcom/audio/post_proc/ |
H A D | equalizer.c | 328 int16_t *prop = (int16_t *)value; local 329 prop[0] = (int16_t)equalizer_get_preset(eq_ctxt); 330 prop[1] = (int16_t)NUM_EQ_BANDS; 332 prop[2 + i] = (int16_t)equalizer_get_band_level(eq_ctxt, i); 384 int16_t *prop = (int16_t *)value; local 385 if ((int)prop[0] >= equalizer_get_num_presets(eq_ctxt)) { 389 if (prop[0] >= 0) { 390 equalizer_set_preset(eq_ctxt, (int)prop[0]); 392 if ((int)prop[1] != NUM_EQ_BANDS) { 397 equalizer_set_band_level(eq_ctxt, i, (int)prop[ [all...] |
/hardware/qcom/camera/QCamera2/ |
H A D | QCamera2Factory.cpp | 79 char prop[PROPERTY_VALUE_MAX]; local 80 property_get("persist.camera.HAL3.enabled", prop, "1"); 81 int isHAL3Enabled = atoi(prop); 85 property_get("persist.camera.dual.camera", prop, propDefault); 86 bDualCamera = atoi(prop);
|
/hardware/qcom/display/msm8084/libexternal/ |
H A D | external.cpp | 238 const char* prop = (mUnderscanSupported) ? "1" : "0"; local 239 property_set("hw.underscan_supported", prop); 374 const char* prop = "0"; local 375 property_set("hw.underscan_supported", prop);
|
/hardware/intel/common/libmix/videodecoder/ |
H A D | VideoDecoderAVC.cpp | 830 char prop[PROPERTY_VALUE_MAX]; local 831 bool widi_on = (property_get("media.widi.enabled", prop, NULL) > 0) && 832 (!strcmp(prop, "1") || !strcasecmp(prop, "true"));
|
/hardware/intel/img/psb_video/src/x11/ |
H A D | psb_xrandr.c | 104 unsigned char* prop; local 118 &nitems, &bytes_after, &prop); 122 drv_debug_msg(VIDEO_DEBUG_ERROR, "Xrandr: get output %08x prop %08x failed\n", psb_xrandr_info->extend_output->output_id, props[i]); 130 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode = (int)((INT32*)prop)[0]; 133 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_XRes = (int)((INT32*)prop)[0]; 136 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_YRes = (int)((INT32*)prop)[0]; 139 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_X_Offset = (int)((INT32*)prop)[0]; 142 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_Y_Offset = (int)((INT32*)prop)[0]; 145 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_Center = (int)((INT32*)prop)[0]; 148 psb_xrandr_info->hdmi_extvideo_prop->ExtVideoMode_SubTitle = (int)((INT32*)prop)[ [all...] |
/hardware/qcom/display/msm8226/libexternal/ |
H A D | external.cpp | 238 const char* prop = (mUnderscanSupported) ? "1" : "0"; local 239 property_set("hw.underscan_supported", prop); 374 const char* prop = "0"; local 375 property_set("hw.underscan_supported", prop);
|
/hardware/qcom/display/msm8909/libhdmi/ |
H A D | hdmi.cpp | 282 const char* prop = (mUnderscanSupported) ? "1" : "0"; local 283 property_set("hw.underscan_supported", prop); 413 const char* prop = "0"; local 414 property_set("hw.underscan_supported", prop);
|
/hardware/qcom/display/msm8994/libhdmi/ |
H A D | hdmi.cpp | 294 const char* prop = (mUnderscanSupported) ? "1" : "0"; local 295 property_set("hw.underscan_supported", prop); 425 const char* prop = "0"; local 426 property_set("hw.underscan_supported", prop);
|