Package org.robolectric.shadows
Class ShadowParcelFileDescriptor
java.lang.Object
org.robolectric.shadows.ShadowParcelFileDescriptor
@Implements(android.os.ParcelFileDescriptor.class)
public class ShadowParcelFileDescriptor
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(ParcelFileDescriptor wrapped) protected static void
protected void
close()
protected static ParcelFileDescriptor[]
protected static ParcelFileDescriptor[]
protected ParcelFileDescriptor
dup()
protected int
getFd()
protected FileDescriptor
protected long
protected static ParcelFileDescriptor
protected static ParcelFileDescriptor
open
(File file, int mode, Handler handler, ParcelFileDescriptor.OnCloseListener listener) static void
reset()
protected void
writeToParcel
(Parcel out, int flags)
-
Constructor Details
-
ShadowParcelFileDescriptor
public ShadowParcelFileDescriptor()
-
-
Method Details
-
__staticInitializer__
-
reset
-
__constructor__
-
writeToParcel
-
open
@Implementation protected static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException - Throws:
FileNotFoundException
-
open
@Implementation(minSdk=19) protected static ParcelFileDescriptor open(File file, int mode, Handler handler, ParcelFileDescriptor.OnCloseListener listener) throws IOException - Throws:
IOException
-
createPipe
- Throws:
IOException
-
createReliablePipe
@Implementation(minSdk=19) protected static ParcelFileDescriptor[] createReliablePipe() throws IOException- Throws:
IOException
-
getFileDescriptor
-
getStatSize
-
getFd
-
close
- Throws:
IOException
-
dup
- Throws:
IOException
-