public class

StorageDevice

extends Object
java.lang.Object
   ↳ com.iwedia.dtv.mount.StorageDevice

Summary

Constants
int GB_SIZE
int KB_SIZE
int MB_SIZE
Fields
public static final CREATOR
public static final String[] mFileSystemNameDes
Public Constructors
StorageDevice()
StorageDevice(String serial, String mountPath, FileSystemType fileSystemType, long totalDiskSpace, long writeSpeed, String manufacturerName, String productName, StorageType deviceType, String deviceLabel)
StorageDevice(String mountPath, String fileSystemType, String manufacturerName, String productName, String serial, StorageType deviceType, String deviceLabel)
StorageDevice(String mountPath, String fileSystemType, String manufacturerName, String productName, String serial, StorageType deviceType, String deviceLabel, String uniqueId, int unavailableReason, int state)
Public Methods
int describeContents()
String getDeviceLabel()
StorageType getDeviceType()
String getFileSystemName()
FileSystemType getFileSystemType()
long getFreeDiskSpace()
String getManufacturerName()
String getMountPath()
String getProductName()
String getSerial()
int getState()
long getTotalDiskSpace()
int getUnavailableReason()
String getUniqueId()
String getVoldPath()
long getWriteSpeed()
boolean isMounted()
boolean isWritable()
void setDeviceLabel(String label)
void setFileSystemType(FileSystemType type)
void setFreeDiskSpace(long diskSpace)
void setManufacturerName(String manufacturerName)
void setMountPath(String path)
void setMounted(boolean isMounted)
void setProductName(String productName)
void setSerial(String serial)
void setState(int state)
void setTotalDiskSpace(long diskSpace)
void setUnavailableReason(int unavailableReason)
void setUniqueId(String uniqueId)
void setVoldPath(String voldPath)
void setWritable(boolean isWritable)
void setWriteSpeed(long writeSpeed)
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int GB_SIZE

Constant Value: 1073741824 (0x40000000)

public static final int KB_SIZE

Constant Value: 1024 (0x00000400)

public static final int MB_SIZE

Constant Value: 1048576 (0x00100000)

Fields

public static final CREATOR

public static final String[] mFileSystemNameDes

Public Constructors

public StorageDevice ()

public StorageDevice (String serial, String mountPath, FileSystemType fileSystemType, long totalDiskSpace, long writeSpeed, String manufacturerName, String productName, StorageType deviceType, String deviceLabel)

public StorageDevice (String mountPath, String fileSystemType, String manufacturerName, String productName, String serial, StorageType deviceType, String deviceLabel)

public StorageDevice (String mountPath, String fileSystemType, String manufacturerName, String productName, String serial, StorageType deviceType, String deviceLabel, String uniqueId, int unavailableReason, int state)

Public Methods

public int describeContents ()

public String getDeviceLabel ()

public StorageType getDeviceType ()

public String getFileSystemName ()

public FileSystemType getFileSystemType ()

public long getFreeDiskSpace ()

public String getManufacturerName ()

public String getMountPath ()

public String getProductName ()

public String getSerial ()

public int getState ()

public long getTotalDiskSpace ()

public int getUnavailableReason ()

public String getUniqueId ()

public String getVoldPath ()

public long getWriteSpeed ()

public boolean isMounted ()

public boolean isWritable ()

public void setDeviceLabel (String label)

public void setFileSystemType (FileSystemType type)

public void setFreeDiskSpace (long diskSpace)

public void setManufacturerName (String manufacturerName)

public void setMountPath (String path)

public void setMounted (boolean isMounted)

public void setProductName (String productName)

public void setSerial (String serial)

public void setState (int state)

public void setTotalDiskSpace (long diskSpace)

public void setUnavailableReason (int unavailableReason)

public void setUniqueId (String uniqueId)

public void setVoldPath (String voldPath)

public void setWritable (boolean isWritable)

public void setWriteSpeed (long writeSpeed)

public String toString ()

public void writeToParcel (Parcel dest, int flags)