/system/bt/btif/co/ |
D | bta_hh_co.cc | 62 static int uhid_write(int fd, const struct uhid_event* ev) { in uhid_write() argument 64 OSI_NO_INTR(ret = write(fd, ev, sizeof(*ev))); in uhid_write() 70 } else if (ret != (ssize_t)sizeof(*ev)) { in uhid_write() 72 ret, sizeof(*ev)); in uhid_write() 83 struct uhid_event ev; in uhid_read_event() local 84 memset(&ev, 0, sizeof(ev)); in uhid_read_event() 87 OSI_NO_INTR(ret = read(p_dev->fd, &ev, sizeof(ev))); in uhid_read_event() 98 switch (ev.type) { in uhid_read_event() 116 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.output))) { in uhid_read_event() 118 __func__, ret, sizeof(ev.type) + sizeof(ev.u.output)); in uhid_read_event() [all …]
|
/system/core/init/ |
D | epoll.cpp | 50 epoll_event ev; in RegisterHandler() local 51 ev.events = events; in RegisterHandler() 54 ev.data.ptr = reinterpret_cast<void*>(&it->second); in RegisterHandler() 55 if (epoll_ctl(epoll_fd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterHandler() 80 epoll_event ev[max_events]; in Wait() local 81 auto num_events = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_, ev, max_events, timeout_ms)); in Wait() 87 auto sp = *reinterpret_cast<std::shared_ptr<Handler>*>(ev[i].data.ptr); 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() 303 EventHandler ev; in TEST() local 304 EXPECT_TRUE(ev.init()); in TEST() 312 EventHandler ev; in TEST() local 313 EXPECT_TRUE(ev.init()); in TEST() 314 TestFrame test_frame(chords, &ev); in TEST() 325 EventHandler ev; in TEST() local 326 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/chre/apps/sensor_world/ |
D | sensor_world.cc | 370 const auto *ev = static_cast<const chreSensorThreeAxisData *>(eventData); in nanoappHandleEvent() local 371 const auto header = ev->header; in nanoappHandleEvent() 372 const auto *data = ev->readings; in nanoappHandleEvent() 408 const auto *ev = static_cast<const chreSensorFloatData *>(eventData); in nanoappHandleEvent() local 409 const auto header = ev->header; in nanoappHandleEvent() 413 v += ev->readings[i].value; in nanoappHandleEvent() 425 const auto *ev = static_cast<const chreSensorByteData *>(eventData); in nanoappHandleEvent() local 426 const auto header = ev->header; in nanoappHandleEvent() 427 const auto reading = ev->readings[0]; in nanoappHandleEvent() 466 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/bt/gd/hal/ |
D | hci_hal_host.cc | 91 struct mgmt_pkt ev; in waitHciDev() local 114 ev.opcode = MGMT_OP_INDEX_LIST; in waitHciDev() 115 ev.index = HCI_DEV_NONE; in waitHciDev() 116 ev.len = 0; in waitHciDev() 119 WRITE_NO_INTR(wrote = write(fd, &ev, 6)); in waitHciDev() 140 WRITE_NO_INTR(n = read(fd, &ev, sizeof(struct mgmt_pkt))); in waitHciDev() 147 if (ev.opcode == MGMT_EV_INDEX_ADDED && ev.index == hci_interface) { in waitHciDev() 150 } else if (ev.opcode == MGMT_EV_COMMAND_COMP) { in waitHciDev() 154 cc = (struct mgmt_event_read_index*)ev.data; in waitHciDev()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 281 static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg); 282 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() 492 static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg) { in crash_completed_cb() argument 498 if ((ev & EV_READ) == EV_READ) { 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/healthd/ |
D | healthd_mode_charger.cpp | 453 void Charger::UpdateInputState(input_event* ev) { in UpdateInputState() argument 454 if (ev->type != EV_KEY) return; in UpdateInputState() 455 SetKeyCallback(ev->code, ev->value); in UpdateInputState() 612 input_event ev; in InputCallback() local 615 ret = ev_get_input(fd, epevents, &ev); in InputCallback() 617 UpdateInputState(&ev); in InputCallback()
|
D | healthd_mode_charger.h | 65 void UpdateInputState(input_event* ev);
|
/system/ca-certificates/files/ |
D | 75680d2e.0 | 23 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
/system/ca-certificates/google/files/ |
D | 75680d2e.0 | 23 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
/system/ca-certificates/google/ |
D | roots.pem | 31 l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|