StatFs

Class of android.os · StatFs.java · Android's reference

public class StatFs

A file system's space: the host's, for the folder (statvfs of the path on Android). 4 KiB blocks.

Constructors

public StatFs(String path) source

Methods

public void restat(String path) source
public long getBlockSizeLong() source
public long getBlockCountLong() source
public long getFreeBlocksLong() source
public long getAvailableBlocksLong() source
public long getFreeBytes() source
public long getAvailableBytes() source
public long getTotalBytes() source
public int getBlockSize() deprecated source
public int getBlockCount() deprecated source
public int getFreeBlocks() deprecated source
public int getAvailableBlocks() deprecated source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.