Searched refs:StorageMeasurement (Results 1 - 3 of 3) sorted by relevance
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | MiscFilesHandler.java | 42 import com.android.settings.deviceinfo.StorageMeasurement.FileInfo; 112 if (StorageMeasurement.LOGV) { 188 private ArrayList<StorageMeasurement.FileInfo> mData = null; 196 StorageMeasurement mMeasurement = 197 StorageMeasurement.getInstance(activity, storageVolume, false /*Unused as a key*/); 199 mData = (ArrayList<StorageMeasurement.FileInfo>) mMeasurement.mFileInfoForMisc; 201 for (StorageMeasurement.FileInfo info : mData) { 213 public StorageMeasurement.FileInfo getItem(int position) { 234 mDataSize -= ((StorageMeasurement.FileInfo) o).mSize;
|
H A D | StorageVolumePreferenceCategory.java | 36 import com.android.settings.deviceinfo.StorageMeasurement.MeasurementReceiver; 64 private StorageMeasurement mMeasurement; 138 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE); 139 final long availSize = bundle.getLong(StorageMeasurement.AVAIL_SIZE); 145 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE); 146 final long availSize = bundle.getLong(StorageMeasurement.AVAIL_SIZE); 147 final long appsUsed = bundle.getLong(StorageMeasurement.APPS_USED); 148 final long downloadsSize = bundle.getLong(StorageMeasurement.DOWNLOADS_SIZE); 149 final long miscSize = bundle.getLong(StorageMeasurement.MISC_SIZE); 150 final long[] mediaSizes = bundle.getLongArray(StorageMeasurement [all...] |
H A D | StorageMeasurement.java | 64 public class StorageMeasurement { class 65 private static final String TAG = "StorageMeasurement"; 89 private static Map<StorageVolume, StorageMeasurement> sInstances = 90 new ConcurrentHashMap<StorageVolume, StorageMeasurement>(); 91 private static StorageMeasurement sInternalInstance; 113 private StorageMeasurement(Context context, StorageVolume storageVolume, boolean isPrimary) { method in class:StorageMeasurement 125 * Get the singleton of the StorageMeasurement class. The application 130 public static StorageMeasurement getInstance(Context context, StorageVolume storageVolume, 135 new StorageMeasurement(context.getApplicationContext(), storageVolume, isPrimary); 142 StorageMeasurement storageMeasuremen [all...] |
Completed in 319 milliseconds