Home
last modified time | relevance | path

Searched refs:getEvents (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp104 std::vector<RawEvent> getEvents(std::optional<size_t> expectedEvents = std::nullopt);
107 std::vector<RawEvent> EventHubTest::getEvents(std::optional<size_t> expectedEvents) { in getEvents() function in EventHubTest
116 std::vector<RawEvent> newEvents = mEventHub->getEvents(timeout.count()); in getEvents()
137 std::vector<RawEvent> events = getEvents(); in consumeInitialDeviceAddedEvents()
154 std::vector<RawEvent> events = getEvents(2); in waitForDeviceCreation()
171 std::vector<RawEvent> events = getEvents(2); in waitForDeviceClose()
182 std::vector<RawEvent> events = getEvents(); in assertNoMoreEvents()
210 std::vector<RawEvent> events = getEvents(4); in TEST_F()
/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp110 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents() function in android::DisplayEventReceiver
112 return DisplayEventReceiver::getEvents(mDataChannel.get(), events, count); in getEvents()
115 ssize_t DisplayEventReceiver::getEvents(gui::BitTube* dataChannel, in getEvents() function in android::DisplayEventReceiver
DDisplayEventDispatcher.cpp164 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java305 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessEvent()
357 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testMultipleBrightnessEvents()
399 mTracker.getEvents(0, false).getList(); in testBrightnessFullPopulatedEvent()
400 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessFullPopulatedEvent()
436 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
447 events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange()
468 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedBufferSize()
525 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testReadEvents()
544 events = tracker.getEvents(1, true).getList(); in testReadEvents()
568 events = tracker.getEvents(0, true).getList(); in testReadEvents()
[all …]
/frameworks/native/libs/gui/include/gui/
DDisplayEventReceiver.h162 ssize_t getEvents(Event* events, size_t count);
163 static ssize_t getEvents(gui::BitTube* dataChannel, Event* events, size_t count);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java174 mClock.getLargeClock().getEvents().onSecondaryDisplayChanged(onSecondaryDisplay); in setLargeClockOnSecondaryDisplay()
275 mClock.getSmallClock().getEvents().onTargetRegionChanged(targetRegion); in updateClockTargetRegions()
281 mClock.getLargeClock().getEvents().onTargetRegionChanged( in updateClockTargetRegions()
284 mClock.getLargeClock().getEvents().onTargetRegionChanged( in updateClockTargetRegions()
464 mClock.getEvents().onColorPaletteChanged(mContext.getResources()); in onLayout()
DKeyguardClockSwitchController.java521 clock.getSmallClock().getEvents().onTimeTick(); in refresh()
522 clock.getLargeClock().getEvents().onTimeTick(); in refresh()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java248 LongArrayQueue remainingEvents = mQuotaTracker.getEvents(TEST_USER_ID, TEST_PACKAGE, in testDeleteObsoleteEventsLocked()
273 mQuotaTracker.getEvents(TEST_USER_ID, "com.android.test.remove", "tag1")); in testAppRemoval()
275 mQuotaTracker.getEvents(TEST_USER_ID, "com.android.test.remove", "tag2")); in testAppRemoval()
277 mQuotaTracker.getEvents(TEST_USER_ID, "com.android.test.remove", "tag3")); in testAppRemoval()
279 mQuotaTracker.getEvents(TEST_USER_ID, "com.android.test.stay", "tag1"))); in testAppRemoval()
281 mQuotaTracker.getEvents(TEST_USER_ID, "com.android.test.stay", "tag2"))); in testAppRemoval()
301 assertNull(mQuotaTracker.getEvents(TEST_USER_ID, TEST_PACKAGE, "tag1")); in testUserRemoval()
302 assertNull(mQuotaTracker.getEvents(TEST_USER_ID, TEST_PACKAGE, "tag2")); in testUserRemoval()
303 assertNull(mQuotaTracker.getEvents(TEST_USER_ID, TEST_PACKAGE, "tag3")); in testUserRemoval()
304 longArrayQueueEquals(expected, mQuotaTracker.getEvents(10, TEST_PACKAGE, "tag4")); in testUserRemoval()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchControllerBaseTest.java200 when(mClockController.getEvents()).thenReturn(mClockEvents); in setup()
201 when(mSmallClockController.getEvents()).thenReturn(mClockFaceEvents); in setup()
202 when(mLargeClockController.getEvents()).thenReturn(mClockFaceEvents); in setup()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java236 final List<ConnectivityMetricsEvent> events = getEvents(); in cmdList()
249 final List<IpConnectivityEvent> events = IpConnectivityEventBuilder.toProto(getEvents()); in listEventsAsProtos()
284 private List<ConnectivityMetricsEvent> getEvents() { in getEvents() method in IpConnectivityMetrics
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.h60 ssize_t getEvents(ASensorEvent *events, size_t count);
DASensorEventQueue.cpp83 ssize_t ASensorEventQueue::getEvents(ASensorEvent *events, size_t count) { in getEvents() function in ASensorEventQueue
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp42 while ((n = q->getEvents(buffer, 1)) > 0) { in receiver()
/frameworks/base/telecomm/java/android/telecom/Logging/
DEventManager.java199 public List<Event> getEvents() { in getEvents() method in EventManager.EventRecord
240 for (Event event : getEvents()) { in dump()
336 for (Event ev : er.getEvents()) { in dumpEventsTimeline()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java57 final KeyEvent shortcutKeyEvent = keyCharMap.getEvents(new char[] { shortcutKey })[0]; in chordMenuKey()
/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp140 while (mDisplayEventReceiver.getEvents(buf, 100) > 0) { in waitForVsync()
/frameworks/base/core/java/android/service/ambientcontext/
DAmbientContextDetectionResult.java62 public @NonNull List<AmbientContextEvent> getEvents() { in getEvents() method in AmbientContextDetectionResult
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerPerUserService.java436 observer.onEvents(detectionResult.getEvents()); in createDetectionResultRemoteCallback()
437 Slog.i(TAG, "Got detection result of " + detectionResult.getEvents() in createDetectionResultRemoteCallback()
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp96 while ((n = mFwkReceiver.getEvents(buf, SIZE)) > 0) { in handleEvent()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DInteraction.java84 public List<MotionEvent> getEvents() { in getEvents() method in Interaction
DAutomator.java170 for (MotionEvent event : interaction.getEvents()) { in doInteraction()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java921 if (mEventHistory.getEvents() != null) { in logViewEntered()
923 for (Event event : mEventHistory.getEvents()) { in logViewEntered()
1219 if (mEventHistory == null || mEventHistory.getEvents() == null in dumpLocked()
1220 || mEventHistory.getEvents().size() == 0) { in dumpLocked()
1226 int numEvents = mEventHistory.getEvents().size(); in dumpLocked()
1228 final Event event = mEventHistory.getEvents().get(i); in dumpLocked()
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp46 int evs = receiver_.getEvents(&ev_, 1); in notify()
49 evs = receiver_.getEvents(&ev_, 1); in notify()
/frameworks/base/libs/input/
DPointerControllerContext.cpp185 while ((n = mDisplayEventReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in handleVsyncEvents()
/frameworks/native/include/input/
DKeyCharacterMap.h126 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars,

12