Searched refs:MAX_NUM_OF_THREADS_READ_DICTIONARY (Results 1 – 1 of 1) sorted by relevance
90 private final int MAX_NUM_OF_THREADS_READ_DICTIONARY = 2; field in AndroidSpellCheckerService91 private final Semaphore mSemaphore = new Semaphore(MAX_NUM_OF_THREADS_READ_DICTIONARY,144 for (int i = 0; i < MAX_NUM_OF_THREADS_READ_DICTIONARY; i++) { in AndroidSpellCheckerService()180 mSemaphore.acquireUninterruptibly(MAX_NUM_OF_THREADS_READ_DICTIONARY); in onSharedPreferenceChanged()190 mSemaphore.release(MAX_NUM_OF_THREADS_READ_DICTIONARY); in onSharedPreferenceChanged()300 mSemaphore.acquireUninterruptibly(MAX_NUM_OF_THREADS_READ_DICTIONARY); in onUnbind()305 mSemaphore.release(MAX_NUM_OF_THREADS_READ_DICTIONARY); in onUnbind()