HomeSort by relevance Sort by last modified time
    Searched refs:StorageVolume (Results 1 - 18 of 18) sorted by null

  /frameworks/base/core/java/android/os/storage/
StorageVolume.aidl 19 parcelable StorageVolume;
StorageVolume.java 26 public class StorageVolume implements Parcelable {
28 //private static final String TAG = "StorageVolume";
40 // StorageVolume extra for ACTION_MEDIA_REMOVED, ACTION_MEDIA_UNMOUNTED, ACTION_MEDIA_CHECKING,
45 public StorageVolume(String path, String description, boolean removable,
57 private StorageVolume(String path, String description, boolean removable,
161 if (obj instanceof StorageVolume && mPath != null) {
162 StorageVolume volume = (StorageVolume)obj;
175 return "StorageVolume [mAllowMassStorage=" + mAllowMassStorage + ", mDescription="
181 public static final Parcelable.Creator<StorageVolume> CREATOR
    [all...]
StorageManager.java 549 public StorageVolume[] getVolumeList() {
552 if (list == null) return new StorageVolume[0];
554 StorageVolume[] result = new StorageVolume[length];
556 result[i] = (StorageVolume)list[i];
570 StorageVolume[] volumes = getVolumeList();
IMountService.java 25 import android.os.storage.StorageVolume;
687 _result = _reply.readParcelableArray(StorageVolume.class.getClassLoader());
    [all...]
  /frameworks/base/media/java/android/mtp/
MtpStorage.java 19 import android.os.storage.StorageVolume;
37 public MtpStorage(StorageVolume volume) {
  /frameworks/base/core/java/android/os/
Environment.java 21 import android.os.storage.StorageVolume;
39 private volatile static StorageVolume mPrimaryVolume = null;
41 private static StorageVolume getPrimaryVolume() {
49 mPrimaryVolume = (StorageVolume)volumes[0];
438 StorageVolume volume = getPrimaryVolume();
456 StorageVolume volume = getPrimaryVolume();
  /packages/apps/Settings/src/com/android/settings/
MediaFormat.java 22 import android.os.storage.StorageVolume;
62 final StorageVolume storageVolume = getIntent().getParcelableExtra(
63 StorageVolume.EXTRA_STORAGE_VOLUME);
64 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, storageVolume);
  /frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
SharedStorageAgent.java 12 import android.os.storage.StorageVolume;
22 StorageVolume[] mVolumes;
44 StorageVolume v = mVolumes[i];
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 34 import android.os.storage.StorageVolume;
82 private StorageVolume[] mVolumes;
95 StorageVolume[] volumes = mStorageManager.getVolumeList();
163 StorageVolume volume = mVolumes[i];
MediaScannerService.java 41 import android.os.storage.StorageVolume;
MediaProvider.java 62 import android.os.storage.StorageVolume;
180 StorageVolume storage = (StorageVolume)intent.getParcelableExtra(
181 StorageVolume.EXTRA_STORAGE_VOLUME);
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageMeasurement.java 35 import android.os.storage.StorageVolume;
89 private static Map<StorageVolume, StorageMeasurement> sInstances =
90 new ConcurrentHashMap<StorageVolume, StorageMeasurement>();
102 final private StorageVolume mStorageVolume;
113 private StorageMeasurement(Context context, StorageVolume storageVolume, boolean isPrimary) {
114 mStorageVolume = storageVolume;
115 mIsInternal = storageVolume == null;
127 * @param storageVolume The {@link StorageVolume} that will be measure
    [all...]
StorageVolumePreferenceCategory.java 30 import android.os.storage.StorageVolume;
60 private StorageVolume mStorageVolume;
160 StorageVolume storageVolume, StorageManager storageManager, boolean isPrimary) {
163 mStorageVolume = storageVolume;
165 setTitle(storageVolume != null ? storageVolume.getDescription()
167 mMeasurement = StorageMeasurement.getInstance(context, storageVolume, isPrimary);
209 public StorageVolume getStorageVolume() {
407 intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, mStorageVolume)
    [all...]
Memory.java 35 import android.os.storage.StorageVolume;
94 StorageVolume[] storageVolumes = mStorageManager.getVolumeList();
101 StorageVolume storageVolume = storageVolumes[i];
104 getActivity(), mResources, storageVolume, mStorageManager, isPrimary);
213 final StorageVolume storageVolume = svpc.getStorageVolume();
214 mClickedMountPoint = storageVolume.getPath();
215 String state = mStorageManager.getVolumeState(storageVolume.getPath());
MiscFilesHandler.java 23 import android.os.storage.StorageVolume;
194 final StorageVolume storageVolume = activity.getIntent().getParcelableExtra(
195 StorageVolume.EXTRA_STORAGE_VOLUME);
197 StorageMeasurement.getInstance(activity, storageVolume, false /*Unused as a key*/);
  /frameworks/base/core/java/com/android/internal/os/storage/
ExternalStorageFormatter.java 17 import android.os.storage.StorageVolume;
37 private StorageVolume mStorageVolume;
87 mStorageVolume = intent.getParcelableExtra(StorageVolume.EXTRA_STORAGE_VOLUME);
  /frameworks/base/services/java/com/android/server/
MountService.java 56 import android.os.storage.StorageVolume;
167 private final ArrayList<StorageVolume> mVolumes = new ArrayList<StorageVolume>();
168 private StorageVolume mPrimaryVolume;
170 private final HashMap<String, StorageVolume> mVolumeMap = new HashMap<String, StorageVolume>();
    [all...]
  /frameworks/base/services/java/com/android/server/usb/
UsbDeviceManager.java 45 import android.os.storage.StorageVolume;
164 StorageVolume[] volumes = storageManager.getVolumeList();

Completed in 225 milliseconds