History log of /packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec6e66268829e09df3f2b9d68500e672d35a8008 14-Sep-2012 Jeff Sharkey <jsharkey@android.com> Treat cache storage usage as available space.

Bug: 7123160
Change-Id: I1b3f36622be557d7c47f1452832f67da40893a02
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
da13ec0cb454f1aadada2acf12291cfaf0a7b176 13-Sep-2012 Jeff Sharkey <jsharkey@android.com> Iteration on multi-user Storage UI.

Now that DefaultContainerService has visibility of external storage
for all users, we can measure internal storage in a single pass.
Internal storage measurement now iterates across all known users,
counting both apps and emulated storage usage.

Create MeasurementDetails object with documentation about what is
counted under various device configurations. Generalize to measure
each Environment.DIRECTORY separately, so it can be combined as
needed. General cleanup of how measurements are passed to UI.

Bug: 7003520
Change-Id: Ib89c185296a0c9debdc20beeaa98584d803a84e8
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
fc76a78c458ac90d7e050ffc233cf9e32a2d9c0b 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Include user identifier in external storage paths.

When building external storage paths, always include user in path
to enable cross-user paths and aid debugging.

Mostly changes so Storage doesn't crash; will take another UI
iteration pass soon.

Bug: 7131382
Change-Id: If7ec807f12a36eb8ed02a0fb94e8a0b3a6694f16
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
96c2f8c50865e823e710be4d92f1589f978f03c2 07-Sep-2012 Jeff Sharkey <jsharkey@android.com> Progress towards split storage categories.

Cleans up StorageVolumePreferenceCategory creation, and uses new
isPrimary() API instead of passing around hacky "i == 0" derived
value.

Bug: 7003520
Change-Id: I9eb7164035b5368ee795e35b22e750aebbf3b159
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
90c8b20ccfd8f2e877bfac7cf3e883631af7a3e3 31-Aug-2012 Jeff Sharkey <jsharkey@android.com> Surface storage usage of other users.

Bring up separate StorageMeasurement sessions bound to other users
on device, and surface their total usage as teal colors. Exclude
app code size when measuring secondary users. Shift preferences to
using keys instead of fragile index ordering.

Bug: 7003520
Change-Id: I214d0b223e53955df71104502596743f049f2027
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
44dda2d7f52007d2ef33b9e9b9b9b1ec84c5582e 23-Apr-2012 Jeff Sharkey <jsharkey@android.com> Use statfs() in IMediaContainerService.

Since Settings runs in system UID, it needs to export statfs()
operations to IMediaContainerService.

Bug: 6346248
Change-Id: I5801948211f0e55040da4850e3dd55b93f80798f
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
b7609ff9990e583d62c9af0080d741884a9c5a06 09-Jul-2011 Gilles Debunne <debunne@google.com> Storage correctly updates internal storage graph.

The estimated used size used to be displayed next to the actual applications' size.

Change-Id: I9a9bf1faf638f8495507930e531ca4c851558f26
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
bd9ddab4f4e1f47b141abdcc0248cc716112b3c7 28-Jun-2011 Dianne Hackborn <hackbod@google.com> Fix up storage UI for old USB storage.

- In the storage overview, if storage is not emulated then we have a
new first section showing internal storage.
- In manage applications, we know show storage use on the SD card
separately from internal storage use.

Change-Id: I7eb993f59fdb5de5f5dcfe4a3bc2b95ae30d754a
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
4f734d9d590d0f75a60d744d97218eb54faa4330 03-Jun-2011 Gilles Debunne <debunne@google.com> Used space visible in SD Card bar graph

Bug 4544470

Change-Id: Iccae9bb568f1f7baf81c702f29f7a9e238d39d2b
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java
104ea2873dff5fa3a5f6bd4cfdb893bac3527fdf 19-May-2011 Gilles Debunne <debunne@google.com> Storage stats on external SD card in Settings.

Storage categories are dynamically created from list of StorageVolumes instead
of a static XML.

Unknown files' sizes are part of Misc rather than Apps.

Categories with a size of 0 are removed.

TODO : remove the notion of a "nosdcard" product. Change strings accordingly.
See all TODO in code

Change-Id: I017ac20f5fa50ad9bdeba8e666754ec84acf3858
/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageMeasurement.java