Searched refs:mSensorLock (Results 1 – 1 of 1) sorted by relevance
101 private final ReentrantLock mSensorLock = new ReentrantLock(); field in CarSensorService146 mSensorLock.lock(); in init()160 mSensorLock.unlock(); in init()241 mSensorLock.tryLock(MAX_SENSOR_LOCK_WAIT_MS, TimeUnit.MILLISECONDS); in tryHoldSensorLock()248 if (mSensorLock.isHeldByCurrentThread()) { in releaseSensorLockSafely()249 mSensorLock.unlock(); in releaseSensorLockSafely()265 mSensorLock.lock(); in processSensorData()295 mSensorLock.unlock(); in processSensorData()319 mSensorLock.lock(); in getSupportedSensors()321 mSensorLock.unlock(); in getSupportedSensors()[all …]