@Implements(value=libcore.io.Linux.class, minSdk=26, isInAndroidSdk=false) public class ShadowLinux extends java.lang.Object
Constructor and Description |
---|
ShadowLinux() |
Modifier and Type | Method and Description |
---|---|
protected android.system.StructStat |
fstat(java.io.FileDescriptor fd) |
protected android.system.StructStat |
fstat(java.lang.String path) |
void |
mkdir(java.lang.String path,
int mode) |
protected java.io.FileDescriptor |
open(java.lang.String path,
int flags,
int mode) |
android.system.StructStat |
stat(java.lang.String path) |
@Implementation public void mkdir(java.lang.String path, int mode) throws android.system.ErrnoException
android.system.ErrnoException
@Implementation public android.system.StructStat stat(java.lang.String path) throws android.system.ErrnoException
android.system.ErrnoException
@Implementation(maxSdk=25) protected android.system.StructStat fstat(java.lang.String path) throws android.system.ErrnoException
android.system.ErrnoException
@Implementation protected android.system.StructStat fstat(java.io.FileDescriptor fd) throws android.system.ErrnoException
android.system.ErrnoException
@Implementation protected java.io.FileDescriptor open(java.lang.String path, int flags, int mode) throws android.system.ErrnoException
android.system.ErrnoException