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
Modifier and Type Method Description protected void__constructor__(ParcelFileDescriptor wrapped)protected voidclose()protected static ParcelFileDescriptor[]createPipe()protected static ParcelFileDescriptor[]createReliablePipe()protected intgetFd()protected FileDescriptorgetFileDescriptor()protected longgetStatSize()protected static ParcelFileDescriptoropen(File file, int mode)
-
Constructor Details
-
ShadowParcelFileDescriptor
public ShadowParcelFileDescriptor()
-
-
Method Details
-
__constructor__
-
open
@Implementation protected static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException- Throws:
FileNotFoundException
-
createPipe
- Throws:
IOException
-
createReliablePipe
@Implementation(minSdk=19) protected static ParcelFileDescriptor[] createReliablePipe() throws IOException- Throws:
IOException
-
getFileDescriptor
-
getStatSize
-
getFd
-
close
- Throws:
IOException
-