/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/ |
AppWidgetTest.java | 122 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() local 128 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) {
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
AppWidgetTestCase.java | 160 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() local 166 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) {
|
/cts/tests/tests/display/src/android/display/cts/ |
DisplayTest.java | 128 ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation() local 130 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
|
/cts/tests/tests/media/src/android/media/cts/ |
Utils.java | 80 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand( local 82 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SystemTest.java | 78 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation().executeShellCommand( local 80 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
|
/cts/tests/tests/security/src/android/security/cts/ |
MotionEventTest.java | 162 ParcelFileDescriptor pfd = local 164 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
res_send.c | 559 struct pollfd pfd;
local 698 pfd.fd = s;
699 pfd.events = POLLIN;
706 n = poll(&pfd, 1, msec);
|
/external/clang/test/SemaCXX/ |
addr-of-overloaded-function.cpp | 7 int (*pfd)(double) = f; // selects f(double) variable
|
/external/curl/lib/ |
asyn-ares.c | 254 struct pollfd pfd[ARES_GETSOCK_MAXNUM]; local 262 pfd[i].events = 0; 263 pfd[i].revents = 0; 265 pfd[i].fd = socks[i]; 266 pfd[i].events |= POLLRDNORM|POLLIN; 269 pfd[i].fd = socks[i]; 270 pfd[i].events |= POLLWRNORM|POLLOUT; 272 if(pfd[i].events != 0) 279 nfds = Curl_poll(pfd, num, timeout_ms); 292 pfd[i].revents & (POLLRDNORM|POLLIN) [all...] |
/external/fio/engines/ |
rbd.c | 370 struct pollfd pfd; local 371 pfd.fd = rbd->fd; 372 pfd.events = POLLIN; 374 ret = poll(&pfd, 1, -1); 378 assert(pfd.revents & POLLIN);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
minidump_writer_unittest.cc | 374 struct pollfd pfd; local 375 memset(&pfd, 0, sizeof(pfd)); 376 pfd.fd = fds[0]; 377 pfd.events = POLLIN | POLLERR; 379 const int r = HANDLE_EINTR(poll(&pfd, 1, 1000)); 381 ASSERT_TRUE(pfd.revents & POLLIN); 618 struct pollfd pfd; local 619 memset(&pfd, 0, sizeof(pfd)); [all...] |
/external/linux-kselftest/tools/testing/selftests/net/ |
psock_fanout.c | 145 int pfd; local 156 pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); local 157 if (pfd < 0) { 163 if (setsockopt(fd, SOL_PACKET, PACKET_FANOUT_DATA, &pfd, sizeof(pfd))) { 168 if (close(pfd)) {
|
/external/tinyalsa/ |
mixer.c | 642 struct pollfd pfd; local 644 pfd.fd = mixer->fd; 645 pfd.events = POLLIN | POLLOUT | POLLERR | POLLNVAL; 649 err = poll(&pfd, 1, timeout); 654 if (pfd.revents & (POLLERR | POLLNVAL)) 656 if (pfd.revents & (POLLIN | POLLOUT))
|
/external/wayland/tests/ |
connection-test.c | 585 struct pollfd pfd; local 595 pfd.fd = wl_display_get_fd(c->wl_display); 596 pfd.events = POLLIN; 599 assert(poll(&pfd, 1, -1) == 1);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerStressTest.java | 134 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); local 135 verifyFileContents(pfd, largeFile); 136 verifyFileSize(pfd, largeFile.length());
|
/frameworks/base/native/android/ |
sensor.cpp | 254 struct pollfd pfd; local 255 pfd.fd = static_cast<SensorEventQueue*>(queue)->getFd(); 256 pfd.events = POLLIN; 257 pfd.revents = 0; 259 int nfd = poll(&pfd, 1, 0); 264 if (pfd.revents != POLLIN)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
SysuiTestCase.java | 93 ParcelFileDescriptor pfd = mRealInstrumentation.getUiAutomation() local 97 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
|
/frameworks/base/tools/incident_report/ |
main.cpp | 341 int pfd[2]; local 342 if (pipe(pfd) != 0) { 353 dup2(pfd[1], STDOUT_FILENO); 354 close(pfd[0]); 355 close(pfd[1]); 375 close(pfd[1]); 379 ssize_t amt = read(pfd[0], buffer.get() + size, maxAllowedSize - size); 413 close(pfd[0]); 509 int pfd[2]; local 510 if (pipe(pfd) != 0) [all...] |
/frameworks/native/cmds/dumpsys/ |
dumpsys.cpp | 385 struct pollfd pfd = {.fd = serviceDumpFd, .events = POLLIN}; local 395 int rc = TEMP_FAILURE_RETRY(poll(&pfd, 1, time_left_ms()));
|
/frameworks/native/libs/binder/tests/ |
binderDriverInterfaceTest.cpp | 135 pollfd pfd = pollfd(); local 137 pfd.fd = m_binderFd; 138 pfd.events = POLLIN; 139 ret = poll(&pfd, 1, timeout_ms);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
read_device_node.c | 92 struct pollfd pfd = { local 96 poll(&pfd, 1, -1);
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
QCameraHAL3Base.cpp | 63 int pfd[2]; member in namespace:qcamera 156 write(pfd[1], &msg, sizeof(buffer_thread_msg_t));
|
/hardware/qcom/wlan/cld80211-lib/ |
cld80211_lib.c | 399 struct pollfd pfd[2]; local 412 memset(&pfd[0], 0, 2*sizeof(struct pollfd)); 422 pfd[0].fd = nl_socket_get_fd(ctx->sock); 423 pfd[0].events = POLLIN; 425 pfd[1].fd = ctx->exit_sockets[1]; 426 pfd[1].events = POLLIN; 429 pfd[0].revents = 0; 430 pfd[1].revents = 0; 431 int result = poll(pfd, 2, timeout); 434 } else if (pfd[0].revents & (POLLIN | POLLHUP | POLLERR)) [all...] |
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
FilesystemUtil.java | 56 ParcelFileDescriptor pfd = instr.getUiAutomation().executeShellCommand(command); local 57 pipe(new ParcelFileDescriptor.AutoCloseInputStream(pfd), out);
|
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
AppLinkTests.java | 263 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(command); local 265 new InputStreamReader(new FileInputStream(pfd.getFileDescriptor())))) {
|