/system/bt/btif/co/ |
D | bta_hh_co.cc | 63 static int uhid_write(int fd, const struct uhid_event* ev) { in uhid_write() argument 65 OSI_NO_INTR(ret = write(fd, ev, sizeof(*ev))); in uhid_write() 71 } else if (ret != (ssize_t)sizeof(*ev)) { in uhid_write() 73 ret, sizeof(*ev)); in uhid_write() 84 struct uhid_event ev; in uhid_read_event() local 85 memset(&ev, 0, sizeof(ev)); in uhid_read_event() 88 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); in uhid_read_event() 99 switch (ev.type) { in uhid_read_event() 117 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.output))) { in uhid_read_event() 119 __func__, ret, sizeof(ev.type) + sizeof(ev.u.output)); in uhid_read_event() [all …]
|
/system/core/init/ |
D | epoll.cpp | 49 epoll_event ev; in RegisterHandler() local 50 ev.events = events; in RegisterHandler() 53 ev.data.ptr = reinterpret_cast<void*>(&it->second); in RegisterHandler() 54 if (epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterHandler() 77 epoll_event ev; in Wait() local 78 auto nr = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_, &ev, 1, timeout_ms)); in Wait() 82 std::invoke(*reinterpret_cast<std::function<void()>*>(ev.data.ptr)); in Wait()
|
D | keychords_test.cpp | 181 TestFrame(const std::vector<const std::vector<int>>& chords, EventHandler* ev = nullptr); 206 TestFrame::TestFrame(const std::vector<const std::vector<int>>& chords, EventHandler* ev) in TestFrame() argument 207 : 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/chre/apps/sensor_world/ |
D | sensor_world.cc | 312 const auto *ev = static_cast<const chreSensorThreeAxisData *>(eventData); in nanoappHandleEvent() local 313 const auto header = ev->header; in nanoappHandleEvent() 314 const auto *data = ev->readings; in nanoappHandleEvent() 349 const auto *ev = static_cast<const chreSensorFloatData *>(eventData); in nanoappHandleEvent() local 350 const auto header = ev->header; in nanoappHandleEvent() 354 v += ev->readings[i].value; in nanoappHandleEvent() 365 const auto *ev = static_cast<const chreSensorByteData *>(eventData); in nanoappHandleEvent() local 366 const auto header = ev->header; in nanoappHandleEvent() 367 const auto reading = ev->readings[0]; in nanoappHandleEvent() 404 const auto *ev = static_cast<const chreSensorOccurrenceData *>(eventData); in nanoappHandleEvent() local [all …]
|
/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/bt/vendor_libs/linux/interface/ |
D | bluetooth_hci.cc | 118 struct mgmt_pkt ev; in waitHciDev() local 142 ev.opcode = MGMT_OP_INDEX_LIST; in waitHciDev() 143 ev.index = HCI_DEV_NONE; in waitHciDev() 144 ev.len = 0; in waitHciDev() 147 WRITE_NO_INTR(wrote = write(fd, &ev, 6)); in waitHciDev() 168 WRITE_NO_INTR(n = read(fd, &ev, sizeof(struct mgmt_pkt))); in waitHciDev() 176 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in waitHciDev() 178 } else if (ev.opcode == MGMT_EV_COMMAND_COMP) { in waitHciDev() 182 cc = (struct mgmt_event_read_index*)ev.data; in waitHciDev()
|
/system/bt/hci/src/ |
D | hci_layer_linux.cc | 283 struct mgmt_pkt ev; in wait_hcidev() local 310 ev.opcode = MGMT_OP_INDEX_LIST; in wait_hcidev() 311 ev.index = HCI_DEV_NONE; in wait_hcidev() 312 ev.len = 0; in wait_hcidev() 315 OSI_NO_INTR(wrote = write(fd, &ev, 6)); in wait_hcidev() 336 OSI_NO_INTR(n = read(fd, &ev, sizeof(struct mgmt_pkt))); in wait_hcidev() 343 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in wait_hcidev() 345 } else if (ev.opcode == MGMT_EV_COMMAND_COMP) { in wait_hcidev() 349 cc = (struct mgmt_event_read_index*)ev.data; in wait_hcidev()
|
/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/debuggerd/tombstoned/ |
D | tombstoned.cpp | 209 static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg); 210 static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg); 270 static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg) { in crash_request_cb() argument 276 if ((ev & EV_TIMEOUT) != 0) { in crash_request_cb() 279 } else if ((ev & EV_READ) == 0) { in crash_request_cb() 337 static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg) { in crash_completed_cb() argument 344 if ((ev & EV_READ) == 0) { in crash_completed_cb()
|
D | intercept_manager.cpp | 84 static void intercept_request_cb(evutil_socket_t sockfd, short ev, void* arg) { in intercept_request_cb() argument 90 if ((ev & EV_TIMEOUT) != 0) { in intercept_request_cb() 93 } else if ((ev & EV_READ) == 0) { in intercept_request_cb()
|
/system/core/adb/ |
D | adb_listeners.cpp | 76 static void ss_listener_event_func(int _fd, unsigned ev, void *_l) { in ss_listener_event_func() argument 77 if (ev & FDE_READ) { in ss_listener_event_func() 92 static void listener_event_func(int _fd, unsigned ev, void* _l) in listener_event_func() argument 96 if (ev & FDE_READ) { in listener_event_func()
|
D | sockets.cpp | 350 static void local_socket_event_func(int fd, unsigned ev, void* _s) { in local_socket_event_func() argument 352 D("LS(%d): event_func(fd=%d(==%d), ev=%04x)", s->id, s->fd, fd, ev); in local_socket_event_func() 357 if (ev & FDE_WRITE) { in local_socket_event_func() 371 if (ev & FDE_READ) { in local_socket_event_func() 377 if (ev & FDE_ERROR) { in local_socket_event_func()
|
D | fdevent.cpp | 396 static void fdevent_run_func(int fd, unsigned ev, void* /* userdata */) { in fdevent_run_func() argument 398 CHECK(ev & FDE_READ); in fdevent_run_func()
|
D | transport.cpp | 650 static void transport_registration_func(int _fd, unsigned ev, void*) { in transport_registration_func() argument 654 if (!(ev & FDE_READ)) { in transport_registration_func()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 448 static void update_input_state(charger* charger, input_event* ev) { in update_input_state() argument 449 if (ev->type != EV_KEY) return; in update_input_state() 450 set_key_callback(charger, ev->code, ev->value); in update_input_state() 610 input_event ev; in input_callback() local 613 ret = ev_get_input(fd, epevents, &ev); in input_callback() 615 update_input_state(charger, &ev); in input_callback()
|
/system/core/adb/client/ |
D | transport_mdns.cpp | 57 static void pump_service_ref(int /*fd*/, unsigned ev, void* data) { in pump_service_ref() argument 60 if (ev & FDE_READ) in pump_service_ref()
|
/system/netd/resolv/dns_responder/ |
D | dns_responder.cpp | 925 epoll_event ev; in addFd() local 926 ev.events = events; in addFd() 927 ev.data.fd = fd; in addFd() 928 if (epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, fd, &ev) < 0) { in addFd()
|
/system/ca-certificates/google/files/ |
D | 75680d2e.0 | 23 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
/system/ca-certificates/files/ |
D | 75680d2e.0 | 23 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
/system/ca-certificates/google/ |
D | roots.pem | 31 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|