Searched refs:timeout (Results 1 – 4 of 4) sorted by relevance
127 public void expectOnConfigurationChange(long timeout) throws InterruptedException { in expectOnConfigurationChange() argument132 mOnConfigurationChangeSemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); in expectOnConfigurationChange()156 public void expectOnCreate(long timeout) throws InterruptedException { in expectOnCreate() argument161 mOnCreateSemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); in expectOnCreate()185 public void expectOnDestroy(long timeout) throws InterruptedException { in expectOnDestroy() argument190 mOnDestroySemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); in expectOnDestroy()
147 public void expectOnConfigurationChange(long timeout) throws InterruptedException { in expectOnConfigurationChange() argument152 mOnConfigurationChangeSemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); in expectOnConfigurationChange()174 public void expectOnCreate(long timeout) throws InterruptedException { in expectOnCreate() argument179 mOnCreateSemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); in expectOnCreate()201 public void expectOnDestroy(long timeout) throws InterruptedException { in expectOnDestroy() argument206 mOnDestroySemaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); in expectOnDestroy()
170 final long timeout; in show() local172 timeout = LONG_CLICK_HIDE_TIMEOUT_MS; in show()175 timeout = HOVER_HIDE_TIMEOUT_SHORT_MS - ViewConfiguration.getLongPressTimeout(); in show()177 timeout = HOVER_HIDE_TIMEOUT_MS - ViewConfiguration.getLongPressTimeout(); in show()180 mAnchor.postDelayed(mHideRunnable, timeout); in show()
169 fun busyWait(timeout: Int, predicate: () -> Boolean): Boolean { in busyWait()170 val deadline = System.currentTimeMillis() + timeout in busyWait()183 val timeout = SETTINGS_TIMEOUT / 1000F in assumeDebugViewAttributes() constant186 "Assumed $DEBUG_VIEW_ATTRIBUTES would be $expected within $timeout seconds", in assumeDebugViewAttributes()