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
Constructors Constructor Description ShadowParcelFileDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
__constructor__(ParcelFileDescriptor wrapped)
protected void
close()
protected static ParcelFileDescriptor[]
createPipe()
protected static ParcelFileDescriptor[]
createReliablePipe()
protected int
getFd()
protected FileDescriptor
getFileDescriptor()
protected long
getStatSize()
protected static ParcelFileDescriptor
open(File file, int mode)
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(ParcelFileDescriptor wrapped)
-
open
@Implementation protected static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException
- Throws:
FileNotFoundException
-
createPipe
@Implementation protected static ParcelFileDescriptor[] createPipe() throws IOException
- Throws:
IOException
-
createReliablePipe
@Implementation(minSdk=19) protected static ParcelFileDescriptor[] createReliablePipe() throws IOException
- Throws:
IOException
-
getFileDescriptor
@Implementation protected FileDescriptor getFileDescriptor()
-
getStatSize
@Implementation protected long getStatSize()
-
getFd
@Implementation protected int getFd()
-
close
@Implementation protected void close() throws IOException
- Throws:
IOException
-
-