Home | History | Annotate | Download | only in deviceinfo

Lines Matching defs:volume

56     public StorageVolumePreference(Context context, VolumeInfo volume, int color, long totalBytes) {
60 mVolume = volume;
65 setKey(volume.getId());
66 setTitle(mStorageManager.getBestVolumeDescription(volume));
69 if (VolumeInfo.ID_PRIVATE_INTERNAL.equals(volume.getId())) {
75 if (volume.isMountedReadable()) {
77 final File path = volume.getPath();
81 if (volume.getType() == VolumeInfo.TYPE_PRIVATE) {
85 totalBytes = stats.getTotalBytes(volume.getFsUuid());
86 freeBytes = stats.getFreeBytes(volume.getFsUuid());
114 setSummary(volume.getStateDescription());
122 if (volume.getType() == VolumeInfo.TYPE_PUBLIC
123 && volume.isMountedReadable()) {