/hardware/akm/AK8975_FS/libsensors/ |
D | KionixSensor.cpp | 40 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 …]
|
D | AdxlSensor.cpp | 37 mEnabled(0), in AdxlSensor() 60 if (mEnabled) { in ~AdxlSensor() 68 if (mEnabled) { in setInitialState() 99 if (mEnabled <= 0) { in setEnable() 101 } else if (mEnabled == 1) { in setEnable() 115 mEnabled++; in setEnable() 116 if (mEnabled > 32767) mEnabled = 32767; in setEnable() 118 mEnabled--; in setEnable() 119 if (mEnabled < 0) mEnabled = 0; in setEnable() 121 ALOGD("AdxlSensor: mEnabled = %d", mEnabled); in setEnable() [all …]
|
D | AkmSensor.cpp | 40 mEnabled[i] = 0; in AkmSensor() 100 if (mEnabled[id] <= 0) { in setEnable() 102 } else if (mEnabled[id] == 1) { in setEnable() 123 (mEnabled[id])++; in setEnable() 124 if (mEnabled[id] > 32767) mEnabled[id] = 32767; in setEnable() 126 (mEnabled[id])--; in setEnable() 127 if (mEnabled[id] < 0) mEnabled[id] = 0; in setEnable() 129 ALOGD("AkmSensor: mEnabled[%d] = %d", id, mEnabled[id]); in setEnable() 188 return mEnabled[id]; in getEnable() 221 if (mEnabled[j]) { in readEvents()
|
D | KionixSensor.h | 34 int mEnabled; variable
|
D | AdxlSensor.h | 34 int mEnabled; variable
|
D | AkmSensor.h | 54 int mEnabled[numSensors];
|
/hardware/intel/img/hwcomposer/common/observers/ |
D | VsyncEventObserver.cpp | 29 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()
|
D | SoftVsyncObserver.cpp | 31 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()
|
D | VsyncEventObserver.h | 43 bool mEnabled; variable
|
D | SoftVsyncObserver.h | 40 bool mEnabled; variable
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.cpp | 99 mEnabled(0), in MPLSensor() 1125 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE)); in setDmpFeature() 1143 } else if ((mEnabled & VIRTUAL_SENSOR_9AXES_MASK) in computeAndSetDmpState() 1144 || (mEnabled & VIRTUAL_SENSOR_GYRO_6AXES_MASK)) { in computeAndSetDmpState() 1268 if (mEnabled == 0) { in enablePedStandalone() 1386 if (mEnabled == 0) { in enablePedQuaternion() 1460 if (mEnabled & (1 << GameRotationVector)) { in enablePedQuaternionData() 1463 } else if (mEnabled & (1 << Accelerometer)) { in enablePedQuaternionData() 1465 } else if ((mEnabled & ( 1 << Gyro)) || in enablePedQuaternionData() 1466 (mEnabled & (1 << RawGyro))) { in enablePedQuaternionData() [all …]
|
D | MPLSensor.h | 187 int selectAndSetQuaternion(int batchMode, int mEnabled, long long featureMask); 191 int32_t getEnableMask() { return mEnabled; } in getEnableMask() 354 uint32_t mEnabled; variable
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.cpp | 223 mEnabled(0), in MPLSensor() 1242 if (mEnabled == 0) { in enablePedStandalone() 1360 if (mEnabled == 0) { in enablePedQuaternion() 1442 if (mEnabled & (1 << GameRotationVector)) { in enablePedQuaternionData() 1445 } else if (mEnabled & (1 << Accelerometer)) { in enablePedQuaternionData() 1447 } else if ((mEnabled & ( 1 << Gyro)) || in enablePedQuaternionData() 1448 (mEnabled & (1 << RawGyro))) { in enablePedQuaternionData() 1559 if (mEnabled & (1 << GameRotationVector)) { in enable6AxisQuaternionData() 1568 } else if (mEnabled & (1 << Accelerometer)) { in enable6AxisQuaternionData() 1570 } else if ((mEnabled & ( 1 << Gyro)) || in enable6AxisQuaternionData() [all …]
|
D | MPLSensor.h | 207 int32_t getEnableMask() { return mEnabled; } in getEnableMask() 380 uint32_t mEnabled; variable
|
/hardware/invensense/60xx/libsensors/ |
D | MPLSensor.cpp | 152 mEnabled(0), mPendingMask(0) in MPLSensor() 835 if ((uint32_t(newState) << what) != (mEnabled & (1 << what))) { in enable() 838 mEnabled &= ~(1 << what); in enable() 839 mEnabled |= (uint32_t(flags) << what); in enable() 840 ALOGV_IF(EXTRA_VERBOSE, "mEnabled = %x", mEnabled); in enable() 841 setPowerStates(mEnabled); in enable() 904 if (mEnabled) { in update_delay() 907 if (mEnabled & (1 << i)) { in update_delay() 1007 if (mEnabled & (1 << i)) { in readEvents() 1017 if (mEnabled & (1 << j)) { in readEvents() [all …]
|
D | MPLSensor.h | 118 uint32_t mEnabled; variable
|
/hardware/invensense/60xx/libsensors_iio/ |
D | MPLSensor.cpp | 166 mEnabled(0), in MPLSensor() 1074 if ((mEnabled & ((1 << Orientation) | (1 << RotationVector) | in enableSensors() 1359 ((mEnabled & (1 << what)) ? "en" : "dis"), in enable() 1367 if ((uint32_t(newState) << what) != (mEnabled & (1 << what))) { in enable() 1370 uint32_t lastEnabled = mEnabled, changed = 0; in enable() 1372 mEnabled &= ~(1 << what); in enable() 1373 mEnabled |= (uint32_t(flags) << what); in enable() 1377 computeLocalSensorMask(mEnabled); in enable() 1378 LOGV_IF(PROCESS_VERBOSE, "HAL:enable : mEnabled = %d", mEnabled); in enable() 1388 if (!(mEnabled & ((1 << Orientation) | (1 << RotationVector) | in enable() [all …]
|
D | MPLSensor.h | 137 int32_t getEnableMask() { return mEnabled; } in getEnableMask() 245 uint32_t mEnabled; variable
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayMdssRot.cpp | 46 bool MdssRot::enabled() const { return mEnabled; } in enabled() 120 mEnabled = true; in commit() 124 return (mEnabled = false); in commit()
|
D | overlayRotator.h | 219 bool mEnabled; variable
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayMdssRot.cpp | 49 bool MdssRot::enabled() const { return mEnabled; } in enabled() 124 mEnabled = true; in commit() 128 return (mEnabled = false); in commit()
|
D | overlayRotator.h | 205 bool mEnabled; variable
|
/hardware/qcom/display/msm8974/liboverlay/ |
D | overlayMdssRot.cpp | 48 bool MdssRot::enabled() const { return mEnabled; } in enabled() 122 mEnabled = true; in commit() 126 return (mEnabled = false); in commit()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMdssRot.cpp | 49 bool MdssRot::enabled() const { return mEnabled; } in enabled() 148 mEnabled = true; in commit() 152 return (mEnabled = false); in commit()
|
D | overlayRotator.h | 214 bool mEnabled; variable
|