/frameworks/native/services/inputflinger/tests/ |
D | EventHub_test.cpp | 104 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/ |
D | DisplayEventReceiver.cpp | 110 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
|
D | DisplayEventDispatcher.cpp | 164 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 305 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/ |
D | DisplayEventReceiver.h | 162 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/ |
D | KeyguardClockSwitch.java | 174 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()
|
D | KeyguardClockSwitchController.java | 521 clock.getSmallClock().getEvents().onTimeTick(); in refresh() 522 clock.getLargeClock().getEvents().onTimeTick(); in refresh()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/ |
D | CountQuotaTrackerTest.java | 248 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/ |
D | KeyguardClockSwitchControllerBaseTest.java | 200 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/ |
D | IpConnectivityMetrics.java | 236 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/ |
D | ASensorEventQueue.h | 60 ssize_t getEvents(ASensorEvent *events, size_t count);
|
D | ASensorEventQueue.cpp | 83 ssize_t ASensorEventQueue::getEvents(ASensorEvent *events, size_t count) { in getEvents() function in ASensorEventQueue
|
/frameworks/native/services/surfaceflinger/tests/vsync/ |
D | vsync.cpp | 42 while ((n = q->getEvents(buffer, 1)) > 0) { in receiver()
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
D | EventManager.java | 199 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/ |
D | KeyUtils.java | 57 final KeyEvent shortcutKeyEvent = keyCharMap.getEvents(new char[] { shortcutKey })[0]; in chordMenuKey()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 140 while (mDisplayEventReceiver.getEvents(buf, 100) > 0) { in waitForVsync()
|
/frameworks/base/core/java/android/service/ambientcontext/ |
D | AmbientContextDetectionResult.java | 62 public @NonNull List<AmbientContextEvent> getEvents() { in getEvents() method in AmbientContextDetectionResult
|
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | AmbientContextManagerPerUserService.java | 436 observer.onEvents(detectionResult.getEvents()); in createDetectionResultRemoteCallback() 437 Slog.i(TAG, "Got detection result of " + detectionResult.getEvents() in createDetectionResultRemoteCallback()
|
/frameworks/native/services/displayservice/ |
D | DisplayEventReceiver.cpp | 96 while ((n = mFwkReceiver.getEvents(buf, SIZE)) > 0) { in handleEvent()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 84 public List<MotionEvent> getEvents() { in getEvents() method in Interaction
|
D | Automator.java | 170 for (MotionEvent event : interaction.getEvents()) { in doInteraction()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 921 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/ |
D | RegionSampling_test.cpp | 46 int evs = receiver_.getEvents(&ev_, 1); in notify() 49 evs = receiver_.getEvents(&ev_, 1); in notify()
|
/frameworks/base/libs/input/ |
D | PointerControllerContext.cpp | 185 while ((n = mDisplayEventReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in handleVsyncEvents()
|
/frameworks/native/include/input/ |
D | KeyCharacterMap.h | 126 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars,
|