@Implements(value=android.os.ParcelFileDescriptor.class)
public class ShadowParcelFileDescriptor
extends java.lang.Object
| Constructor and Description |
|---|
ShadowParcelFileDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
__constructor__(android.os.ParcelFileDescriptor wrapped) |
void |
close() |
protected static android.os.ParcelFileDescriptor[] |
createPipe() |
int |
getFd()
Overrides framework to avoid call to {@link FileDescriptor#getInt() which does not exist on JVM.
|
java.io.FileDescriptor |
getFileDescriptor() |
long |
getStatSize() |
static android.os.ParcelFileDescriptor |
open(java.io.File file,
int mode) |
@Implementation public void __constructor__(android.os.ParcelFileDescriptor wrapped)
@Implementation
public static android.os.ParcelFileDescriptor open(java.io.File file,
int mode)
throws java.io.FileNotFoundException
java.io.FileNotFoundException@Implementation
protected static android.os.ParcelFileDescriptor[] createPipe()
throws java.io.IOException
java.io.IOException@Implementation public java.io.FileDescriptor getFileDescriptor()
@Implementation public long getStatSize()
@Implementation public int getFd()
Overrides framework to avoid call to {@link FileDescriptor#getInt() which does not exist on JVM.
0)@Implementation
public void close()
throws java.io.IOException
java.io.IOException