/frameworks/native/cmds/atrace/ |
D | atrace.rc | 26 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_switch/enable 27 chmod 0666 /sys/kernel/tracing/events/sched/sched_switch/enable 28 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable 29 chmod 0666 /sys/kernel/tracing/events/sched/sched_wakeup/enable 30 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable 31 chmod 0666 /sys/kernel/tracing/events/sched/sched_blocked_reason/enable 32 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug/enable 33 chmod 0666 /sys/kernel/tracing/events/sched/sched_cpu_hotplug/enable 34 chmod 0666 /sys/kernel/debug/tracing/events/sched/sched_pi_setprio/enable 35 chmod 0666 /sys/kernel/tracing/events/sched/sched_pi_setprio/enable [all …]
|
D | atrace_userdebug.rc | 10 # echo sched/foo > set_event == echo 1 > events/sched/foo/enable. 14 chmod 0666 /sys/kernel/tracing/events/workqueue/enable 15 chmod 0666 /sys/kernel/debug/tracing/events/workqueue/enable 16 chmod 0666 /sys/kernel/tracing/events/regulator/enable 17 chmod 0666 /sys/kernel/debug/tracing/events/regulator/enable 18 chmod 0666 /sys/kernel/tracing/events/filemap/enable 19 chmod 0666 /sys/kernel/debug/tracing/events/filemap/enable 22 chmod 0666 /sys/kernel/tracing/events/irq/enable 23 chmod 0666 /sys/kernel/debug/tracing/events/irq/enable 24 chmod 0666 /sys/kernel/tracing/events/ipi/enable [all …]
|
/frameworks/base/cmds/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 140 std::vector<std::unique_ptr<LogEvent>> events; in BM_DurationMetricNoLink() local 142 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 11, in BM_DurationMetricNoLink() 144 events.push_back( in BM_DurationMetricNoLink() 147 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 102, in BM_DurationMetricNoLink() 149 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 450, in BM_DurationMetricNoLink() 152 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + 650, in BM_DurationMetricNoLink() 154 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + bucketSizeNs + 100, in BM_DurationMetricNoLink() 157 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + bucketSizeNs + 640, in BM_DurationMetricNoLink() 159 events.push_back(CreateScreenStateChangedEvent(bucketStartTimeNs + bucketSizeNs + 650, in BM_DurationMetricNoLink() 164 events.push_back(CreateStartScheduledJobEvent(bucketStartTimeNs + 2, attributionUids1, in BM_DurationMetricNoLink() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 159 assertEquals(1000, log.events.length); in testEventDropped() 163 assertEquals(1, log.events[0].dataStallAction); in testEventDropped() 173 assertEquals(1, log.events.length); in testWriteDataStallEvent() 176 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteDataStallEvent() 177 assertEquals(3, log.events[0].dataStallAction); in testWriteDataStallEvent() 187 assertEquals(1, log.events.length); in testModemRestartEvent() 191 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testModemRestartEvent() 192 assertEquals("Test", log.events[0].modemRestart.reason); in testModemRestartEvent() 218 assertEquals(1, log.events.length); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore() 222 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | EventHub_test.cpp | 41 static void dumpEvents(const std::vector<RawEvent>& events) { in dumpEvents() argument 42 for (const RawEvent& event : events) { in dumpEvents() 104 std::vector<RawEvent> events; in getEvents() local 116 events.insert(events.end(), eventBuffer.begin(), eventBuffer.begin() + count); in getEvents() 117 if (expectedEvents && events.size() >= *expectedEvents) { in getEvents() 122 dumpEvents(events); in getEvents() 124 return events; in getEvents() 133 std::vector<RawEvent> events = getEvents(); in consumeInitialDeviceAddedEvents() local 136 for (size_t i = 0; i < events.size() - 1; i++) { in consumeInitialDeviceAddedEvents() 137 const RawEvent& event = events[i]; in consumeInitialDeviceAddedEvents() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricConditionLink_e2e_test.cpp | 171 std::vector<std::unique_ptr<LogEvent>> events; in TEST() local 172 events.push_back(std::move(crashEvent1)); in TEST() 173 events.push_back(std::move(crashEvent2)); in TEST() 174 events.push_back(std::move(crashEvent3)); in TEST() 175 events.push_back(std::move(crashEvent4)); in TEST() 176 events.push_back(std::move(crashEvent5)); in TEST() 177 events.push_back(std::move(crashEvent6)); in TEST() 178 events.push_back(std::move(crashEvent7)); in TEST() 179 events.push_back(std::move(crashEvent8)); in TEST() 180 events.push_back(std::move(crashEvent9)); in TEST() [all …]
|
D | CountMetric_e2e_test.cpp | 180 std::vector<std::unique_ptr<LogEvent>> events; in TEST() local 181 events.push_back(CreateScreenStateChangedEvent( in TEST() 184 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 75 * NS_PER_SEC, attributionUids1, in TEST() 186 events.push_back(CreateScreenStateChangedEvent( in TEST() 189 events.push_back(CreateScreenStateChangedEvent( in TEST() 192 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 250 * NS_PER_SEC, attributionUids1, in TEST() 196 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 350 * NS_PER_SEC, attributionUids1, in TEST() 198 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 400 * NS_PER_SEC, attributionUids1, in TEST() 200 events.push_back(CreateScreenStateChangedEvent( in TEST() 203 events.push_back(CreateSyncStartEvent(bucketStartTimeNs + 475 * NS_PER_SEC, attributionUids1, in TEST() [all …]
|
D | Attribution_e2e_test.cpp | 115 std::vector<std::unique_ptr<LogEvent>> events; in TEST() local 117 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2, attributionUids1, in TEST() 119 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 200, attributionUids2, in TEST() 121 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs - 1, in TEST() 123 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + bucketSizeNs, attributionUids4, in TEST() 127 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 1, in TEST() 129 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 2 * bucketSizeNs + 100, in TEST() 131 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs - 2, in TEST() 133 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs, in TEST() 135 events.push_back(CreateAcquireWakelockEvent(bucketStartTimeNs + 3 * bucketSizeNs + 1, in TEST() [all …]
|
/frameworks/native/libs/sensor/tests/ |
D | SensorEventQueue_test.cpp | 46 ASensorEvent* events = new ASensorEvent[types.size()]; in filterEvents() local 48 events[i].type = types[i]; in filterEvents() 52 ssize_t filteredCount = mQueue->filterEvents(events, types.size()); in filterEvents() 57 result.push_back(events[i].type); in filterEvents() 59 delete[] events; in filterEvents() 64 Events getExpectedEvents(const Events &events) const { in getExpectedEvents() 66 for (size_t i = 0; i != events.size(); i++) { in getExpectedEvents() 68 if (events[i] != SENSOR_TYPE_ADDITIONAL_INFO || mQueue->requestAdditionalInfo) { in getExpectedEvents() 69 output.push_back(events[i]); in getExpectedEvents() 75 void runFilterTest(const Events& events) { in runFilterTest() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | CallLogQueryHelperTest.java | 89 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryIncomingCall() local 92 assertEquals(1, events.size()); in testQueryIncomingCall() 93 assertEquals(Event.TYPE_CALL_INCOMING, events.get(0).getType()); in testQueryIncomingCall() 94 assertEquals(100L, events.get(0).getTimestamp()); in testQueryIncomingCall() 95 assertEquals(30L, events.get(0).getDurationSeconds()); in testQueryIncomingCall() 105 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryOutgoingCall() local 108 assertEquals(1, events.size()); in testQueryOutgoingCall() 109 assertEquals(Event.TYPE_CALL_OUTGOING, events.get(0).getType()); in testQueryOutgoingCall() 110 assertEquals(100L, events.get(0).getTimestamp()); in testQueryOutgoingCall() 111 assertEquals(40L, events.get(0).getDurationSeconds()); in testQueryOutgoingCall() [all …]
|
D | PackageDataTest.java | 90 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistory() local 91 assertEquals(2, events.size()); in testGetEventHistory() 92 assertEventEquals(mE1, events.get(0)); in testGetEventHistory() 93 assertEventEquals(mE2, events.get(1)); in testGetEventHistory() 109 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistoryDefaultDialerAndSmsApp() local 110 assertEquals(3, events.size()); in testGetEventHistoryDefaultDialerAndSmsApp() 111 assertEventEquals(mE1, events.get(0)); in testGetEventHistoryDefaultDialerAndSmsApp() 112 assertEventEquals(mE3, events.get(1)); in testGetEventHistoryDefaultDialerAndSmsApp() 113 assertEventEquals(mE4, events.get(2)); in testGetEventHistoryDefaultDialerAndSmsApp() 127 List<Event> events = eventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testGetEventHistoryNotDefaultDialerOrSmsApp() local [all …]
|
D | SmsQueryHelperTest.java | 90 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryIncomingMessage() local 93 assertEquals(1, events.size()); in testQueryIncomingMessage() 94 assertEquals(Event.TYPE_SMS_INCOMING, events.get(0).getType()); in testQueryIncomingMessage() 95 assertEquals(100L, events.get(0).getTimestamp()); in testQueryIncomingMessage() 105 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryOutgoingMessage() local 108 assertEquals(1, events.size()); in testQueryOutgoingMessage() 109 assertEquals(Event.TYPE_SMS_OUTGOING, events.get(0).getType()); in testQueryOutgoingMessage() 110 assertEquals(100L, events.get(0).getTimestamp()); in testQueryOutgoingMessage() 123 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryMultipleMessages() local 126 assertEquals(2, events.size()); in testQueryMultipleMessages() [all …]
|
D | EventHistoryImplTest.java | 102 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, 999L); in testNoEvents() local 103 assertTrue(events.isEmpty()); in testNoEvents() 116 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testMultipleEvents() local 117 assertEquals(4, events.size()); in testMultipleEvents() 130 List<Event> events = mEventHistory.queryEvents( in testQuerySomeEventTypes() local 132 assertEquals(2, events.size()); in testQuerySomeEventTypes() 145 List<Event> events = mEventHistory.queryEvents( in testQuerySingleEventType() local 147 assertEquals(1, events.size()); in testQuerySingleEventType() 167 List<Event> events = mEventHistory.queryEvents(Event.ALL_EVENT_TYPES, 0L, Long.MAX_VALUE); in testPersistenceAndRestoration() local 168 assertEquals(2, events.size()); in testPersistenceAndRestoration() [all …]
|
D | MmsQueryHelperTest.java | 99 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryIncomingMessage() local 102 assertEquals(1, events.size()); in testQueryIncomingMessage() 103 assertEquals(Event.TYPE_SMS_INCOMING, events.get(0).getType()); in testQueryIncomingMessage() 104 assertEquals(100_000L, events.get(0).getTimestamp()); in testQueryIncomingMessage() 117 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryOutgoingMessage() local 120 assertEquals(1, events.size()); in testQueryOutgoingMessage() 121 assertEquals(Event.TYPE_SMS_OUTGOING, events.get(0).getType()); in testQueryOutgoingMessage() 122 assertEquals(100_000L, events.get(0).getTimestamp()); in testQueryOutgoingMessage() 141 List<Event> events = mEventConsumer.mEventMap.get(NORMALIZED_PHONE_NUMBER); in testQueryMultipleMessages() local 144 assertEquals(2, events.size()); in testQueryMultipleMessages() [all …]
|
D | UsageStatsQueryHelperTest.java | 116 List<Event> events = mPackageData.mEventStore.mShortcutEventHistory.queryEvents( in testQueryShortcutInvocationEvent() local 118 assertEquals(1, events.size()); in testQueryShortcutInvocationEvent() 119 assertEquals(expectedEvent, events.get(0)); in testQueryShortcutInvocationEvent() 130 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationSwitch() local 132 assertEquals(1, events.size()); in testInAppConversationSwitch() 133 assertEquals(createInAppConversationEvent(100_000L, 10), events.get(0)); in testInAppConversationSwitch() 144 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationExplicitlyEnd() local 146 assertEquals(1, events.size()); in testInAppConversationExplicitlyEnd() 147 assertEquals(createInAppConversationEvent(100_000L, 10), events.get(0)); in testInAppConversationExplicitlyEnd() 158 List<Event> events = mPackageData.mEventStore.mLocusEventHistory.queryEvents( in testInAppConversationImplicitlyEnd() local [all …]
|
/frameworks/opt/net/wifi/service/ |
D | wifi.rc | 42 # Enable cfg80211 events for connection and key management events. 46 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1 47 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_add_key/enable 1 48 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_assoc/enable 1 49 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_auth/enable 1 50 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_connect/enable 1 51 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_key/enable 1 52 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_mgmt_key/enable 1 53 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_rekey_data/enable 1 55 write /sys/kernel/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1 [all …]
|
/frameworks/native/libs/vr/libvrflinger/ |
D | epoll_event_dispatcher.cpp | 29 epoll_event event = {.events = EPOLLIN, .data = {.ptr = this}}; in EpollEventDispatcher() 50 event.events = event_mask; in AddEventHandler() 97 epoll_event events[kMaxNumEvents]; in EventThread() local 100 const int num_events = epoll_wait(epoll_fd_.Get(), events, kMaxNumEvents, -1); in EventThread() 111 i, events[i].data.ptr, events[i].events); in EventThread() 113 if (events[i].data.ptr == this) { in EventThread() 120 auto handler = reinterpret_cast<Handler*>(events[i].data.ptr); in EventThread() 122 (*handler)(events[i].events); in EventThread()
|
/frameworks/base/core/jni/ |
D | android_os_MessageQueue.cpp | 50 void setFileDescriptorEvents(int fd, int events); 52 virtual int handleEvent(int fd, int events, void* data); 125 void NativeMessageQueue::setFileDescriptorEvents(int fd, int events) { in setFileDescriptorEvents() argument 126 if (events) { in setFileDescriptorEvents() 128 if (events & CALLBACK_EVENT_INPUT) { in setFileDescriptorEvents() 131 if (events & CALLBACK_EVENT_OUTPUT) { in setFileDescriptorEvents() 135 reinterpret_cast<void*>(events)); in setFileDescriptorEvents() 142 int events = 0; in handleEvent() local 144 events |= CALLBACK_EVENT_INPUT; in handleEvent() 147 events |= CALLBACK_EVENT_OUTPUT; in handleEvent() [all …]
|
/frameworks/native/libs/sensor/ |
D | SensorEventQueue.cpp | 62 ASensorEvent const* events, size_t numEvents) { in write() argument 63 return BitTube::sendObjects(tube, events, numEvents); in write() 66 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { in read() argument 77 memcpy(events, mRecBuffer + mConsumed, count * sizeof(ASensorEvent)); in read() 98 int events; in waitForEvent() local 101 result = looper->pollOnce(-1, nullptr, &events, nullptr); in waitForEvent() 107 if (events & ALOOPER_EVENT_HANGUP) { in waitForEvent() 173 void SensorEventQueue::sendAck(const ASensorEvent* events, int count) { in sendAck() argument 175 if (events[i].flags & WAKE_UP_SENSOR_EVENT_NEEDS_ACK) { in sendAck() 192 ssize_t SensorEventQueue::filterEvents(ASensorEvent* events, size_t count) const { in filterEvents() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 229 List<GestureStep> events = Arrays.asList( in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() local 233 injectEventsSync(events, mServiceInterface, CLICK_SEQUENCE); in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 414 List<MotionEvent> events = mCaptor1.getAllValues(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() local 415 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 416 assertThat(events.get(0), allOf(isAtPoint(CONTINUED_LINE_START), IS_ACTION_DOWN, in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 418 assertThat(events, everyItem(hasDownTime(downTime))); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 419 assertThat(events.get(1), allOf(isAtPoint(CONTINUED_LINE_MID1), IS_ACTION_MOVE, in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 422 long secondSequenceStart = events.get(2).getEventTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 423 assertTrue(secondSequenceStart >= events.get(1).getEventTime()); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() 424 assertThat(events.get(2), allOf(isAtPoint(CONTINUED_LINE_MID2), IS_ACTION_MOVE)); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() [all …]
|
D | KeyboardInterceptorTest.java | 135 KeyEvent[] events = {new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0), in whenSomeEventsGetDelayed_allEventsStillInOrder() local 142 argThat(matchesKeyEvent(events[1])), eq(0))).thenReturn(150L); in whenSomeEventsGetDelayed_allEventsStillInOrder() 144 argThat(matchesKeyEvent(events[3])), eq(0))).thenReturn(75L); in whenSomeEventsGetDelayed_allEventsStillInOrder() 146 for (KeyEvent event : events) { in whenSomeEventsGetDelayed_allEventsStillInOrder() 151 argThat(matchesKeyEvent(events[1])), eq(0))).thenReturn(0L); in whenSomeEventsGetDelayed_allEventsStillInOrder() 153 argThat(matchesKeyEvent(events[3])), eq(0))).thenReturn(0L); in whenSomeEventsGetDelayed_allEventsStillInOrder() 158 for (KeyEvent event : events) { in whenSomeEventsGetDelayed_allEventsStillInOrder() 165 KeyEvent[] events = {new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0), in whenSomeEventsGetDropped_otherEventsStillInOrder() local 172 argThat(matchesKeyEvent(events[1])), eq(0))).thenReturn(150L); in whenSomeEventsGetDropped_otherEventsStillInOrder() 174 argThat(matchesKeyEvent(events[3])), eq(0))).thenReturn(75L); in whenSomeEventsGetDropped_otherEventsStillInOrder() [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | service_dispatcher.cpp | 41 event.events = EPOLLIN; in ServiceDispatcher() 75 event.events = EPOLLIN; in AddService() 115 epoll_event events[kMaxEventsPerLoop]; in ReceiveAndDispatch() local 117 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout); in ReceiveAndDispatch() 126 if (events[i].data.ptr == this) { in ReceiveAndDispatch() 130 Service* service = static_cast<Service*>(events[i].data.ptr); in ReceiveAndDispatch() 147 epoll_event events[kMaxEventsPerLoop]; in EnterDispatchLoop() local 150 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, -1); in EnterDispatchLoop() 158 if (events[i].data.ptr == this) { in EnterDispatchLoop() 162 Service* service = static_cast<Service*>(events[i].data.ptr); in EnterDispatchLoop()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | InProgressCallSession.java | 36 public final Deque<TelephonyCallSession.Event> events; field in InProgressCallSession 63 events = new ArrayDeque<>(); in InProgressCallSession() 86 if (events.size() >= MAX_EVENTS) { in addEvent() 87 events.removeFirst(); in addEvent() 94 events.add(builder.build()); in addEvent() 103 for (TelephonyCallSession.Event event : events) { in containsCsCalls()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | BitTube.h | 54 T const* events, size_t count) { in sendObjects() argument 55 return sendObjects(tube, events, count, sizeof(T)); in sendObjects() 62 T* events, size_t count) { in recvObjects() argument 63 return recvObjects(tube, events, count, sizeof(T)); in recvObjects() 83 void const* events, size_t count, size_t objSize); 86 void* events, size_t count, size_t objSize);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_LowMemDetector.cpp | 95 struct epoll_event events[PRESSURE_LEVEL_COUNT]; in android_server_am_LowMemDetector_waitForPressure() local 106 nevents = epoll_wait(psi_epollfd, events, PRESSURE_LEVEL_COUNT, -1); in android_server_am_LowMemDetector_waitForPressure() 113 nevents = epoll_wait(psi_epollfd, events, PRESSURE_LEVEL_COUNT, 1000); in android_server_am_LowMemDetector_waitForPressure() 130 if (events[i].events & (EPOLLERR | EPOLLHUP)) { in android_server_am_LowMemDetector_waitForPressure() 136 if (events[i].data.u32 > pressure_level) { in android_server_am_LowMemDetector_waitForPressure() 137 pressure_level = events[i].data.u32; in android_server_am_LowMemDetector_waitForPressure()
|