Home
last modified time | relevance | path

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

/frameworks/native/libs/input/tests/
DInputChannel_test.cpp116 ASSERT_FALSE(receiverChannel->probablyHasInput()); in TEST_F()
131 hasInput = receiverChannel->probablyHasInput(); in TEST_F()
146 EXPECT_FALSE(receiverChannel->probablyHasInput()) in TEST_F()
DInputPublisherAndConsumerNoResampling_test.cpp362 if (!mConsumer->probablyHasInput()) { in onBatchedInputEventPending()
393 mProbablyHasInputResponses.push(mConsumer->probablyHasInput()); in handleMessage()
474 std::optional<bool> probablyHasInput = mProbablyHasInputResponses.popWithTimeout(TIMEOUT); in publishAndConsumeKeyEvent() local
475 ASSERT_TRUE(probablyHasInput.has_value()); in publishAndConsumeKeyEvent()
476 ASSERT_FALSE(probablyHasInput.value()) << "no events should be waiting after being consumed"; in publishAndConsumeKeyEvent()
554 ASSERT_TRUE(mConsumer->probablyHasInput()) in publishAndConsumeBatchedMotionMove()
DInputPublisherAndConsumer_test.cpp217 hasInput = inputConsumer.probablyHasInput(); in waitUntilInputAvailable()
293 EXPECT_FALSE(mConsumer->probablyHasInput()) in publishAndConsumeKeyEvent()
374 EXPECT_TRUE(mConsumer->probablyHasInput()) in publishAndConsumeBatchedMotionMove()
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp95 bool probablyHasInput();
180 bool NativeInputEventReceiver::probablyHasInput() { in probablyHasInput() function in android::NativeInputEventReceiver
181 return mInputConsumer.probablyHasInput(); in probablyHasInput()
571 return receiver->probablyHasInput(); in nativeProbablyHasInput()
/frameworks/native/include/input/
DInputConsumerNoResampling.h92 bool probablyHasInput() const;
DInputConsumer.h104 bool probablyHasInput() const;
DInputTransport.h285 bool probablyHasInput() const;
/frameworks/base/core/java/android/view/
DInputEventReceiver.java99 public boolean probablyHasInput() { in probablyHasInput() method in InputEventReceiver
DViewRootImpl.java11098 public boolean probablyHasInput() { in probablyHasInput() method in ViewRootImpl.TrackballAxis
11102 return mInputEventReceiver.probablyHasInput(); in probablyHasInput()
DView.java23473 public boolean probablyHasInput() { in probablyHasInput() method
23478 return viewRootImpl.probablyHasInput(); in probablyHasInput()
/frameworks/native/libs/input/
DInputConsumerNoResampling.cpp277 bool InputConsumerNoResampling::probablyHasInput() const { in probablyHasInput() function in android::InputConsumerNoResampling
281 return (!mBatches.empty()) || mChannel->probablyHasInput(); in probablyHasInput()
DInputConsumer.cpp813 bool InputConsumer::probablyHasInput() const { in probablyHasInput() function in android::InputConsumer
814 return hasPendingBatch() || mChannel->probablyHasInput(); in probablyHasInput()
DInputTransport.cpp470 bool InputChannel::probablyHasInput() const { in probablyHasInput() function in android::InputChannel