Lines Matching refs:timeout

88         std::chrono::nanoseconds timeout,  in assertNotifyNoFocusedWindowAnrWasCalled()  argument
94 application = getAnrTokenLockedInterruptible(timeout, mAnrApplications, lock)); in assertNotifyNoFocusedWindowAnrWasCalled()
99 std::chrono::nanoseconds timeout, const sp<gui::WindowInfoHandle>& window) { in assertNotifyWindowUnresponsiveWasCalled() argument
101 assertNotifyWindowUnresponsiveWasCalled(timeout, window->getToken(), in assertNotifyWindowUnresponsiveWasCalled()
106 std::chrono::nanoseconds timeout, const sp<IBinder>& expectedToken, in assertNotifyWindowUnresponsiveWasCalled() argument
111 ASSERT_NO_FATAL_FAILURE(result = getAnrTokenLockedInterruptible(timeout, mAnrWindows, lock)); in assertNotifyWindowUnresponsiveWasCalled()
117 std::chrono::nanoseconds timeout) { in getUnresponsiveWindowToken() argument
120 AnrResult result = getAnrTokenLockedInterruptible(timeout, mAnrWindows, lock); in getUnresponsiveWindowToken()
179 if (mPointerCaptureChangedCondition.wait_for(lock, 100ms) != std::cv_status::timeout) { in assertSetPointerCaptureNotCalled()
206 void FakeInputDispatcherPolicy::setInterceptKeyTimeout(std::chrono::milliseconds timeout) { in setInterceptKeyTimeout() argument
207 mInterceptKeyTimeout = timeout; in setInterceptKeyTimeout()
214 void FakeInputDispatcherPolicy::setStaleEventTimeout(std::chrono::nanoseconds timeout) { in setStaleEventTimeout() argument
215 mStaleEventTimeout = timeout; in setStaleEventTimeout()
301 T FakeInputDispatcherPolicy::getAnrTokenLockedInterruptible(std::chrono::nanoseconds timeout, in getAnrTokenLockedInterruptible() argument
310 std::chrono::duration timeToWait = timeout + 100ms; // provide some slack in getAnrTokenLockedInterruptible()
322 if (std::chrono::abs(timeout - waited) > 100ms) { in getAnrTokenLockedInterruptible()
324 << std::chrono::duration_cast<std::chrono::milliseconds>(timeout).count() in getAnrTokenLockedInterruptible()
334 std::chrono::nanoseconds timeout, std::queue<T>& storage, in getItemFromStorageLockedInterruptible() argument
336 condition.wait_for(lock, timeout, [&storage]() REQUIRES(mLock) { return !storage.empty(); }); in getItemFromStorageLockedInterruptible()