HomeSort by relevance Sort by last modified time
    Searched defs:ParcelFileDescriptor (Results 1 - 16 of 16) sorted by null

  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.java 23 import android.os.ParcelFileDescriptor;
24 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
50 ParcelFileDescriptor tempFile = makeParcelFileDescriptor(getContext());
52 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile);
104 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket);
115 assertNull(ParcelFileDescriptor.fromData(null, null));
117 assertFileDescriptorContent(data, ParcelFileDescriptor.fromData(data, null));
119 assertFileDescriptorContent(data, ParcelFileDescriptor.fromData(data, null))
    [all...]
  /frameworks/base/core/java/android/os/
ParcelFileDescriptor.java 53 public class ParcelFileDescriptor implements Parcelable, Closeable {
54 private static final String TAG = "ParcelFileDescriptor";
65 * Wrapped {@link ParcelFileDescriptor}, if any. Used to avoid
68 private final ParcelFileDescriptor mWrapped;
154 * Create a new ParcelFileDescriptor wrapped around another descriptor. By
157 public ParcelFileDescriptor(ParcelFileDescriptor wrapped) {
167 public ParcelFileDescriptor(FileDescriptor fd) {
172 public ParcelFileDescriptor(FileDescriptor fd, FileDescriptor commChannel) {
183 * Create a new ParcelFileDescriptor accessing a given file
    [all...]