Searched refs:sem (Results 1 – 4 of 4) sorted by relevance
72 final Semaphore sem = new Semaphore(0); in setUp() local79 sem.release(); in setUp()85 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()117 final Semaphore sem = new Semaphore(0); in runOnLooper() local124 sem.release(); in runOnLooper()128 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
72 final Semaphore sem = new Semaphore(0); in setUp() local79 sem.release(); in setUp()85 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()119 final Semaphore sem = new Semaphore(0); in runOnLooper() local126 sem.release(); in runOnLooper()130 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
72 final Semaphore sem = new Semaphore(0); in setUp() local79 sem.release(); in setUp()85 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()111 final Semaphore sem = new Semaphore(0); in runOnLooper() local118 sem.release(); in runOnLooper()122 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
74 final Semaphore sem = new Semaphore(0); in setUp() local81 sem.release(); in setUp()87 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()113 final Semaphore sem = new Semaphore(0); in runOnLooper() local120 sem.release(); in runOnLooper()124 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()