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.java119 List<Event> events = mPackageData.mEventStore.mShortcutEventHistory.queryEvents( in testQueryShortcutInvocationEvent() local
133 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationSwitch() local
149 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationExplicitlyEnd() local
165 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationImplicitlyEnd() local
183 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testMultipleInAppConversations() local
199 List<UsageEvents.Event> events = mHelper.queryAppMovingToForegroundEvents(USER_ID_PRIMARY, in testQueryAppMovingToForegroundEvents() local
262 private void addUsageEvents(UsageEvents.Event... events) { in addUsageEvents()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java262 int[] events = {TelephonyCallback.EVENT_PHONE_CAPABILITY_CHANGED}; in testPhoneCapabilityChanged() local
281 int[] events = {TelephonyCallback.EVENT_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGED}; in testActiveDataSubChanged() local
309 int[] events = {TelephonyCallback.EVENT_SRVCC_STATE_CHANGED}; in testSrvccStateChanged() local
334 int[] events = {TelephonyCallback.EVENT_SRVCC_STATE_CHANGED}; in testSrvccStateChangedNoPermission() local
350 int[] events = {TelephonyCallback.EVENT_RADIO_POWER_STATE_CHANGED}; in testMultiSimConfigChange() local
382 int[] events = {TelephonyCallback.EVENT_PRECISE_DATA_CONNECTION_STATE_CHANGED}; in testPreciseDataConnectionStateChanged() local
466 int[] events = {TelephonyCallback.EVENT_PHYSICAL_CHANNEL_CONFIG_CHANGED}; in testPhysicalChannelConfigChanged() local
507 int[] events = new int[] {TelephonyCallback.EVENT_CALL_STATE_CHANGED, in testCallStateChangedPermission() local
616 int[] events = {TelephonyCallback.EVENT_DISPLAY_INFO_CHANGED}; in testNotifyDisplayInfoChanged() local
656 int[] events = {TelephonyCallback.EVENT_CELL_LOCATION_CHANGED}; in testNotifyCellLocationForSubscriberByUserSwitched() local
[all …]
/frameworks/native/libs/gui/
DDisplayEventReceiver.cpp83 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, in getEvents()
89 Event* events, size_t count) in getEvents()
94 ssize_t DisplayEventReceiver::sendEvents(Event const* events, size_t count) { in sendEvents()
99 Event const* events, size_t count) in sendEvents()
/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/sensor/include/sensor/
DBitTube.h54 T const* events, size_t count) { in sendObjects()
62 T* events, size_t count) { in recvObjects()
/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()
/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/mockingservicestests/src/com/android/server/usage/
DUserUsageStatsServiceTest.java93 UsageEvents events = mService.queryEventsForPackage( in testReportEvent_eventAppearsInQueries() local
117 UsageEvents events = mService.queryEventsForPackage( in testReportEvent_packageUsedEventNotTracked() local
/frameworks/av/services/tuner/
DTunerFilter.cpp607 vector<DemuxFilterEvent::Event> events = filterEvent.events; in onFilterEvent_1_1() local
619 void TunerFilter::FilterCallback::getAidlFilterEvent(vector<DemuxFilterEvent::Event>& events, in getAidlFilterEvent()
683 vector<DemuxFilterEvent::Event>& events, vector<TunerFilterEvent>& res) { in getMediaEvent()
730 vector<DemuxFilterEvent::Event>& events, vector<TunerFilterEvent>& res) { in getSectionEvent()
747 vector<DemuxFilterEvent::Event>& events, vector<TunerFilterEvent>& res) { in getPesEvent()
762 void TunerFilter::FilterCallback::getTsRecordEvent(vector<DemuxFilterEvent::Event>& events, in getTsRecordEvent()
804 void TunerFilter::FilterCallback::getMmtpRecordEvent(vector<DemuxFilterEvent::Event>& events, in getMmtpRecordEvent()
833 vector<DemuxFilterEvent::Event>& events, vector<TunerFilterEvent>& res) { in getDownloadEvent()
851 vector<DemuxFilterEvent::Event>& events, vector<TunerFilterEvent>& res) { in getIpPayloadEvent()
865 vector<DemuxFilterEvent::Event>& events, vector<TunerFilterEvent>& res) { in getTemiEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java242 List<GestureStep> events = Arrays.asList( in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() local
431 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() local
471 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() local
504 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() local
544 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() local
572 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_nonContinuingGestureArrivesDuringDispatch_gestureCanceled() local
591 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_nonContinuingGestureArrivesAfterDispatch_gestureCanceled() local
613 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_misMatchedContinuationArrives_bothGesturesCanceled() local
631 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesFromOtherService_bothGesturesCanceled() local
650 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/devicepolicy/
DNetworkEventTest.java76 List<NetworkEvent> events = fillHandlerWithFullBatchOfEvents(startingId); in testNetworkEventId_monotonicallyIncreasing() local
99 List<NetworkEvent> events = fillHandlerWithFullBatchOfEvents(startingId); in testNetworkEventId_wrapsAround() local
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java296 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessEvent() local
336 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBrightnessFullPopulatedEvent() local
373 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testIgnoreAutomaticBrightnessChange() local
407 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedBufferSize() local
429 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testLimitedSensorEvents() local
491 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testReadEvents() local
617 List<BrightnessChangeEvent> events = tracker.getEvents(0, true).getList(); in testWriteThenRead() local
663 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testWritePrunesOldEvents() local
799 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testBackgroundHandlerDelay() local
820 List<BrightnessChangeEvent> events = mTracker.getEvents(0, true).getList(); in testDisplayIdChange() 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/services/core/java/com/android/server/powerstats/
DStatsPullAtomCallbackImpl.java80 private int pullOnDevicePowerMeasurement(int atomTag, List<StatsEvent> events) { in pullOnDevicePowerMeasurement()
130 private int pullSubsystemSleepState(int atomTag, List<StatsEvent> events) { in pullSubsystemSleepState()
/frameworks/base/telecomm/java/android/telecom/Logging/
DTimedEvent.java30 public static <T> Map<T, Double> averageTimings(Collection<? extends TimedEvent<T>> events) { in averageTimings()
/frameworks/base/telecomm/java/android/telecom/
DTimedEvent.java30 public static <T> Map<T, Double> averageTimings(Collection<? extends TimedEvent<T>> events) { in averageTimings()

1234567