Searched refs:mCountingSemaphore (Results 1 – 1 of 1) sorted by relevance
475 private Semaphore mCountingSemaphore; field in AsyncQueryServiceTest.TestAsyncQueryService479 mCountingSemaphore = new Semaphore(0); in TestAsyncQueryService()510 mCountingSemaphore.release(); in onQueryComplete()523 mCountingSemaphore.release(); in onInsertComplete()536 mCountingSemaphore.release(); in onUpdateComplete()549 mCountingSemaphore.release(); in onDeleteComplete()568 mCountingSemaphore.release(); in onBatchComplete()576 if (!mCountingSemaphore.tryAcquire(timeoutMills, TimeUnit.MILLISECONDS)) { in waitForCompletion()