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 -
Method Summary
Modifier and TypeMethodDescriptionprotected void__constructor__(ParcelFileDescriptor wrapped) protected static voidprotected voidclose()protected static ParcelFileDescriptor[]protected static ParcelFileDescriptor[]protected ParcelFileDescriptordup()protected intgetFd()protected FileDescriptorprotected longprotected static ParcelFileDescriptorprotected static ParcelFileDescriptoropen(File file, int mode, Handler handler, ParcelFileDescriptor.OnCloseListener listener) static voidreset()protected voidwriteToParcel(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
-