Package org.robolectric.shadows
Class ShadowParcelFileDescriptor
- java.lang.Object
-
- org.robolectric.shadows.ShadowParcelFileDescriptor
-
@Implements(android.os.ParcelFileDescriptor.class) public class ShadowParcelFileDescriptor extends java.lang.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__(android.os.ParcelFileDescriptor wrapped)protected voidclose()protected static android.os.ParcelFileDescriptor[]createPipe()protected static android.os.ParcelFileDescriptor[]createReliablePipe()protected intgetFd()protected java.io.FileDescriptorgetFileDescriptor()protected longgetStatSize()protected static android.os.ParcelFileDescriptoropen(java.io.File file, int mode)
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(android.os.ParcelFileDescriptor wrapped)
-
open
@Implementation protected static android.os.ParcelFileDescriptor open(java.io.File file, int mode) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
createPipe
@Implementation protected static android.os.ParcelFileDescriptor[] createPipe() throws java.io.IOException- Throws:
java.io.IOException
-
createReliablePipe
@Implementation(minSdk=19) protected static android.os.ParcelFileDescriptor[] createReliablePipe() throws java.io.IOException- Throws:
java.io.IOException
-
getFileDescriptor
@Implementation protected java.io.FileDescriptor getFileDescriptor()
-
getStatSize
@Implementation protected long getStatSize()
-
getFd
@Implementation protected int getFd()
-
close
@Implementation protected void close() throws java.io.IOException- Throws:
java.io.IOException
-
-