Home
last modified time | relevance | path

Searched refs:mEnabled (Results 1 – 25 of 32) sorted by relevance

12

/hardware/akm/AK8975_FS/libsensors/
DKionixSensor.cpp40 mEnabled(0), in KionixSensor()
54 if (mEnabled) { in ~KionixSensor()
64 if (mEnabled) { in setInitialState()
92 if (mEnabled <= 0) { in setEnable()
97 } else if (mEnabled == 1) { in setEnable()
113 mEnabled++; in setEnable()
114 if (mEnabled > 32767) mEnabled = 32767; in setEnable()
116 mEnabled--; in setEnable()
117 if (mEnabled < 0) mEnabled = 0; in setEnable()
119 ALOGD("KionixSensor: mEnabled = %d", mEnabled); in setEnable()
[all …]
DAdxlSensor.cpp38 mEnabled(0), in AdxlSensor()
61 if (mEnabled) { in ~AdxlSensor()
69 if (mEnabled) { in setInitialState()
100 if (mEnabled <= 0) { in setEnable()
102 } else if (mEnabled == 1) { in setEnable()
116 mEnabled++; in setEnable()
117 if (mEnabled > 32767) mEnabled = 32767; in setEnable()
119 mEnabled--; in setEnable()
120 if (mEnabled < 0) mEnabled = 0; in setEnable()
122 ALOGD("AdxlSensor: mEnabled = %d", mEnabled); in setEnable()
[all …]
DAkmSensor.cpp41 mEnabled[i] = 0; in AkmSensor()
101 if (mEnabled[id] <= 0) { in setEnable()
103 } else if (mEnabled[id] == 1) { in setEnable()
124 (mEnabled[id])++; in setEnable()
125 if (mEnabled[id] > 32767) mEnabled[id] = 32767; in setEnable()
127 (mEnabled[id])--; in setEnable()
128 if (mEnabled[id] < 0) mEnabled[id] = 0; in setEnable()
130 ALOGD("AkmSensor: mEnabled[%d] = %d", id, mEnabled[id]); in setEnable()
189 return mEnabled[id]; in getEnable()
222 if (mEnabled[j]) { in readEvents()
DKionixSensor.h34 int mEnabled; variable
DAdxlSensor.h34 int mEnabled; variable
DAkmSensor.h54 int mEnabled[numSensors];
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DVsyncEventObserver.cpp29 mEnabled(false), in VsyncEventObserver()
49 mEnabled = false; in initialize()
69 if (mEnabled) { in deinitialize()
75 mEnabled = false; in deinitialize()
89 if (enabled == mEnabled) { in control()
101 mEnabled = enabled; in control()
111 while (!mEnabled) { in threadLoop()
120 if(mEnabled && mDisplayDevice.isConnected()) { in threadLoop()
124 … WLOGTRACE("failed to wait for vsync on display %d, vsync enabled %d", mDevice, mEnabled); in threadLoop()
DSoftVsyncObserver.cpp27 mEnabled(false), in SoftVsyncObserver()
51 mEnabled = false; in initialize()
65 if (mEnabled) { in deinitialize()
82 if (mEnabled) { in setRefreshRate()
93 if (enabled == mEnabled) { in control()
102 mEnabled = enabled; in control()
111 while (!mEnabled) { in threadLoop()
DVsyncEventObserver.h43 bool mEnabled; variable
DSoftVsyncObserver.h40 bool mEnabled; variable
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DVsyncEventObserver.cpp29 mEnabled(false), in VsyncEventObserver()
50 mEnabled = false; in initialize()
70 if (mEnabled) { in deinitialize()
76 mEnabled = false; in deinitialize()
90 if (enabled == mEnabled) { in control()
102 mEnabled = enabled; in control()
112 while (!mEnabled) { in threadLoop()
121 if(mEnabled && mDisplayDevice.isConnected()) { in threadLoop()
125 WTRACE("failed to wait for vsync on display %d, vsync enabled %d", mDevice, mEnabled); in threadLoop()
DSoftVsyncObserver.cpp31 mEnabled(false), in SoftVsyncObserver()
55 mEnabled = false; in initialize()
69 if (mEnabled) { in deinitialize()
86 if (mEnabled) { in setRefreshRate()
97 if (enabled == mEnabled) { in control()
106 mEnabled = enabled; in control()
115 while (!mEnabled) { in threadLoop()
DVsyncEventObserver.h43 bool mEnabled; variable
DSoftVsyncObserver.h40 bool mEnabled; variable
/hardware/intel/img/hwcomposer/merrifield/common/base/
DVsyncManager.cpp33 mEnabled(false), in VsyncManager()
47 mEnabled = false; in initialize()
56 if (mEnabled) { in deinitialize()
61 mEnabled = false; in deinitialize()
75 if (mEnabled == enabled) { in handleVsyncControl()
82 mEnabled = false; in handleVsyncControl()
85 mEnabled = enableVsync(getCandidate()); in handleVsyncControl()
86 return mEnabled; in handleVsyncControl()
101 if (!mEnabled) { in resetVsyncSource()
129 if (!mEnabled) { in enableDynamicVsync()
DVsyncManager.h51 bool mEnabled; variable
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp223 mEnabled(0), in MPLSensor()
1238 if (mEnabled == 0) { in enablePedStandalone()
1356 if (mEnabled == 0) { in enablePedQuaternion()
1438 if (mEnabled & (1 << GameRotationVector)) { in enablePedQuaternionData()
1441 } else if (mEnabled & (1 << Accelerometer)) { in enablePedQuaternionData()
1443 } else if ((mEnabled & ( 1 << Gyro)) || in enablePedQuaternionData()
1444 (mEnabled & (1 << RawGyro))) { in enablePedQuaternionData()
1555 if (mEnabled & (1 << GameRotationVector)) { in enable6AxisQuaternionData()
1564 } else if (mEnabled & (1 << Accelerometer)) { in enable6AxisQuaternionData()
1566 } else if ((mEnabled & ( 1 << Gyro)) || in enable6AxisQuaternionData()
[all …]
DMPLSensor.h207 int32_t getEnableMask() { return mEnabled; } in getEnableMask()
380 uint32_t mEnabled; variable
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp109 mEnabled(0), in MPLSensor()
1153 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE)); in setDmpFeature()
1171 } else if ((mEnabled & VIRTUAL_SENSOR_9AXES_MASK) in computeDmpState()
1172 || (mEnabled & VIRTUAL_SENSOR_GYRO_6AXES_MASK)) { in computeDmpState()
1321 if (mEnabled == 0) { in enablePedStandalone()
1439 if (mEnabled == 0) { in enablePedQuaternion()
1513 if (mEnabled & (1 << GameRotationVector)) { in enablePedQuaternionData()
1516 } else if (mEnabled & (1 << Accelerometer)) { in enablePedQuaternionData()
1518 } else if ((mEnabled & ( 1 << Gyro)) || in enablePedQuaternionData()
1519 (mEnabled & (1 << RawGyro))) { in enablePedQuaternionData()
[all …]
DMPLSensor.h187 int selectAndSetQuaternion(int batchMode, int mEnabled, long long featureMask);
192 int32_t getEnableMask() { return mEnabled; } in getEnableMask()
357 uint32_t mEnabled; variable
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMdssRot.cpp46 bool MdssRot::enabled() const { return mEnabled; } in enabled()
120 mEnabled = true; in commit()
124 return (mEnabled = false); in commit()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdssRot.cpp49 bool MdssRot::enabled() const { return mEnabled; } in enabled()
124 mEnabled = true; in commit()
128 return (mEnabled = false); in commit()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdssRot.cpp49 bool MdssRot::enabled() const { return mEnabled; } in enabled()
148 mEnabled = true; in commit()
152 return (mEnabled = false); in commit()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdssRot.cpp50 bool MdssRot::enabled() const { return mEnabled; } in enabled()
177 mEnabled = true; in commit()
181 return (mEnabled = false); in commit()
/hardware/qcom/display/msm8909/liboverlay/
DoverlayMdssRot.cpp50 bool MdssRot::enabled() const { return mEnabled; } in enabled()
177 mEnabled = true; in commit()
181 return (mEnabled = false); in commit()

12