Home
last modified time | relevance | path

Searched refs:mWakeLockRefCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp43 : mService(service), mUid(uid), mWakeLockRefCount(0), mHasLooperCallbacks(false), in SensorEventConnection()
74 return !mDead && mWakeLockRefCount > 0; in needsWakeLock()
79 mWakeLockRefCount = 0; in resetWakeLockRefCount()
93 "max cache size %d\n", mPackageName.c_str(), mWakeLockRefCount, mUid, mCacheSize, in dump()
135 proto->write(WAKE_LOCK_REF_COUNT, int32_t(mWakeLockRefCount)); in dump()
398 ++mWakeLockRefCount; in sendEvents()
413 if (mWakeLockRefCount > 0) { in sendEvents()
414 --mWakeLockRefCount; in sendEvents()
572 ++mWakeLockRefCount; in sendPendingFlushEventsLocked()
577 if (wakeUpSensor) --mWakeLockRefCount; in sendPendingFlushEventsLocked()
[all …]
DSensorEventConnection.h155 uint32_t mWakeLockRefCount; variable