Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 69) sorted by relevance

123

/device/google/dragon/sensor_hub/
Dcros_ec_sensors.cpp140 if (!info->enabled) in flush()
153 int CrosECSensor::activate(int handle, int enabled) in activate() argument
162 long frequency = enabled ? 1e12 / info->sampling_period_ns : 0; in activate()
171 if (enabled) in activate()
180 info->enabled = enabled; in activate()
185 err = cros_ec_sysfs_set_input_attr_by_int(info->device_name, attr, enabled); in activate()
187 info->enabled = enabled; in activate()
231 return activate(handle, info->enabled); in batch()
311 if (!gesture->enabled) in processEvent()
328 gesture->enabled = 0; in processEvent()
[all …]
Dcros_ec_sensors.h95 bool enabled; member
103 bool enabled; member
139 virtual int activate(int handle, int enabled);
Dsensors.h59 int activate(int handle, int enabled);
67 int handle, int enabled);
Dsensors.cpp616 int cros_ec_sensors_poll_context_t::activate(int handle, int enabled) { in activate() argument
617 int err = mSensor->activate(handle, enabled); in activate()
619 if (enabled && !err) { in activate()
708 int handle, int enabled) in wrapper_activate() argument
711 return ctx->activate(handle, enabled); in wrapper_activate()
/device/google/contexthub/sensorhal/
Dsensors.cpp60 int SensorContext::activate(int handle, int enabled) { in activate() argument
63 mHubConnection->queueActivate(handle, enabled); in activate()
153 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper() argument
154 return reinterpret_cast<SensorContext *>(dev)->activate(handle, enabled); in ActivateWrapper()
Dsensors.h39 int activate(int handle, int enabled);
54 struct sensors_poll_device_t *dev, int handle, int enabled);
/device/google/dragon/audio/hal/dsp/
Ddrc_kernel.h31 int enabled; member
103 void dk_set_enabled(struct drc_kernel *dk, int enabled);
Ddrc_kernel.c43 dk->enabled = 0; in dk_init()
316 void dk_set_enabled(struct drc_kernel *dk, int enabled) in dk_set_enabled() argument
318 dk->enabled = enabled; in dk_set_enabled()
1013 if (!dk->enabled) { in dk_process()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraStateMachine.cpp345 int enabled = m_parent->msgTypeEnabled(int32_t(payload)); in procEvtPreviewStoppedState() local
349 result.enabled = enabled; in procEvtPreviewStoppedState()
450 result.enabled = 0; in procEvtPreviewStoppedState()
675 int enabled = m_parent->msgTypeEnabled(int32_t(payload)); in procEvtPreviewReadyState() local
679 result.enabled = enabled; in procEvtPreviewReadyState()
757 result.enabled = 1; in procEvtPreviewReadyState()
767 result.enabled = 0; in procEvtPreviewReadyState()
971 int enabled = m_parent->msgTypeEnabled(int32_t(payload)); in procEvtPreviewingState() local
975 result.enabled = enabled; in procEvtPreviewingState()
1060 result.enabled = 1; in procEvtPreviewingState()
[all …]
DQCamera2HWICallbacks.cpp215 int32_t enabled = atoi(value); in zsl_channel_cb() local
216 if (enabled) { in zsl_channel_cb()
396 int32_t enabled = atoi(value); in capture_channel_cb_routine() local
397 if (enabled) { in capture_channel_cb_routine()
1057 int32_t enabled = atoi(value); in snapshot_stream_cb_routine() local
1058 if (enabled) { in snapshot_stream_cb_routine()
1516 int32_t enabled = atoi(value); in dumpJpegToFile() local
1525 if((enabled & QCAMERA_DUMP_FRM_JPEG) && data) { in dumpJpegToFile()
1526 frm_num = ((enabled & 0xffff0000) >> 16); in dumpJpegToFile()
1533 skip_mode = ((enabled & 0x0000ff00) >> 8); in dumpJpegToFile()
[all …]
DQCameraParameters.h68 virtual void setScaleEnable(bool enabled);
551 int32_t setFaceDetectionOption(bool enabled);
552 int32_t setHistogram(bool enabled);
553 int32_t setFaceDetection(bool enabled, bool initCommit);
614 int32_t setDisplayFrame(bool enabled) {m_bDisplayFrame=enabled; return 0;}; in setDisplayFrame() argument
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraStateMachine.cpp390 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewStoppedState() local
394 result.enabled = enabled; in procEvtPreviewStoppedState()
497 result.enabled = 0; in procEvtPreviewStoppedState()
732 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewReadyState() local
736 result.enabled = enabled; in procEvtPreviewReadyState()
814 result.enabled = 1; in procEvtPreviewReadyState()
824 result.enabled = 0; in procEvtPreviewReadyState()
1052 int enabled = m_parent->msgTypeEnabled(msgs); in procEvtPreviewingState() local
1054 enabled |= (msgs & m_DelayedMsgs); in procEvtPreviewingState()
1059 result.enabled = enabled; in procEvtPreviewingState()
[all …]
DQCamera2HWICallbacks.cpp236 int32_t enabled = atoi(value); in zsl_channel_cb() local
237 if (enabled) { in zsl_channel_cb()
415 int32_t enabled = atoi(value); in capture_channel_cb_routine() local
416 if (enabled) { in capture_channel_cb_routine()
1233 int32_t enabled = atoi(value); in snapshot_channel_cb_routine() local
1234 if (enabled) { in snapshot_channel_cb_routine()
1908 uint32_t enabled = (uint32_t) atoi(value); in dumpJpegToFile() local
1917 if(((enabled & QCAMERA_DUMP_FRM_JPEG) && data) || in dumpJpegToFile()
1919 frm_num = ((enabled & 0xffff0000) >> 16); in dumpJpegToFile()
1926 skip_mode = ((enabled & 0x0000ff00) >> 8); in dumpJpegToFile()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraStateMachine.cpp390 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewStoppedState() local
394 result.enabled = enabled; in procEvtPreviewStoppedState()
497 result.enabled = 0; in procEvtPreviewStoppedState()
732 int enabled = m_parent->msgTypeEnabled(*((int32_t *)payload)); in procEvtPreviewReadyState() local
736 result.enabled = enabled; in procEvtPreviewReadyState()
814 result.enabled = 1; in procEvtPreviewReadyState()
824 result.enabled = 0; in procEvtPreviewReadyState()
1052 int enabled = m_parent->msgTypeEnabled(msgs); in procEvtPreviewingState() local
1054 enabled |= (msgs & m_DelayedMsgs); in procEvtPreviewingState()
1059 result.enabled = enabled; in procEvtPreviewingState()
[all …]
DQCamera2HWICallbacks.cpp236 int32_t enabled = atoi(value); in zsl_channel_cb() local
237 if (enabled) { in zsl_channel_cb()
415 int32_t enabled = atoi(value); in capture_channel_cb_routine() local
416 if (enabled) { in capture_channel_cb_routine()
1233 int32_t enabled = atoi(value); in snapshot_channel_cb_routine() local
1234 if (enabled) { in snapshot_channel_cb_routine()
1908 uint32_t enabled = (uint32_t) atoi(value); in dumpJpegToFile() local
1917 if(((enabled & QCAMERA_DUMP_FRM_JPEG) && data) || in dumpJpegToFile()
1919 frm_num = ((enabled & 0xffff0000) >> 16); in dumpJpegToFile()
1926 skip_mode = ((enabled & 0x0000ff00) >> 8); in dumpJpegToFile()
[all …]
DQCameraParameters.h63 virtual void setScaleEnable(bool enabled);
651 int32_t setFaceDetectionOption(bool enabled);
652 int32_t setHistogram(bool enabled);
653 int32_t setFaceDetection(bool enabled, bool initCommit);
734 int32_t setDisplayFrame(bool enabled) {m_bDisplayFrame=enabled; return 0;}; in setDisplayFrame() argument
/device/huawei/angler/vr/
Dvr.c122 static void vr_set_vr_mode(struct vr_module *module, bool enabled) { in vr_set_vr_mode() argument
123 if (enabled) { in vr_set_vr_mode()
/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp592 int activate(int handle, int enabled);
678 int sensors_poll_context_t::activate(int handle, int enabled) { in activate() argument
681 int err = mSensors[index]->setEnable(handle, enabled); in activate()
682 if (enabled && !err) { in activate()
778 int handle, int enabled) { in poll__activate() argument
780 return ctx->activate(handle, enabled); in poll__activate()
DSensorBase.h68 virtual int setEnable(int32_t handle, int enabled) = 0;
/device/google/atv/
Dconfig.ini12 hw.gpu.enabled=yes key
/device/generic/goldfish/sensors/
Dsensors_qemu.c483 int enabled) in sensor_device_activate() argument
488 _sensorIdToName(handle), handle, enabled); in sensor_device_activate()
498 uint32_t sensors = enabled ? mask : 0; in sensor_device_activate()
514 enabled != 0); in sensor_device_activate()
/device/linaro/hikey/
Dinit.hikey.rc8 write /sys/kernel/mm/transparent_hugepage/enabled "never"
11 # (if randomization is enabled the AEM-JIT will have a lower cache hit rate)
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp36 m_states[i].enabled = 0; in GLClientState()
83 m_states[location].enableDirty |= (state != m_states[location].enabled); in enable()
84 m_states[location].enabled = state; in enable()
/device/google/contexthub/firmware/inc/
Dspi_priv.h47 void (*slaveSetCsInterrupt)(struct SpiDevice *dev, bool enabled);
/device/huawei/angler/
Dinit.angler.power.sh24 write /sys/module/msm_thermal/core_control/enabled 0
110 write /sys/module/msm_thermal/core_control/enabled 1

123