Home
last modified time | relevance | path

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

/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DPromptHelper.java35 private Semaphore promptToken; field in PromptHelper
48 promptToken = new Semaphore(1); in PromptHelper()
93 promptToken.acquire(); in requestPrompt()
109 promptToken.release(); in requestPrompt()
149 if (!promptToken.tryAcquire()) { in cancelPrompt()
155 promptToken.release(); in cancelPrompt()