Home
last modified time | relevance | path

Searched refs:mConcurrentFlashLock (Results 1 – 1 of 1) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java115 private Semaphore mConcurrentFlashLock = null; field in DeviceManager
1516 mConcurrentFlashLock = flashLock; in setConcurrentFlashSettings()
1522 return mConcurrentFlashLock; in getConcurrentFlashLock()
1530 if (mConcurrentFlashLock == null) { in initConcurrentFlashLock()
1544 if (mConcurrentFlashLock == null) { in initConcurrentFlashLock()
1545 mConcurrentFlashLock = new Semaphore(concurrentFlashingLimit, true /* fair */); in initConcurrentFlashLock()
1555 if (mConcurrentFlashLock != null) { in getAvailableFlashingPermits()
1556 return mConcurrentFlashLock.availablePermits(); in getAvailableFlashingPermits()
1577 mConcurrentFlashLock.getQueueLength()); in takeFlashingPermit()
1578 mConcurrentFlashLock.acquireUninterruptibly(); in takeFlashingPermit()
[all …]