Lines Matching refs:dup
256 * Create a new ParcelFileDescriptor that is a dup of an existing
261 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException {
263 final FileDescriptor fd = Libcore.os.dup(orig);
271 * Create a new ParcelFileDescriptor that is a dup of the existing
276 public ParcelFileDescriptor dup() throws IOException {
278 return mWrapped.dup();
280 return dup(getFileDescriptor());
286 * ParcelFileDescriptor holds a dup of the original fd passed in here,
289 * @param fd The native fd that the ParcelFileDescriptor should dup.
292 * for a dup of the given fd.
299 final FileDescriptor dup = Libcore.os.dup(original);
300 return new ParcelFileDescriptor(dup);
325 * ParcelFileDescriptor holds a dup of the original FileDescriptor in