Home
last modified time | relevance | path

Searched refs:mStorageEntry (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DVolumeOptionMenuController.java80 private StorageEntry mStorageEntry; field in VolumeOptionMenuController
86 mStorageEntry = storageEntry; in VolumeOptionMenuController()
127 if (mStorageEntry.isDiskInfoUnsupported()) { in updateOptionsMenu()
131 if (mStorageEntry.isVolumeRecordMissed()) { in updateOptionsMenu()
135 if (mStorageEntry.isUnmounted()) { in updateOptionsMenu()
139 if (!mStorageEntry.isMounted()) { in updateOptionsMenu()
143 if (mStorageEntry.isPrivate()) { in updateOptionsMenu()
144 if (!mStorageEntry.isDefaultInternalStorage()) { in updateOptionsMenu()
151 final VolumeInfo selectedVolumeInfo = mStorageEntry.getVolumeInfo(); in updateOptionsMenu()
159 if (mStorageEntry.isPublic()) { in updateOptionsMenu()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageUsageProgressBarPreferenceController.java49 private StorageEntry mStorageEntry; field in StorageUsageProgressBarPreferenceController
62 mStorageEntry = storageEntry; in setSelectedStorageEntry()
78 if (mStorageEntry != null && mStorageEntry.isMounted() && mStorageEntry.isPrivate()) { in getStorageStatsAndUpdateUi()
88 if (mStorageEntry == null || !mStorageEntry.isMounted()) { in getStorageStatsAndUpdateUi()
92 if (mStorageEntry.isPrivate()) { in getStorageStatsAndUpdateUi()
94 mTotalBytes = mStorageStatsManager.getTotalBytes(mStorageEntry.getFsUuid()); in getStorageStatsAndUpdateUi()
96 - mStorageStatsManager.getFreeBytes(mStorageEntry.getFsUuid()); in getStorageStatsAndUpdateUi()
98 final File rootFile = mStorageEntry.getPath(); in getStorageStatsAndUpdateUi()
100 Log.d(TAG, "Mounted public storage has null root path: " + mStorageEntry); in getStorageStatsAndUpdateUi()