Searched refs:mEnabled (Results 1 – 6 of 6) sorted by relevance
34 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()
33 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()
34 int mEnabled; variable
89 android::BitSet64 mEnabled; variable
262 , 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()