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

1 23 4 5 6 7 8 910

  /developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 252 final ParcelFileDescriptor pfd = local
254 return new AssetFileDescriptor(pfd, 0, AssetFileDescriptor.UNKNOWN_LENGTH);
  /development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
MyCloudProvider.java 252 final ParcelFileDescriptor pfd = local
254 return new AssetFileDescriptor(pfd, 0, AssetFileDescriptor.UNKNOWN_LENGTH);
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
select.c 114 struct pollfd pfd; local
128 pfd.fd = fd;
129 pfd.events = flag[msk];
130 pfd.revents = 0;
131 FdCount = poll ( &pfd, 1, 0 );
  /external/ltp/testcases/kernel/syscalls/ioctl/
ioctl02.c 362 int pfd; local
364 pfd = open(parenttty, O_RDWR, 0777);
365 if (pfd < 0)
373 if (ioctl(pfd, TCFLSH, 2) < 0)
376 return pfd;
  /external/ltp/testcases/kernel/syscalls/pread/
pread02.c 85 int pfd[2]; /* pair of file descriptors */ variable
134 fildes = pfd[0];
214 if (pipe(pfd) < 0) {
220 if (write(pfd[1], write_buf[0], K1) != K1) {
  /external/selinux/libselinux/src/
avc_internal.c 102 struct pollfd pfd = { fd, POLLIN | POLLPRI, 0 }; local
108 rc = poll(&pfd, 1, (blocking ? -1 : 0));
  /external/swiftshader/tests/OGLSimpleCube/
OGLSimpleCube.cpp 144 PIXELFORMATDESCRIPTOR pfd = { local
166 pixelFormat = ChoosePixelFormat(hDC, &pfd);
173 if(SetPixelFormat(hDC, pixelFormat, &pfd) != TRUE) {
  /frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
BasePrintTest.java 127 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(cmd); local
130 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
  /frameworks/native/cmds/dumpsys/
dumpsys.cpp 223 struct pollfd pfd = { local
238 int rc = TEMP_FAILURE_RETRY(poll(&pfd, 1, time_left_ms()));
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc_vsync.cpp 114 struct pollfd pfd[num_displays][num_events]; local
140 pfd[dpy][ev].fd = open(node_path, O_RDONLY);
142 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) {
155 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0);
156 if (pfd[dpy][ev].fd >= 0)
157 pfd[dpy][ev].events = POLLPRI | POLLERR;
163 int err = poll(*pfd, num_displays * num_events, -1);
167 if (pfd[dpy][ev].revents & POLLPRI) {
168 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0);
205 if(pfd[dpy][event].fd >= 0
    [all...]
  /hardware/qcom/display/msm8226/libhwcomposer/
hwc_vsync.cpp 104 struct pollfd pfd[num_displays][num_events]; local
128 pfd[dpy][ev].fd = open(node_path, O_RDONLY);
130 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) {
143 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0);
144 if (pfd[dpy][ev].fd >= 0)
145 pfd[dpy][ev].events = POLLPRI | POLLERR;
151 int err = poll(*pfd, (int)(num_displays * num_events), -1);
155 if (pfd[dpy][ev].revents & POLLPRI) {
156 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0);
206 if(pfd[dpy][event].fd >= 0
    [all...]
  /hardware/qcom/display/msm8909/libhwcomposer/
hwc_vsync.cpp 123 struct pollfd pfd[num_displays][num_events]; local
144 pfd[dpy][ev].fd = open(node_path, O_RDONLY);
146 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) {
161 pread(pfd[dpy][ev].fd, vdata , MAX_DATA - 1, 0);
162 if (pfd[dpy][ev].fd >= 0)
163 pfd[dpy][ev].events = POLLPRI | POLLERR;
169 int err = poll(*pfd, (int)(num_displays * num_events), -1);
173 if (pfd[dpy][ev].revents & POLLPRI) {
176 ssize_t len = pread(pfd[dpy][ev].fd, vdata,
215 if(pfd[dpy][event].fd >= 0
    [all...]
  /hardware/qcom/display/msm8994/libhwcomposer/
hwc_vsync.cpp 123 struct pollfd pfd[num_displays][num_events]; local
144 pfd[dpy][ev].fd = open(node_path, O_RDONLY);
146 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) {
159 pread(pfd[dpy][ev].fd, vdata , MAX_DATA, 0);
160 if (pfd[dpy][ev].fd >= 0)
161 pfd[dpy][ev].events = POLLPRI | POLLERR;
167 int err = poll(*pfd, (int)(num_displays * num_events), -1);
171 if (pfd[dpy][ev].revents & POLLPRI) {
172 ssize_t len = pread(pfd[dpy][ev].fd, vdata, MAX_DATA, 0);
209 if(pfd[dpy][event].fd >= 0
    [all...]
  /packages/services/BuiltInPrintService/src/com/android/bips/jni/
PdfRender.java 105 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(new File(fileName), local
107 return mService.openDocument(pfd);
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerFunctionalTest.java 133 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(requestId); local
139 verifyFileSize(pfd, fileSize);
140 verifyFileContents(pfd, fileData);
143 pfd.close();
  /frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DownloadManagerTestApp.java 188 ParcelFileDescriptor pfd = null; local
200 pfd = mDownloadManager.openDownloadedFile(dlRequest);
201 verifyFileSize(pfd, filesize);
209 if (pfd != null) {
210 pfd.close();
239 ParcelFileDescriptor pfd = null; local
243 pfd = mDownloadManager.openDownloadedFile(dlRequest);
244 verifyFileSize(pfd, filesize);
246 if (pfd != null) {
247 pfd.close()
321 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); local
389 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); local
460 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
UriUtil.java 140 ParcelFileDescriptor pfd = null; local
142 pfd = Factory.get().getApplicationContext()
144 return Math.max(pfd.getStatSize(), 0);
148 if (pfd != null) {
150 pfd.close();
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PhoneAccountTest.java 313 final ParcelFileDescriptor pfd = local
316 try (InputStream in = new FileInputStream(pfd.getFileDescriptor())) {
328 pfd.close();
  /frameworks/base/core/java/android/hardware/usb/
UsbManager.java 345 ParcelFileDescriptor pfd = mService.openDevice(deviceName); local
346 if (pfd != null) {
348 boolean result = connection.open(deviceName, pfd, mContext);
349 pfd.close();
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
StorageTest.java 176 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(filesFile,
178 sm.allocateBytes(pfd.getFileDescriptor(), 1 * MB_IN_BYTES);
  /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/display/src/android/display/cts/
DisplayTest.java 115 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation().executeShellCommand( local
117 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
  /cts/tests/tests/media/src/android/media/cts/
Utils.java 82 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand( local
84 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 154 ParcelFileDescriptor pfd = local
156 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());

Completed in 1898 milliseconds

1 23 4 5 6 7 8 910