Home
last modified time | relevance | path

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

/device/lge/hammerhead/libsensors/
DProximitySensor.cpp34 mEnabled(0), in ProximitySensor()
57 if (newState != mEnabled) { in enable()
58 if (!mEnabled && dev_name != NULL) { in enable()
84 mEnabled = newState; in enable()
86 if (!mEnabled && dev_name != NULL) { in enable()
107 return mEnabled ? 1 : 0; in readEvents()
128 if (mEnabled) { in readEvents()
DLightSensor.cpp33 mEnabled(0), in LightSensor()
76 if (newState != mEnabled) { in enable()
77 if (!mEnabled && dev_name != NULL) { in enable()
103 mEnabled = newState; in enable()
105 if (!mEnabled && dev_name != NULL) { in enable()
126 return mEnabled ? 1 : 0; in readEvents()
146 if (mEnabled && (mPendingEvent.light != mPreviousLight) ) { in readEvents()
DProximitySensor.h34 int mEnabled; variable
DLightSensor.h34 int mEnabled; variable
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.h89 android::BitSet64 mEnabled; variable
DCwMcuSensor.cpp262 , mEnabled(0) in CwMcuSensor()
549 if (!mEnabled.isEmpty()) { in ~CwMcuSensor()
805 mEnabled.markBit(what); in setEnable()
807 mEnabled.clearBit(what); in setEnable()
810 if (mEnabled.isEmpty()) { in setEnable()
893 if (mEnabled.isEmpty()) { in batch()
1136 if (mEnabled.hasBit(id)) { in readEvents()