Searched refs:popWithTimeout (Results 1 – 5 of 5) sorted by relevance
39 ASSERT_EQ(queue.popWithTimeout(0ns), 2); in TEST()42 ASSERT_EQ(queue.popWithTimeout(100ns), 3); in TEST()44 ASSERT_EQ(std::nullopt, queue.popWithTimeout(0ns)); in TEST()151 ASSERT_EQ(std::nullopt, queue.popWithTimeout(1ns)); in TEST()
469 std::optional<std::unique_ptr<KeyEvent>> optKeyEvent = mKeyEvents.popWithTimeout(TIMEOUT); in publishAndConsumeKeyEvent()474 std::optional<bool> probablyHasInput = mProbablyHasInputResponses.popWithTimeout(TIMEOUT); in publishAndConsumeKeyEvent()545 mMotionEvents.popWithTimeout(NO_EVENT_TIMEOUT); in publishAndConsumeBatchedMotionMove()564 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeBatchedMotionMove()579 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeMotionEvent()599 std::optional<std::unique_ptr<FocusEvent>> optFocusEvent = mFocusEvents.popWithTimeout(TIMEOUT); in publishAndConsumeFocusEvent()619 std::optional<std::unique_ptr<CaptureEvent>> optEvent = mCaptureEvents.popWithTimeout(TIMEOUT); in publishAndConsumeCaptureEvent()643 std::optional<std::unique_ptr<DragEvent>> optEvent = mDragEvents.popWithTimeout(TIMEOUT); in publishAndConsumeDragEvent()668 mTouchModeEvents.popWithTimeout(TIMEOUT); in publishAndConsumeTouchModeEvent()
54 queue.popWithTimeout(std::chrono::nanoseconds( in LLVMFuzzerTestOneInput()
61 std::optional<T> popWithTimeout(std::chrono::nanoseconds duration) { in popWithTimeout() function
268 ASSERT_EQ(std::make_pair(deviceId, uids), mNotifiedInteractions.popWithTimeout(100ms)); in assertNotifyDeviceInteractionWasCalled()272 ASSERT_FALSE(mNotifiedInteractions.popWithTimeout(10ms)); in assertNotifyDeviceInteractionWasNotCalled()