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