Home
last modified time | relevance | path

Searched defs:events (Results 1 – 25 of 164) sorted by relevance

1234567

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventHistoryImplTest.java102 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, 999L); in testNoEvents() local
116 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testMultipleEvents() local
130 List<Event> events = mEventHistory.queryEvents( in testQuerySomeEventTypes() local
145 List<Event> events = mEventHistory.queryEvents( in testQuerySingleEventType() local
167 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testPersistenceAndRestoration() local
194 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testMimicDevicePowerOff() local
213 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testOnDestroy() local
236 List<Event> events = map.get("testdir").queryEvents(Event.ALL_EVENT_TYPES, 0L, in testEventHistoriesImplFromDisk() local
DPackageDataTest.java90 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistory() local
109 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistoryDefaultDialerAndSmsApp() local
127 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistoryNotDefaultDialerOrSmsApp() local
145 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testDeleteConversationData() local
168 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testPruneOrphanEvents() local
DCallLogQueryHelperTest.java89 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryIncomingCall() local
105 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryOutgoingCall() local
121 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryMissedCall() local
140 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryMultipleCalls() local
DSmsQueryHelperTest.java90 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryIncomingMessage() local
105 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryOutgoingMessage() local
123 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryMultipleMessages() local
DMmsQueryHelperTest.java99 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryIncomingMessage() local
117 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryOutgoingMessage() local
141 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryMultipleMessages() local
DUsageStatsQueryHelperTest.java116 List<Event> events = mPackageData.mEventStore.mShortcutEventHistory.queryEvents( in testQueryShortcutInvocationEvent() local
130 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationSwitch() local
144 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationExplicitlyEnd() local
158 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationImplicitlyEnd() local
174 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testMultipleInAppConversations() local
190 List<UsageEvents.Event> events = mHelper.queryAppMovingToForegroundEvents(USER_ID_PRIMARY, in testQueryAppMovingToForegroundEvents() local
253 private void addUsageEvents(UsageEvents.Event... events) { in addUsageEvents()
/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp41 static void dumpEvents(const std::vector<RawEvent>& events) { in dumpEvents()
104 std::vector<RawEvent> events; in getEvents() local
133 std::vector<RawEvent> events = getEvents(); in consumeInitialDeviceAddedEvents() local
150 std::vector<RawEvent> events = getEvents(2); in waitForDeviceCreation() local
167 std::vector<RawEvent> events = getEvents(2); in waitForDeviceClose() local
178 std::vector<RawEvent> events = getEvents(); in assertNoMoreEvents() local
192 std::vector<RawEvent> events = getEvents(4); in TEST_F() local
/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp82 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents()
88 Event* events, size_t count) in getEvents()
93 ssize_t DisplayEventReceiver::sendEvents(Event const* events, size_t count) { in sendEvents()
98 Event const* events, size_t count) in sendEvents()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp62 ASensorEvent const* events, size_t numEvents) { in write()
66 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read()
98 int events; in waitForEvent() local
173 void SensorEventQueue::sendAck(const ASensorEvent* events, int count) { in sendAck()
192 ssize_t SensorEventQueue::filterEvents(ASensorEvent* events, size_t count) const { in filterEvents()
DBitTube.cpp144 void const* events, size_t count, size_t objSize) in sendObjects()
159 void* events, size_t count, size_t objSize) in recvObjects()
/frameworks/native/libs/sensor/include/sensor/
DBitTube.h54 T const* events, size_t count) { in sendObjects()
62 T* events, size_t count) { in recvObjects()
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h66 static ssize_t sendObjects(BitTube* tube, T const* events, size_t count) { in sendObjects()
73 static ssize_t recvObjects(BitTube* tube, T* events, size_t count) { in recvObjects()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarStateEventTest.kt32 val events = listOf( in <lambda>() constant
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java229 List<GestureStep> events = Arrays.asList( in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() local
414 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() local
454 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() local
487 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() local
527 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() local
555 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_nonContinuingGestureArrivesDuringDispatch_gestureCanceled() local
574 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_nonContinuingGestureArrivesAfterDispatch_gestureCanceled() local
596 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_misMatchedContinuationArrives_bothGesturesCanceled() local
614 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesFromOtherService_bothGesturesCanceled() local
633 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_realGestureArrivesInBetween_getsCanceled() local
DKeyboardInterceptorTest.java135 KeyEvent[] events = {new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0), in whenSomeEventsGetDelayed_allEventsStillInOrder() local
165 KeyEvent[] events = {new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0), in whenSomeEventsGetDropped_otherEventsStillInOrder() local
/frameworks/native/libs/sensor/tests/
DSensorEventQueue_test.cpp46 ASensorEvent* events = new ASensorEvent[types.size()]; in filterEvents() local
75 void runFilterTest(const Events& events) { in runFilterTest()
156 const Events events = {SENSOR_TYPE_ACCELEROMETER, in TEST_F() local
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java290 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessEvent() local
325 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessFullPopulatedEvent() local
358 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange() local
392 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedBufferSize() local
414 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedSensorEvents() local
467 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testReadEvents() local
585 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testWriteThenRead() local
624 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testWritePrunesOldEvents() local
751 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBackgroundHandlerDelay() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java72 List<NetworkEvent> events = fillHandlerWithFullBatchOfEvents(startingId); in testNetworkEventId_monotonicallyIncreasing() local
92 List<NetworkEvent> events = fillHandlerWithFullBatchOfEvents(startingId); in testNetworkEventId_wrapsAround() local
/frameworks/base/core/java/android/view/contentcapture/
DIContentCaptureDirectManager.aidl31 void sendEvents(in ParceledListSlice events, int reason, in ContentCaptureOptions options); in sendEvents()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_manager_client.h29 pdx::Status<int> GetEventMask(int events) { in GetEventMask()
/frameworks/base/telecomm/java/android/telecom/
DTimedEvent.java30 public static <T> Map<T, Double> averageTimings(Collection<? extends TimedEvent<T>> events) { in averageTimings()
/frameworks/base/media/java/android/media/tv/tuner/filter/
DFilterCallback.java35 void onFilterEvent(@NonNull Filter filter, @NonNull FilterEvent[] events); in onFilterEvent()
/frameworks/base/telecomm/java/android/telecom/Logging/
DTimedEvent.java30 public static <T> Map<T, Double> averageTimings(Collection<? extends TimedEvent<T>> events) { in averageTimings()
/frameworks/native/libs/vr/libpdx/
Dservice_dispatcher.cpp115 epoll_event events[kMaxEventsPerLoop]; in ReceiveAndDispatch() local
147 epoll_event events[kMaxEventsPerLoop]; in EnterDispatchLoop() local
/frameworks/base/core/tests/coretests/src/android/util/
DEventLogTest.java63 List<Event> events = new ArrayList<>(); in createEvent() local

1234567