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