/frameworks/native/services/inputflinger/tests/ |
D | EventHub_test.cpp | 98 std::vector<RawEvent> getEvents(std::optional<size_t> expectedEvents = std::nullopt); 101 std::vector<RawEvent> EventHubTest::getEvents(std::optional<size_t> expectedEvents) { in getEvents() function in EventHubTest 112 mEventHub->getEvents(timeout.count(), eventBuffer.data(), eventBuffer.size()); in getEvents() 133 std::vector<RawEvent> events = getEvents(); in consumeInitialDeviceAddedEvents() 150 std::vector<RawEvent> events = getEvents(2); in waitForDeviceCreation() 167 std::vector<RawEvent> events = getEvents(2); in waitForDeviceClose() 178 std::vector<RawEvent> events = getEvents(); in assertNoMoreEvents() 192 std::vector<RawEvent> events = getEvents(4); in TEST_F()
|
/frameworks/native/libs/gui/ |
D | DisplayEventReceiver.cpp | 101 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents() function in android::DisplayEventReceiver 103 return DisplayEventReceiver::getEvents(mDataChannel.get(), events, count); in getEvents() 106 ssize_t DisplayEventReceiver::getEvents(gui::BitTube* dataChannel, in getEvents() function in android::DisplayEventReceiver
|
D | DisplayEventDispatcher.cpp | 156 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 308 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessEvent() 347 = mTracker.getEvents(0, false).getList(); in testBrightnessFullPopulatedEvent() 348 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessFullPopulatedEvent() 384 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange() 395 events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange() 416 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedBufferSize() 473 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testReadEvents() 492 events = tracker.getEvents(1, true).getList(); in testReadEvents() 516 events = tracker.getEvents(0, true).getList(); in testReadEvents() 549 assertEquals(0, tracker.getEvents(0, true).getList().size()); in testFailedRead() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventReceiver.h | 143 ssize_t getEvents(Event* events, size_t count); 144 static ssize_t getEvents(gui::BitTube* dataChannel, Event* events, size_t count);
|
/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/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/native/services/surfaceflinger/tests/vsync/ |
D | vsync.cpp | 36 while ((n = q->getEvents(buffer, 1)) > 0) { in receiver()
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ASensorEventQueue.h | 59 ssize_t getEvents(ASensorEvent *events, size_t count);
|
D | ASensorEventQueue.cpp | 86 ssize_t ASensorEventQueue::getEvents(ASensorEvent *events, size_t count) { in getEvents() function in ASensorEventQueue
|
/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/native/services/surfaceflinger/tests/ |
D | SetFrameRateOverride_test.cpp | 59 while (mDisplayEventReceiver->getEvents(&event, 1) > 0) { in setFrameRateAndListenEvents()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchControllerTest.java | 182 when(mClockController.getEvents()).thenReturn(mClockEvents); in setup() 183 when(mSmallClockController.getEvents()).thenReturn(mClockFaceEvents); in setup() 184 when(mLargeClockController.getEvents()).thenReturn(mClockFaceEvents); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 156 mClock.getSmallClock().getEvents().onTargetRegionChanged(new Rect( in updateClockTargetRegions() 164 mClock.getLargeClock().getEvents().onTargetRegionChanged( in updateClockTargetRegions()
|
D | KeyguardClockSwitchController.java | 367 clock.getSmallClock().getEvents().onTimeTick(); in refresh() 368 clock.getLargeClock().getEvents().onTimeTick(); in refresh()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 136 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 | 411 observer.onEvents(detectionResult.getEvents()); in createDetectionResultRemoteCallback() 412 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/native/libs/gui/tests/ |
D | RegionSampling_test.cpp | 44 int evs = receiver_.getEvents(&ev_, 1); in notify() 47 evs = receiver_.getEvents(&ev_, 1); in notify()
|
/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/libs/input/ |
D | PointerControllerContext.cpp | 185 while ((n = mDisplayEventReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in handleVsyncEvents()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | MessageQueue.cpp | 190 while ((n = DisplayEventReceiver::getEvents(&mInjector.tube, buffer, 8)) > 0) { in injectorCallback()
|