Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java91 private final Semaphore mSemaphore = new Semaphore(MAX_NUM_OF_THREADS_READ_DICTIONARY, field in AndroidSpellCheckerService
180 mSemaphore.acquireUninterruptibly(MAX_NUM_OF_THREADS_READ_DICTIONARY); in onSharedPreferenceChanged()
190 mSemaphore.release(MAX_NUM_OF_THREADS_READ_DICTIONARY); in onSharedPreferenceChanged()
222 mSemaphore.acquireUninterruptibly(); in isValidWord()
228 mSemaphore.release(); in isValidWord()
235 mSemaphore.acquireUninterruptibly(); in getSuggestionResults()
246 mSemaphore.release(); in getSuggestionResults()
251 mSemaphore.acquireUninterruptibly(); in hasMainDictionaryForLocale()
257 mSemaphore.release(); in hasMainDictionaryForLocale()
300 mSemaphore.acquireUninterruptibly(MAX_NUM_OF_THREADS_READ_DICTIONARY); in onUnbind()
[all …]