Home | History | Annotate | Download | only in input

Lines Matching full:lock

737         // Poll for events.  Mind the wake lock dance!
738 // We hold a wake lock at all times except during epoll_wait(). This works due to some
740 // a kernel wake lock. However, once the last pending event has been read, the device
741 // driver will release the kernel wake lock. To prevent the system from going to sleep
742 // when this happens, the EventHub holds onto its own user wake lock while the client
750 mLock.unlock(); // release lock before poll, must be before release_wake_lock
756 mLock.lock(); // reacquire lock after poll, must be after acquire_wake_lock
1296 { // acquire lock
1327 } // release lock
1331 // Acquire and release the lock to ensure that the event hub has not deadlocked.
1332 mLock.lock();