HomeSort by relevance Sort by last modified time
    Searched defs:pfd (Results 126 - 150 of 230) sorted by null

1 2 3 4 56 7 8 910

  /frameworks/native/libs/vr/libvrflinger/
hardware_composer.cpp 579 pollfd pfd[2] = { local
593 ret = poll(pfd, 2, timeout_ms);
605 } else if (pfd[0].revents != 0) {
607 } else if (pfd[1].revents != 0) {
608 ALOGI("VrHwcPost thread interrupted: revents=%x", pfd[1].revents);
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
inv_gesture_test.c 107 struct pollfd pfd[NUM_DMP_FEATS]; variable in typeref:struct:pollfd
571 pfd[i].fd = open(mpu.event_tap, O_RDONLY | O_NONBLOCK);
576 pfd[i].fd = open(mpu.event_display_orientation,
582 pfd[i].fd = open(mpu.event_orientation, O_RDONLY | O_NONBLOCK);
587 pfd[i].fd = open(mpu.event_smd, O_RDONLY | O_NONBLOCK);
591 pfd[i].fd = -1;
594 pfd[i].events = POLLPRI|POLLERR,
595 pfd[i].revents = 0;
601 void parse_events(struct pollfd pfd[], int num_fds)
606 if(pfd[i].revents != 0)
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
mpu_iio.c 898 struct pollfd pfd = { local
902 poll(&pfd, 1, -1);
  /hardware/qcom/audio/hal/audio_extn/
sndmonitor.c 425 struct pollfd * pfd = (struct pollfd *)calloc(sizeof(struct pollfd), local
427 if (!pfd)
430 pfd[0].fd = sndmonitor.intpipe[0];
431 pfd[0].events = POLLPRI|POLLIN;
437 pfd[i].fd = s->fd;
438 pfd[i].events = POLLPRI;
444 pfd[i].fd = d->fd;
445 pfd[i].events = POLLPRI;
450 if (poll(pfd, num_poll_fds, -1) < 0) {
471 if (READY_TO_READ(&pfd[0]))
    [all...]
  /hardware/qcom/wlan/qcwcn/wifi_hal/
wifi_hal.cpp 827 pollfd pfd[3]; local
828 memset(&pfd, 0, 3*sizeof(pfd[0]));
830 pfd[0].fd = nl_socket_get_fd(info->event_sock);
831 pfd[0].events = POLLIN;
833 pfd[1].fd = nl_socket_get_fd(info->user_sock);
834 pfd[1].events = POLLIN;
836 pfd[2].fd = info->exit_sockets[1];
837 pfd[2].events = POLLIN;
842 pfd[0].revents = 0
    [all...]
  /libcore/ojluni/src/main/native/
Net.c 773 struct pollfd pfd; local
775 pfd.fd = fdval(env, fdo);
776 pfd.events = events;
777 rv = poll(&pfd, 1, timeout);
780 return pfd.revents;
  /packages/apps/Settings/src/com/android/settings/applications/
ProcStatsData.java 345 ParcelFileDescriptor pfd = mProcessStats.getStatsOverTime(mDuration); local
347 InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DictionaryProvider.java 320 final ParcelFileDescriptor pfd = local
322 return new AssetFileDescriptor(pfd, 0, pfd.getStatSize());
  /platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/
PermissionHelper.java 95 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand("pm list permissions -g -d"); local
97 new InputStreamReader(new FileInputStream(pfd.getFileDescriptor())))) {
  /system/core/adb/
file_sync_client.cpp 238 adb_pollfd pfd = {.fd = fd, .events = POLLIN}; local
239 int rc = adb_poll(&pfd, 1, 0);
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContentResolverTest.java 753 ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(uri, "w"); local
754 assertNotNull(pfd);
755 pfd.close();
    [all...]
  /frameworks/base/core/java/android/content/pm/
LauncherApps.java 820 final ParcelFileDescriptor pfd = getShortcutIconFd(shortcut); local
821 if (pfd == null) {
825 final Bitmap bmp = BitmapFactory.decodeFileDescriptor(pfd.getFileDescriptor());
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 696 ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r"); local
697 if (pfd == null) {
701 pfd.close();
    [all...]
  /cts/tests/tests/location2/src/android/location2/cts/
LocationManagerTest.java 330 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() local
333 InputStream is = new FileInputStream(pfd.getFileDescriptor());
  /cts/tests/tests/telephony/src/android/telephony/cts/
SmsManagerTest.java 403 ParcelFileDescriptor pfd = local
406 try (InputStream in = new FileInputStream(pfd.getFileDescriptor());) {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
selectmodule.c 849 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events)
858 fd = PyObject_AsFileDescriptor(pfd);
900 PyObject *pfd; local
905 &pfd, &events)) {
909 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_ADD, pfd, events);
925 PyObject *pfd; local
930 &pfd, &events)) {
934 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_MOD, pfd, events);
946 PyObject *pfd; local
950 &pfd)) {
1246 PyObject *pfd; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
selectmodule.c 883 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events)
892 fd = PyObject_AsFileDescriptor(pfd);
934 PyObject *pfd; local
939 &pfd, &events)) {
943 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_ADD, pfd, events);
959 PyObject *pfd; local
964 &pfd, &events)) {
968 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_MOD, pfd, events);
980 PyObject *pfd; local
984 &pfd)) {
1297 PyObject *pfd; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
selectmodule.c 849 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events)
858 fd = PyObject_AsFileDescriptor(pfd);
900 PyObject *pfd; local
905 &pfd, &events)) {
909 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_ADD, pfd, events);
925 PyObject *pfd; local
930 &pfd, &events)) {
934 return pyepoll_internal_ctl(self->epfd, EPOLL_CTL_MOD, pfd, events);
946 PyObject *pfd; local
950 &pfd)) {
1246 PyObject *pfd; local
    [all...]
  /external/curl/lib/
telnet.c 1241 struct pollfd pfd[1]; local
1303 struct pollfd pfd[2]; local
    [all...]
  /external/fio/engines/
net.c 293 struct pollfd pfd; local
297 pfd.fd = fd;
298 pfd.events = events;
299 ret = poll(&pfd, 1, -1);
312 if (pfd.revents & events)
  /external/libcups/cups/
http.c 3126 struct pollfd pfd; \/* Polled file descriptor *\/ local
4654 struct pollfd pfd; \/* Polled file descriptor *\/ local
    [all...]
  /external/ltp/testcases/network/netstress/
netstress.c 157 struct pollfd pfd; local
158 pfd.fd = fd;
159 pfd.events = POLLIN;
164 int ret = poll(&pfd, 1, wait_timeout / 1000);
176 if (ret != 1 || !(pfd.revents & POLLIN))
  /external/openssh/
monitor.c 469 struct pollfd pfd[2]; local
472 memset(&pfd, 0, sizeof(pfd));
473 pfd[0].fd = pmonitor->m_sendfd;
474 pfd[0].events = POLLIN;
475 pfd[1].fd = pmonitor->m_log_recvfd;
476 pfd[1].events = pfd[1].fd == -1 ? 0 : POLLIN;
477 if (poll(pfd, pfd[1].fd == -1 ? 1 : 2, -1) == -1)
    [all...]
mux.c 1451 struct pollfd pfd; local
1492 struct pollfd pfd; local
    [all...]
  /external/openssh/regress/
netcat.c 668 struct pollfd pfd; local
680 pfd.fd = s;
681 pfd.events = POLLOUT;
682 if ((ret = poll(&pfd, 1, timeout)) == 1) {
770 struct pollfd pfd[4]; local
785 pfd[POLL_STDIN].fd = stdin_fd;
786 pfd[POLL_STDIN].events = POLLIN;
789 pfd[POLL_NETOUT].fd = net_fd;
790 pfd[POLL_NETOUT].events = 0;
793 pfd[POLL_NETIN].fd = net_fd
1004 struct pollfd pfd; local
    [all...]

Completed in 2355 milliseconds

1 2 3 4 56 7 8 910