Lines Matching refs:mWakeLockRefCount
33 : mService(service), mUid(uid), mWakeLockRefCount(0), mHasLooperCallbacks(false), in SensorEventConnection()
70 return !mDead && mWakeLockRefCount > 0; in needsWakeLock()
75 mWakeLockRefCount = 0; in resetWakeLockRefCount()
82 "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize, in dump()
354 ++mWakeLockRefCount; in sendEvents()
369 if (mWakeLockRefCount > 0) { in sendEvents()
370 --mWakeLockRefCount; in sendEvents()
442 ++mWakeLockRefCount; in sendPendingFlushEventsLocked()
447 if (wakeUpSensor) --mWakeLockRefCount; in sendPendingFlushEventsLocked()
474 ++mWakeLockRefCount; in writeToSocketFromCache()
489 if (mWakeLockRefCount > 0) { in writeToSocketFromCache()
490 --mWakeLockRefCount; in writeToSocketFromCache()
595 mWakeLockRefCount = 0; in handleEvent()
640 if (numAcks > 0 && numAcks < mWakeLockRefCount) { in handleEvent()
641 mWakeLockRefCount -= numAcks; in handleEvent()
643 mWakeLockRefCount = 0; in handleEvent()
650 mWakeLockRefCount = 0; in handleEvent()
655 if (mWakeLockRefCount == 0) { in handleEvent()