Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp42 : mService(service), mUid(uid), mWakeLockRefCount(0), mHasLooperCallbacks(false), in SensorEventConnection()
75 return !mDead && mWakeLockRefCount > 0; in needsWakeLock()
80 mWakeLockRefCount = 0; in resetWakeLockRefCount()
94 "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize, in dump()
136 proto->write(WAKE_LOCK_REF_COUNT, int32_t(mWakeLockRefCount)); in dump()
396 ++mWakeLockRefCount; in sendEvents()
411 if (mWakeLockRefCount > 0) { in sendEvents()
412 --mWakeLockRefCount; in sendEvents()
568 ++mWakeLockRefCount; in sendPendingFlushEventsLocked()
573 if (wakeUpSensor) --mWakeLockRefCount; in sendPendingFlushEventsLocked()
[all …]
DSensorEventConnection.h155 uint32_t mWakeLockRefCount; variable