Searched refs:suspendLock (Results 1 – 1 of 1) sorted by relevance
238 private SensorEventRegistry waitForEvent(PowerManager.WakeLock suspendLock) in waitForEvent() argument242 if ((suspendLock != null) && suspendLock.isHeld()) { in waitForEvent()243 suspendLock.release(); in waitForEvent()248 if ((suspendLock != null) && !suspendLock.isHeld()) { in waitForEvent()249 suspendLock.acquire(); in waitForEvent()