/hardware/google/pixel/atrace/ |
D | android.hardware.atrace@1.0-service.pixel.rc | 3 chmod 0666 /sys/kernel/debug/tracing/events/sde/enable 4 chmod 0666 /sys/kernel/debug/tracing/events/mdss/enable 5 chmod 0666 /sys/kernel/debug/tracing/events/mali_systrace/enable 7 chmod 0666 /sys/kernel/debug/tracing/events/kmem/ion_alloc_buffer_start/enable 9 chmod 0666 /sys/kernel/debug/tracing/events/scm/enable 11 chmod 0666 /sys/kernel/debug/tracing/events/msm_bus/enable 13 chmod 0666 /sys/kernel/debug/tracing/events/systrace/enable
|
/hardware/interfaces/health/utils/libhealthloop/ |
D | HealthLoop.cpp | 69 ev.events = EPOLLIN; in RegisterEvent() 71 if (wakeup == EVENT_WAKEUP_FD) ev.events |= EPOLLWAKEUP; in RegisterEvent() 201 struct epoll_event events[eventct]; in MainLoop() local 213 nevents = epoll_wait(epollfd_, events, eventct, timeout); in MainLoop() 221 if (events[n].data.ptr) { in MainLoop() 222 auto* event_handler = reinterpret_cast<EventHandler*>(events[n].data.ptr); in MainLoop() 223 event_handler->func(event_handler->object, events[n].events); in MainLoop()
|
/hardware/interfaces/atrace/1.0/default/ |
D | android.hardware.atrace@1.0-service.rc | 3 chmod 0666 /sys/kernel/debug/tracing/events/sde/enable 4 chmod 0666 /sys/kernel/debug/tracing/events/mdss/enable 5 chmod 0666 /sys/kernel/debug/tracing/events/mali_systrace/enable 7 chmod 0666 /sys/kernel/debug/tracing/events/kmem/ion_alloc_buffer_start/enable
|
/hardware/interfaces/sensors/2.0/multihal/tests/ |
D | HalProxy_test.cpp | 290 std::vector<Event> events{makeAccelerometerEvent()}; in TEST() local 291 subHal.postEvents(events, false /* wakeup */); in TEST() 307 std::vector<Event> events = makeMultipleAccelerometerEvents(kNumEvents); in TEST() local 308 subHal.postEvents(events, false /* wakeup */); in TEST() 329 std::vector<Event> events{makeProximityEvent()}; in TEST() local 330 subHal.postEvents(events, true /* wakeup */); in TEST() 355 std::vector<Event> events = makeMultipleProximityEvents(kNumEvents); in TEST() local 356 subHal.postEvents(events, true /* wakeup */); in TEST() 375 std::vector<Event> events = makeMultipleAccelerometerEvents(kNumEvents); in TEST() local 376 subHal1.postEvents(events, false /* wakeup */); in TEST() [all …]
|
/hardware/interfaces/sensors/2.0/ |
D | ISensors.hal | 58 * After sensor de-activation, existing sensor events that have not 60 * subsequent activations do not get stale sensor events (events 74 * framework of asynchronous events, such as a dynamic sensor connection. 76 * The Event FMQ is used to transport sensor events from the HAL to the 80 * sensor events, the HAL writes the sensor events to the Event FMQ. 82 * Once the HAL is finished writing sensor events to the Event FMQ, the HAL 83 * must notify the framework that sensor events are available to be read and 92 * be notified and unblocked when the framework has successfully read events 96 * safe to release its wake_lock. When the framework receives WAKE_UP events 98 * framework must write the number of WAKE_UP events processed to the Wake [all …]
|
D | types.hal | 29 * Used to notify the Event FMQ that events should be read and processed. 34 * Used by the framework to signal to the HAL when events have been 38 * events to the Event FMQ, then the readNotification parameter must be set
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsHidlTestBase.cpp | 51 std::vector<Event> events; in collectEvents() local 69 environment->catEvents(&events); in collectEvents() 70 if (events.size() >= nEventLimit) { in collectEvents() 74 (int)(nEventLimit - events.size())); in collectEvents() 80 return events; in collectEvents() 299 auto events = mem->parseEvents(); in testDirectReportOperation() local 318 ASSERT_GT(events.size(), static_cast<size_t>(nominalFreq * 0.55f * kNominalTestTimeSec)); in testDirectReportOperation() 319 ASSERT_LT(events.size(), static_cast<size_t>(nominalFreq * 2.2f * kMaxTestTimeSec)); in testDirectReportOperation() 326 for (auto& e : events) { in testDirectReportOperation() 363 std::vector<Event> events; in testStreamingOperation() local [all …]
|
D | SensorsTestSharedMemory.cpp | 52 std::vector<Event> events; in parseEvents() local 67 events.clear(); in parseEvents() 87 events.push_back(event); in parseEvents() 93 return events; in parseEvents()
|
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/ |
D | Sensor.cpp | 142 std::vector<Event> events; in readEvents() local 151 events.push_back(event); in readEvents() 152 return events; in readEvents() 195 std::vector<Event> events = Sensor::readEvents(); in readEvents() local 198 for (auto iter = events.begin(); iter != events.end(); ++iter) { in readEvents() 227 std::vector<Event> events; in readEvents() local 236 events.push_back(event); in readEvents() 237 return events; in readEvents() 297 std::vector<Event> events; in readEvents() local 306 events.push_back(event); in readEvents() [all …]
|
/hardware/interfaces/tv/tuner/1.0/default/ |
D | Filter.cpp | 176 if (mFilterEvent.events.size() == 0) { in filterThreadLoop() 183 mFilterEvent.events.resize(0); in filterThreadLoop() 214 if (mFilterEvent.events.size() == 0) { in filterThreadLoop() 219 mFilterEvent.events.resize(0); in filterThreadLoop() 395 int size = mFilterEvent.events.size(); in startPesFilterHandler() 396 mFilterEvent.events.resize(size + 1); in startPesFilterHandler() 397 mFilterEvent.events[size].pes(pesEvent); in startPesFilterHandler() 420 mFilterEvent.events.resize(1); in startMediaFilterHandler() 421 mFilterEvent.events[0].media(mediaEvent); in startMediaFilterHandler() 466 int size = mFilterEvent.events.size(); in writeSectionsAndCreateEvent() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | JsonFakeValueGenerator.cpp | 45 .events = parseFakeValueJson(ifs), in JsonFakeValueGenerator() 60 eventTime += Nanos(mGenCfg.events[mGenCfg.index].timestamp - in nextEvent() 61 mGenCfg.events[mGenCfg.index - 1].timestamp); in nextEvent() 63 generatedValue = mGenCfg.events[mGenCfg.index]; in nextEvent() 67 if (mGenCfg.index == mGenCfg.events.size()) { in nextEvent() 77 return mNumOfIterations != 0 && mGenCfg.events.size() > 0; in hasNext()
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | SensorsHidlEnvironmentV1_0.cpp | 107 64, [&](auto result, const auto& events, const auto& dynamicSensorsAdded) { in pollingThread() argument 109 (events.size() == 0 && dynamicSensorsAdded.size() == 0) || stop) { in pollingThread() 114 for (const auto& e : events) { in pollingThread()
|
/hardware/interfaces/sensors/2.0/multihal/ |
D | HalProxy.cpp | 446 std::vector<Event> events(numToRead); in stopThreads() local 447 mEventQueue->read(events.data(), numToRead); in stopThreads() 570 void HalProxy::postEventsToMessageQueue(const std::vector<Event>& events, size_t numWakeupEvents, in postEventsToMessageQueue() argument 578 numToWrite = std::min(events.size(), mEventQueue->availableToWrite()); in postEventsToMessageQueue() 580 if (mEventQueue->write(events.data(), numToWrite)) { in postEventsToMessageQueue() 589 size_t numLeft = events.size() - numToWrite; in postEventsToMessageQueue() 590 if (numToWrite < events.size() && in postEventsToMessageQueue() 592 std::vector<Event> eventsLeft(events.begin() + numToWrite, events.end()); in postEventsToMessageQueue() 651 size_t HalProxy::countNumWakeupEvents(const std::vector<Event>& events, size_t n) { in countNumWakeupEvents() argument 654 int32_t sensorHandle = events[i].sensorHandle; in countNumWakeupEvents() [all …]
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorEventsChecker.h | 27 virtual bool check(const std::vector<Event>& events, std::string* out) const = 0; 39 virtual bool check(const std::vector<Event>& events, std::string* out) const { in check() argument 40 for (const auto& e : events) { in check()
|
/hardware/interfaces/sensors/1.0/ |
D | ISensors.hal | 43 * After sensor de-activation, existing sensor events that have not 45 * subsequent activation will not get stale sensor events (events 56 * Generate a vector of sensor events containing at most "maxCount" 60 * connected as notified by returned events of type DYNAMIC_SENSOR_META. 63 * until there are sensor events available. 66 * Actual number of events returned in data must be <= maxCount 69 * @return data vector of Event contains sensor events. 71 * added. Each element corresponds to a dynamic sensor meta events 85 * lost events, nor can transitioning from a high maximum report latency to 127 * injecting sensor events. [all …]
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 119 struct epoll_event events[kEpollEvents]; in startMonitorFd() local 145 int nrEvents = epoll_wait(monitorFfs->mEpollFd, events, kEpollEvents, -1); in startMonitorFd() 153 ALOGI("event=%u on fd=%d\n", events[i].events, events[i].data.fd); in startMonitorFd() 155 if (events[i].data.fd == monitorFfs->mInotifyFd) { in startMonitorFd()
|
/hardware/qcom/wlan/cld80211-lib/ |
D | cld80211_lib.c | 180 static void cld80211_handle_event(int events, struct nl_sock *sock, in cld80211_handle_event() argument 183 if (events & POLLERR) { in cld80211_handle_event() 186 } else if (events & POLLHUP) { in cld80211_handle_event() 188 } else if (events & POLLIN) { in cld80211_handle_event() 191 ALOGE("%s: Unknown event - %0x", getprogname(), events); in cld80211_handle_event() 423 pfd[0].events = POLLIN; in cld80211_recv() 426 pfd[1].events = POLLIN; in cld80211_recv()
|
/hardware/invensense/65xx/libsensors_iio/ |
D | sensors_mpl.cpp | 142 mPollFds[mpl].events = POLLIN; in sensors_poll_context_t() 146 mPollFds[compass].events = POLLIN; in sensors_poll_context_t() 150 mPollFds[dmpOrient].events = POLLPRI; in sensors_poll_context_t() 154 mPollFds[dmpSign].events = POLLPRI; in sensors_poll_context_t() 158 mPollFds[dmpPed].events = POLLPRI; in sensors_poll_context_t() 170 mPollFds[numSensorDrivers].events = POLLIN; in sensors_poll_context_t()
|
D | InputEventReader.cpp | 95 ssize_t InputEventCircularReader::readEvent(input_event const** events) in readEvent() argument 97 *events = mCurr; in readEvent()
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 372 ev.events = EPOLLIN; in work() 387 struct epoll_event events[64]; in work() local 389 nevents = epoll_wait(epoll_fd, events, 64, -1); in work() 398 if (events[n].data.ptr) in work() 399 (*(void (*)(int, struct data *payload))events[n].data.ptr) in work() 400 (events[n].events, &payload); in work()
|
/hardware/interfaces/sensors/2.0/default/ |
D | Sensors.cpp | 183 void Sensors::postEvents(const std::vector<Event>& events, bool wakeup) { in postEvents() argument 185 if (mEventQueue->write(events.data(), events.size())) { in postEvents() 191 updateWakeLock(events.size(), 0 /* eventsHandled */); in postEvents()
|
/hardware/invensense/6515/libsensors_iio/ |
D | InputEventReader.cpp | 95 ssize_t InputEventCircularReader::readEvent(input_event const** events) in readEvent() argument 97 *events = mCurr; in readEvent()
|
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 454 eventItem.events = EPOLLIN; in InputHub() 456 eventItem.events |= EPOLLWAKEUP; in InputHub() 560 if (eventItem.events & EPOLLIN) { in poll() 563 ALOGW("Received unexpected epoll event 0x%08x for INotify.", eventItem.events); in poll() 569 if (eventItem.events & EPOLLIN) { in poll() 578 eventItem.events); in poll() 594 if (eventItem.events & EPOLLIN) { in poll() 622 } else if (eventItem.events & EPOLLHUP) { in poll() 627 eventItem.events, inputFd); in poll() 751 eventItem.events = EPOLLIN; in openNode() [all …]
|
/hardware/interfaces/thermal/1.1/ |
D | IThermal.hal | 25 * to send thermal events to the framework thermal service. 28 * thermal events, or nullptr to set no callback
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | README | 6 events. 8 are disabled, only events are allowed.
|