Home
last modified time | relevance | path

Searched refs:storageManager (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java115 final StorageManager storageManager = getSystemService(StorageManager.class); in formatAsPublic() local
116 final List<VolumeInfo> volumes = storageManager.getVolumes(); in formatAsPublic()
120 storageManager.forgetVolume(volume.getFsUuid()); in formatAsPublic()
124 storageManager.partitionPublic(diskId); in formatAsPublic()
141 final StorageManager storageManager = getSystemService(StorageManager.class); in formatAsPrivate() local
142 storageManager.partitionPrivate(diskId); in formatAsPrivate()
143 final long internalBench = storageManager.benchmark(null); in formatAsPrivate()
145 final VolumeInfo privateVol = findVolume(storageManager, diskId); in formatAsPrivate()
148 privateBench = storageManager.benchmark(privateVol.getId()); in formatAsPrivate()
167 private VolumeInfo findVolume(StorageManager storageManager, String diskId) { in findVolume() argument
[all …]
DMigrateStorageActivity.java89 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate() local
92 mTargetVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
97 mTargetVolumeDesc = storageManager.getBestVolumeDescription(mTargetVolumeInfo); in onCreate()
103 mVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
108 mVolumeDesc = storageManager.getBestVolumeDescription(mVolumeInfo); in onCreate()
141 final StorageManager storageManager = getSystemService(StorageManager.class); in onChoose() local
142 mTargetVolumeDesc = storageManager.getBestVolumeDescription(mTargetVolumeInfo); in onChoose()
263 final StorageManager storageManager = in onCreateActions() local
275 .title(storageManager.getBestVolumeDescription(candidate)) in onCreateActions()
DNewStorageActivity.java140 StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local
148 final VolumeInfo info = storageManager.findVolumeById(mVolumeId); in onCreate()
149 mDescription = storageManager.getBestVolumeDescription(info); in onCreate()
151 final DiskInfo info = storageManager.findDiskById(mDiskId); in onCreate()
234 final StorageManager storageManager = in checkForUnmount() local
239 final List<DiskInfo> diskInfos = storageManager.getDisks(); in checkForUnmount()
251 final List<VolumeInfo> volumeInfos = storageManager.getVolumes(); in checkForUnmount()
290 StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local
296 final VolumeRecord volumeRecord = storageManager.findRecordByUuid(mFsUuid); in onCreate()
DFormatAsPublicStepFragment.java57 final StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local
58 final List<VolumeInfo> volumes = storageManager.getVolumes(); in onCreate()
DUnmountActivity.java74 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate() local
75 final VolumeInfo volumeInfo = storageManager.findVolumeById(mUnmountVolumeId); in onCreate()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DCacheManager.java284 public CacheManager(StorageManager storageManager) { in CacheManager() argument
285 this(storageManager, new SampleCache.SampleCacheFactory()); in CacheManager()
288 public CacheManager(StorageManager storageManager, in CacheManager() argument
290 mStorageManager = storageManager; in CacheManager()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java97 StorageManager storageManager = (StorageManager)getSystemService(Context.STORAGE_SERVICE); in onCreate() local
98 mExternalStoragePaths = storageManager.getVolumePaths(); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java605 final StorageManager storageManager = context.getSystemService(StorageManager.class); in onCreateDialog() local
608 final VolumeInfo vol = storageManager.findVolumeByUuid(fsUuid); in onCreateDialog()
609 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog()
626 storageManager.setVolumeNickname(fsUuid, in onCreateDialog()
DStorageSettings.java480 StorageManager storageManager = mContext.getSystemService(StorageManager.class); in updateSummary() local
481 final List<VolumeInfo> volumes = storageManager.getVolumes(); in updateSummary()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetFragment.java230 private void refresh(Context context, StorageManager storageManager, in refresh() argument
232 final String description = storageManager in refresh()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java254 DvrStorageManager storageManager = in getDurationForRecording() local
258 trackInfo = storageManager.readTrackInfoFile(false); in getDurationForRecording()
262 trackInfo = storageManager.readTrackInfoFile(true); in getDurationForRecording()