Searched refs:mTestSensorEventListenerWakeLock (Results 1 – 1 of 1) sorted by relevance
67 private final PowerManager.WakeLock mTestSensorEventListenerWakeLock; field in TestSensorEventListener92 mTestSensorEventListenerWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in TestSensorEventListener()109 if (latch.getCount() == 0 && !mTestSensorEventListenerWakeLock.isHeld()) { in onSensorChanged()110 mTestSensorEventListenerWakeLock.acquire(); in onSensorChanged()359 if (mTestSensorEventListenerWakeLock.isHeld()) { in releaseWakeLock()360 mTestSensorEventListenerWakeLock.release(); in releaseWakeLock()