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

/frameworks/native/services/sensorservice/
H A DSensorEventConnection.cpp33 : mService(service), mUid(uid), mWakeLockRefCount(0), mHasLooperCallbacks(false),
57 return !mDead && mWakeLockRefCount > 0;
62 mWakeLockRefCount = 0;
69 "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize,
322 ++mWakeLockRefCount;
336 if (mWakeLockRefCount > 0) {
337 --mWakeLockRefCount;
402 ++mWakeLockRefCount;
407 if (wakeUpSensor) --mWakeLockRefCount;
432 ++mWakeLockRefCount;
[all...]
H A DSensorEventConnection.h108 // has read events from a wake up sensor, decrement mWakeLockRefCount. If this fd is available
131 uint32_t mWakeLockRefCount; member in class:android::SensorService::SensorEventConnection
139 // mWakeLockRefCount is reset to zero. needsWakeLock method will always return false, if this

Completed in 48 milliseconds