@Implements(value=android.os.StatFs.class)
public class ShadowStatFs
extends java.lang.Object
StatFs.| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK_SIZE |
| Constructor and Description |
|---|
ShadowStatFs() |
| Modifier and Type | Method and Description |
|---|---|
void |
__constructor__(java.lang.String path) |
int |
getAvailableBlocks() |
long |
getAvailableBlocksLong() |
int |
getBlockCount() |
long |
getBlockCountLong() |
int |
getBlockSize() |
long |
getBlockSizeLong() |
int |
getFreeBlocks() |
static void |
registerStats(java.io.File path,
int blockCount,
int freeBlocks,
int availableBlocks) |
static void |
registerStats(java.lang.String path,
int blockCount,
int freeBlocks,
int availableBlocks) |
static void |
reset() |
void |
restat(java.lang.String path) |
public static final int BLOCK_SIZE
public void __constructor__(java.lang.String path)
@Implementation public int getBlockSize()
@Implementation public int getBlockCount()
@Implementation public int getFreeBlocks()
@Implementation public int getAvailableBlocks()
@Implementation public void restat(java.lang.String path)
@Implementation(minSdk=18) public long getBlockSizeLong()
@Implementation(minSdk=18) public long getBlockCountLong()
@Implementation(minSdk=18) public long getAvailableBlocksLong()
public static void registerStats(java.io.File path,
int blockCount,
int freeBlocks,
int availableBlocks)
public static void registerStats(java.lang.String path,
int blockCount,
int freeBlocks,
int availableBlocks)
@Resetter public static void reset()