/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 290 void handleTimerEvent(const uint32_t *ev) { in handleTimerEvent() argument 291 if (*ev == gFlushItTimerHandle) { in handleTimerEvent() 302 } else if (*ev == gFlushItTimeoutTimerHandle) { in handleTimerEvent() 305 } else if (*ev == gBreakItTimerHandle) { in handleTimerEvent() 336 void handleThreeAxisEvent(const chreSensorThreeAxisData *ev, in handleThreeAxisEvent() argument 338 const auto header = ev->header; in handleThreeAxisEvent() 339 const auto *data = ev->readings; in handleThreeAxisEvent() 371 void handleFloatEvent(const chreSensorFloatData *ev) { in handleFloatEvent() argument 372 const auto header = ev->header; in handleFloatEvent() 376 v += ev->readings[i].value; in handleFloatEvent() [all …]
|
/system/core/init/ |
D | epoll.cpp | 56 epoll_event ev = { in RegisterHandler() local 60 if (epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterHandler() 90 epoll_event ev[max_events]; in Wait() local 91 auto num_events = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), ev, max_events, timeout_ms)); in Wait() 99 const auto it = epoll_handlers_.find(ev[i].data.fd); in Wait() 105 (ev[i].events & EPOLLIN) != ev[i].events) { in Wait() 108 LOG(ERROR) << "Received unexpected epoll event set: " << ev[i].events; in Wait()
|
D | keychords_test.cpp | 180 TestFrame(const std::vector<const std::vector<int>>& chords, EventHandler* ev = nullptr); 205 TestFrame::TestFrame(const std::vector<const std::vector<int>>& chords, EventHandler* ev) in TestFrame() argument 206 : ev_(ev) { in TestFrame() 300 EventHandler ev; in TEST() local 301 EXPECT_TRUE(ev.init()); in TEST() 309 EventHandler ev; in TEST() local 310 EXPECT_TRUE(ev.init()); in TEST() 311 TestFrame test_frame(chords, &ev); in TEST() 322 EventHandler ev; in TEST() local 323 EXPECT_TRUE(ev.init()); in TEST() [all …]
|
/system/tools/hidl/lint/lints/ |
D | namingConventions.cpp | 78 for (const EnumValue* ev : enumType->values()) { in namingConventions() local 79 if (StringHelper::ToUpperSnakeCase(ev->name()) != ev->name()) { in namingConventions() 80 errors->push_back(Lint(WARNING, ev->location()) in namingConventions() 81 << "enumeration \"" << ev->name() << "\" of enum \"" in namingConventions() 83 << StringHelper::ToUpperSnakeCase(ev->name()) in namingConventions()
|
D | enumMaxAndAll.cpp | 44 for (const EnumValue* ev : enumType->values()) { in enumValueNames() local 46 base::Split(StringHelper::Uppercase(ev->name()), "_"); in enumValueNames() 62 errors->push_back(Lint(WARNING, ev->location(), errorString)); in enumValueNames()
|
/system/extras/slideshow/ |
D | slideshow.cpp | 36 struct input_event ev; in input_cb() local 40 if (ev_get_input(fd, epevents, &ev)) { in input_cb() 44 if (ev.type == EV_KEY && ev.value == 1) { in input_cb() 45 *key_code = ev.code; in input_cb()
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 109 struct epoll_event ev = epoll_event(); in main() local 110 ev.events = EPOLLIN | EPOLLWAKEUP; in main() 111 int ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev); in main()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 470 void Charger::UpdateInputState(input_event* ev) { in UpdateInputState() argument 471 if (ev->type == EV_SW && ev->code == SW_LID) { in UpdateInputState() 472 SetSwCallback(ev->code, ev->value); in UpdateInputState() 476 if (ev->type != EV_KEY) return; in UpdateInputState() 477 SetKeyCallback(ev->code, ev->value); in UpdateInputState() 658 input_event ev; in InputCallback() local 661 ret = ev_get_input(fd, epevents, &ev); in InputCallback() 663 UpdateInputState(&ev); in InputCallback()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 283 static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg); 284 static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg); 350 static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg) { in crash_request_cb() argument 354 if ((ev & EV_TIMEOUT) != 0) { in crash_request_cb() 357 } else if ((ev & EV_READ) == 0) { in crash_request_cb() 479 static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg) { in crash_completed_cb() argument 485 if ((ev & EV_READ) == EV_READ) { in crash_completed_cb()
|
D | intercept_manager.cpp | 83 static void intercept_request_cb(evutil_socket_t sockfd, short ev, void* arg) { in intercept_request_cb() argument 89 if ((ev & EV_TIMEOUT) != 0) { in intercept_request_cb() 92 } else if ((ev & EV_READ) == 0) { in intercept_request_cb()
|
/system/core/healthd/include_charger/charger/ |
D | healthd_mode_charger.h | 100 void UpdateInputState(input_event* ev);
|
/system/ca-certificates/files/ |
D | 75680d2e.0 | 23 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|