Searched refs:storageManager (Results 1 – 11 of 11) sorted by relevance
115 final StorageManager storageManager = getSystemService(StorageManager.class); in formatAsPublic() local116 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() local142 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 …]
89 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate() local92 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() local142 mTargetVolumeDesc = storageManager.getBestVolumeDescription(mTargetVolumeInfo); in onChoose()263 final StorageManager storageManager = in onCreateActions() local275 .title(storageManager.getBestVolumeDescription(candidate)) in onCreateActions()
140 StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local148 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() local239 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() local296 final VolumeRecord volumeRecord = storageManager.findRecordByUuid(mFsUuid); in onCreate()
57 final StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local58 final List<VolumeInfo> volumes = storageManager.getVolumes(); in onCreate()
74 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate() local75 final VolumeInfo volumeInfo = storageManager.findVolumeById(mUnmountVolumeId); in onCreate()
284 public CacheManager(StorageManager storageManager) { in CacheManager() argument285 this(storageManager, new SampleCache.SampleCacheFactory()); in CacheManager()288 public CacheManager(StorageManager storageManager, in CacheManager() argument290 mStorageManager = storageManager; in CacheManager()
97 StorageManager storageManager = (StorageManager)getSystemService(Context.STORAGE_SERVICE); in onCreate() local98 mExternalStoragePaths = storageManager.getVolumePaths(); in onCreate()
605 final StorageManager storageManager = context.getSystemService(StorageManager.class); in onCreateDialog() local608 final VolumeInfo vol = storageManager.findVolumeByUuid(fsUuid); in onCreateDialog()609 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog()626 storageManager.setVolumeNickname(fsUuid, in onCreateDialog()
480 StorageManager storageManager = mContext.getSystemService(StorageManager.class); in updateSummary() local481 final List<VolumeInfo> volumes = storageManager.getVolumes(); in updateSummary()
230 private void refresh(Context context, StorageManager storageManager, in refresh() argument232 final String description = storageManager in refresh()
254 DvrStorageManager storageManager = in getDurationForRecording() local258 trackInfo = storageManager.readTrackInfoFile(false); in getDurationForRecording()262 trackInfo = storageManager.readTrackInfoFile(true); in getDurationForRecording()