Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DCachedStorageValuesHelperTest.java17 package com.android.settings.deviceinfo.storage;
19 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.CACHE_APPS_SIZE_KEY;
20 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.EXTERNAL_APP_BYTES;
21 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper
23 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper
25 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper
27 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper
29 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.FREE_BYTES_KEY;
30 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.GAME_APPS_SIZE_KEY;
31 import static com.android.settings.deviceinfo.storage.CachedStorageValuesHelper.MUSIC_APPS_SIZE_KEY;
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DUrisSupplier.java64 abstract Iterable<Uri> getUris(ClipStore storage) throws IOException; in getUris() argument
73 public static UrisSupplier create(ClipData clipData, ClipStore storage) throws IOException { in create() argument
77 uris = new JumboUrisSupplier(clipData, storage); in create()
86 Selection<String> selection, Function<String, Uri> uriBuilder, ClipStore storage) in create() argument
94 return create(uris, storage); in create()
98 static UrisSupplier create(List<Uri> uris, ClipStore storage) throws IOException { in create() argument
100 ? new JumboUrisSupplier(uris, storage) in create()
114 private JumboUrisSupplier(ClipData clipData, ClipStore storage) throws IOException { in JumboUrisSupplier() argument
118 mFile = storage.getFile(tag); in JumboUrisSupplier()
142 Iterable<Uri> getUris(ClipStore storage) throws IOException { in getUris() argument
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardFormatProgress.java19 import static android.os.storage.VolumeInfo.TYPE_PRIVATE;
30 import android.os.storage.StorageManager;
31 import android.os.storage.VolumeInfo;
88 final StorageManager storage = mActivity.mStorage; in doInBackground() local
91 storage.partitionPrivate(activity.mDisk.getId()); in doInBackground()
96 storage.benchmark(privateVol.getId(), new IVoldTaskListener.Stub() { in doInBackground()
114 && Objects.equals(storage.getPrimaryStorageUuid(), in doInBackground()
118 storage.setPrimaryStorageUuid(privateVol.getFsUuid(), new SilentObserver()); in doInBackground()
122 storage.partitionPublic(activity.mDisk.getId()); in doInBackground()
DPrivateVolumeFormat.java19 import static android.os.storage.DiskInfo.EXTRA_DISK_ID;
27 import android.os.storage.DiskInfo;
28 import android.os.storage.StorageManager;
29 import android.os.storage.VolumeInfo;
53 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
56 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DPrivateVolumeForget.java24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeRecord;
64 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
71 mRecord = storage.findRecordByUuid(fsUuid); in onCreateView()
116 final StorageManager storage = context.getSystemService(StorageManager.class); in onCreateDialog() local
119 final VolumeRecord record = storage.findRecordByUuid(fsUuid); in onCreateDialog()
131 storage.forgetVolume(fsUuid); in onCreateDialog()
DPrivateVolumeUnmount.java21 import android.os.storage.DiskInfo;
22 import android.os.storage.StorageManager;
23 import android.os.storage.VolumeInfo;
56 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
59 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DStorageDashboardFragment.java27 import android.os.storage.StorageManager;
28 import android.os.storage.VolumeInfo;
40 import com.android.car.developeroptions.deviceinfo.storage.AutomaticStorageManagementSwitchPreferen…
41 import com.android.car.developeroptions.deviceinfo.storage.CachedStorageValuesHelper;
42 import com.android.car.developeroptions.deviceinfo.storage.SecondaryUserController;
43 import com.android.car.developeroptions.deviceinfo.storage.StorageAsyncLoader;
44 import com.android.car.developeroptions.deviceinfo.storage.StorageItemPreferenceController;
45 import com.android.car.developeroptions.deviceinfo.storage.StorageSummaryDonutPreferenceController;
46 import com.android.car.developeroptions.deviceinfo.storage.UserIconLoader;
47 import com.android.car.developeroptions.deviceinfo.storage.VolumeSizesLoader;
DMigrateEstimateTask.java30 import android.os.storage.StorageManager;
31 import android.os.storage.VolumeInfo;
70 final StorageManager storage = mContext.getSystemService(StorageManager.class); in doInBackground() local
74 final VolumeInfo emulatedVol = storage.findEmulatedForPrivate(privateVol); in doInBackground()
82 final UUID emulatedUuid = storage.getUuidForPath(emulatedVol.getPath()); in doInBackground()
DStorageProfileFragment.java24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeInfo;
35 import com.android.car.developeroptions.deviceinfo.storage.StorageAsyncLoader;
36 import com.android.car.developeroptions.deviceinfo.storage.StorageAsyncLoader.AppsStorageResult;
37 import com.android.car.developeroptions.deviceinfo.storage.StorageItemPreferenceController;
DStorageUnmountReceiver.java24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeInfo;
33 final StorageManager storage = context.getSystemService(StorageManager.class); in onReceive() local
36 final VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
DStorageWizardBase.java19 import static android.os.storage.DiskInfo.EXTRA_DISK_ID;
20 import static android.os.storage.VolumeInfo.EXTRA_VOLUME_ID;
31 import android.os.storage.DiskInfo;
32 import android.os.storage.StorageEventListener;
33 import android.os.storage.StorageManager;
34 import android.os.storage.VolumeInfo;
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardFormatProgress.java19 import static android.os.storage.VolumeInfo.TYPE_PRIVATE;
30 import android.os.storage.StorageManager;
31 import android.os.storage.VolumeInfo;
90 final StorageManager storage = mActivity.mStorage; in doInBackground() local
93 storage.partitionPrivate(activity.mDisk.getId()); in doInBackground()
98 storage.benchmark(privateVol.getId(), new IVoldTaskListener.Stub() { in doInBackground()
116 && Objects.equals(storage.getPrimaryStorageUuid(), in doInBackground()
120 storage.setPrimaryStorageUuid(privateVol.getFsUuid(), new SilentObserver()); in doInBackground()
124 storage.partitionPublic(activity.mDisk.getId()); in doInBackground()
DPrivateVolumeFormat.java19 import static android.os.storage.DiskInfo.EXTRA_DISK_ID;
27 import android.os.storage.DiskInfo;
28 import android.os.storage.StorageManager;
29 import android.os.storage.VolumeInfo;
53 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
56 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DPrivateVolumeForget.java24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeRecord;
64 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
71 mRecord = storage.findRecordByUuid(fsUuid); in onCreateView()
116 final StorageManager storage = context.getSystemService(StorageManager.class); in onCreateDialog() local
119 final VolumeRecord record = storage.findRecordByUuid(fsUuid); in onCreateDialog()
131 storage.forgetVolume(fsUuid); in onCreateDialog()
DPrivateVolumeUnmount.java21 import android.os.storage.DiskInfo;
22 import android.os.storage.StorageManager;
23 import android.os.storage.VolumeInfo;
56 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
59 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DStorageDashboardFragment.java27 import android.os.storage.StorageManager;
28 import android.os.storage.VolumeInfo;
40 import com.android.settings.deviceinfo.storage.AutomaticStorageManagementSwitchPreferenceController;
41 import com.android.settings.deviceinfo.storage.CachedStorageValuesHelper;
42 import com.android.settings.deviceinfo.storage.SecondaryUserController;
43 import com.android.settings.deviceinfo.storage.StorageAsyncLoader;
44 import com.android.settings.deviceinfo.storage.StorageItemPreferenceController;
45 import com.android.settings.deviceinfo.storage.StorageSummaryDonutPreferenceController;
46 import com.android.settings.deviceinfo.storage.UserIconLoader;
47 import com.android.settings.deviceinfo.storage.VolumeSizesLoader;
DMigrateEstimateTask.java30 import android.os.storage.StorageManager;
31 import android.os.storage.VolumeInfo;
70 final StorageManager storage = mContext.getSystemService(StorageManager.class); in doInBackground() local
74 final VolumeInfo emulatedVol = storage.findEmulatedForPrivate(privateVol); in doInBackground()
82 final UUID emulatedUuid = storage.getUuidForPath(emulatedVol.getPath()); in doInBackground()
DStorageProfileFragment.java24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeInfo;
35 import com.android.settings.deviceinfo.storage.StorageAsyncLoader;
36 import com.android.settings.deviceinfo.storage.StorageAsyncLoader.AppsStorageResult;
37 import com.android.settings.deviceinfo.storage.StorageItemPreferenceController;
DStorageUnmountReceiver.java24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeInfo;
33 final StorageManager storage = context.getSystemService(StorageManager.class); in onReceive() local
36 final VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java22 import android.os.storage.DiskInfo;
23 import android.os.storage.StorageManager;
24 import android.os.storage.VolumeInfo;
25 import android.os.storage.VolumeRecord;
36 import com.android.tv.settings.device.storage.MissingStorageFragment;
37 import com.android.tv.settings.device.storage.NewStorageActivity;
38 import com.android.tv.settings.device.storage.StorageFragment;
39 import com.android.tv.settings.device.storage.StoragePreference;
297 private class StorageEventListener extends android.os.storage.StorageEventListener {
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageMediaCategoryDetailFragment.java16 package com.android.car.settings.storage;
19 import static com.android.car.settings.storage.StorageMediaCategoryPreferenceController.EXTRA_AUDIO…
20 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
25 import android.os.storage.StorageManager;
26 import android.os.storage.VolumeInfo;
DStorageSettingsFragment.java17 package com.android.car.settings.storage;
19 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeInfo;
DStorageOtherCategoryDetailFragment.java16 package com.android.car.settings.storage;
18 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
23 import android.os.storage.StorageManager;
24 import android.os.storage.VolumeInfo;
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java31 import com.google.api.services.storage.Storage;
32 import com.google.api.services.storage.model.StorageObject;
80 Storage storage, MetaBugReport bugReport, String fileName, InputStream data) in uploadSimple() argument
98 Storage.Objects.Insert insertObject = storage.objects().insert(bucket, object, in uploadSimple()
117 Storage storage = new Storage.Builder(httpTransport, jsonFactory, credential) in upload() local
123 StorageObject object = uploadSimple(storage, bugReport, fileName, inputStream); in upload()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowStorageManager.java19 import android.os.storage.DiskInfo;
20 import android.os.storage.StorageManager;
21 import android.os.storage.VolumeInfo;
22 import android.os.storage.VolumeRecord;

12345678910>>...12