Lines Matching refs:mWakeLockRefCount
43 : 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()
604 ++mWakeLockRefCount; in writeToSocketFromCache()
619 if (mWakeLockRefCount > 0) { in writeToSocketFromCache()
620 --mWakeLockRefCount; in writeToSocketFromCache()
832 mWakeLockRefCount = 0; in handleEvent()
882 if (numAcks > 0 && numAcks < mWakeLockRefCount) { in handleEvent()
883 mWakeLockRefCount -= numAcks; in handleEvent()
885 mWakeLockRefCount = 0; in handleEvent()
892 mWakeLockRefCount = 0; in handleEvent()
897 if (mWakeLockRefCount == 0) { in handleEvent()