Lines Matching refs:mWakeLockRefCount
42 : 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()
600 ++mWakeLockRefCount; in writeToSocketFromCache()
615 if (mWakeLockRefCount > 0) { in writeToSocketFromCache()
616 --mWakeLockRefCount; in writeToSocketFromCache()
828 mWakeLockRefCount = 0; in handleEvent()
873 if (numAcks > 0 && numAcks < mWakeLockRefCount) { in handleEvent()
874 mWakeLockRefCount -= numAcks; in handleEvent()
876 mWakeLockRefCount = 0; in handleEvent()
883 mWakeLockRefCount = 0; in handleEvent()
888 if (mWakeLockRefCount == 0) { in handleEvent()