Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java133 private final Semaphore mForceSemaphore = new Semaphore(0 /* permits */); field in SecurityLogMonitor
420 final boolean force = mForceSemaphore.tryAcquire(POLLING_INTERVAL_MS, MILLISECONDS); in run()
497 synchronized (mForceSemaphore) { in forceLogs()
505 if (mForceSemaphore.availablePermits() == 0) { in forceLogs()
506 mForceSemaphore.release(); in forceLogs()