/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | SettingsStorageService.java | 118 final StorageManager storageManager = getSystemService(StorageManager.class); in formatAsPublic() local 119 final List<VolumeInfo> volumes = storageManager.getVolumes(); in formatAsPublic() 123 storageManager.forgetVolume(volume.getFsUuid()); in formatAsPublic() 127 storageManager.partitionPublic(diskId); in formatAsPublic() 144 final StorageManager storageManager = getSystemService(StorageManager.class); in formatAsPrivate() local 145 storageManager.partitionPrivate(diskId); in formatAsPrivate() 146 final long internalBench = storageManager.benchmark("private"); in formatAsPrivate() 148 final VolumeInfo privateVol = findPrivateVolume(storageManager, diskId); in formatAsPrivate() 151 privateBench = storageManager.benchmark(privateVol.getId()); in formatAsPrivate() 171 private VolumeInfo findPrivateVolume(@NonNull StorageManager storageManager, in findPrivateVolume() argument [all …]
|
D | MigrateStorageActivity.java | 90 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate() local 93 mTargetVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate() 98 mTargetVolumeDesc = storageManager.getBestVolumeDescription(mTargetVolumeInfo); in onCreate() 104 mVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate() 109 mVolumeDesc = storageManager.getBestVolumeDescription(mVolumeInfo); in onCreate() 142 final StorageManager storageManager = getSystemService(StorageManager.class); in onChoose() local 143 mTargetVolumeDesc = storageManager.getBestVolumeDescription(mTargetVolumeInfo); in onChoose() 264 final StorageManager storageManager = in onCreateActions() local 276 .title(storageManager.getBestVolumeDescription(candidate)) in onCreateActions()
|
D | NewStorageActivity.java | 135 StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local 143 final VolumeInfo info = storageManager.findVolumeById(mVolumeId); in onCreate() 144 mDescription = storageManager.getBestVolumeDescription(info); in onCreate() 147 final DiskInfo info = storageManager.findDiskById(mDiskId); in onCreate() 230 final StorageManager storageManager = in checkForUnmount() local 235 final List<DiskInfo> diskInfos = storageManager.getDisks(); in checkForUnmount() 247 final List<VolumeInfo> volumeInfos = storageManager.getVolumes(); in checkForUnmount() 286 StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local 292 final VolumeRecord volumeRecord = storageManager.findRecordByUuid(mFsUuid); in onCreate()
|
D | FormatAsPublicStepFragment.java | 58 final StorageManager storageManager = getActivity().getSystemService(StorageManager.class); in onCreate() local 59 final List<VolumeInfo> volumes = storageManager.getVolumes(); in onCreate()
|
D | UnmountActivity.java | 75 final StorageManager storageManager = getSystemService(StorageManager.class); in onCreate() local 76 final VolumeInfo volumeInfo = storageManager.findVolumeById(mUnmountVolumeId); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageUtils.java | 59 StorageManager storageManager) { in getAllStorageEntries() argument 61 storageEntries.addAll(storageManager.getVolumes().stream() in getAllStorageEntries() 65 storageEntries.addAll(storageManager.getDisks().stream() in getAllStorageEntries() 69 storageEntries.addAll(storageManager.getVolumeRecords().stream() in getAllStorageEntries() 70 .filter(volumeRecord -> isVolumeRecordMissed(storageManager, volumeRecord)) in getAllStorageEntries() 94 public static boolean isVolumeRecordMissed(StorageManager storageManager, in isVolumeRecordMissed() argument 97 && storageManager.findVolumeByUuid(volumeRecord.getFsUuid()) == null; in isVolumeRecordMissed()
|
D | StorageRenameFragment.java | 60 final StorageManager storageManager = context.getSystemService(StorageManager.class); in onCreateDialog() local 63 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog() 77 storageManager.setVolumeNickname(fsUuid, nickname.getText().toString())) in onCreateDialog()
|
D | DiskInitFragment.java | 60 final StorageManager storageManager = context.getSystemService(StorageManager.class); in onCreateDialog() local 63 final DiskInfo disk = storageManager.findDiskById(diskId); in onCreateDialog()
|
/packages/services/Mtp/perf_tests/src/com/android/mtp/ |
D | AppFusePerfTest.java | 44 final StorageManager storageManager = context.getSystemService(StorageManager.class); in testReadWriteFile() local 52 final ParcelFileDescriptor fd = storageManager.openProxyFileDescriptor( in testReadWriteFile() 63 final ParcelFileDescriptor fd = storageManager.openProxyFileDescriptor( in testReadWriteFile()
|
/packages/modules/ExtServices/java/src/android/ext/services/storage/ |
D | CacheQuotaServiceImpl.java | 155 final StorageManager storageManager = getSystemService(StorageManager.class); in getReservedCacheSize() local 158 return storageManager.computeStorageCacheBytes(Environment.getDataDirectory()); in getReservedCacheSize() 164 final List<StorageVolume> storageVolumes = storageManager.getStorageVolumes(); in getReservedCacheSize() 171 return storageManager.computeStorageCacheBytes(directory); in getReservedCacheSize()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/rollback/ |
D | AdServicesExtStorageMeasurementRollbackWorker.java | 42 AdServicesExtDataStorageServiceManager storageManager) { in AdServicesExtStorageMeasurementRollbackWorker() argument 43 mStorageManager = Objects.requireNonNull(storageManager); in AdServicesExtStorageMeasurementRollbackWorker()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | BufferManager.java | 349 public BufferManager(StorageManager storageManager) { in BufferManager() argument 350 this(storageManager, new SampleChunk.SampleChunkCreator()); in BufferManager() 354 StorageManager storageManager, SampleChunk.SampleChunkCreator sampleChunkCreator) { in BufferManager() argument 355 mStorageManager = storageManager; in BufferManager()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | BufferManager.java | 352 public BufferManager(StorageManager storageManager) { in BufferManager() argument 353 this(storageManager, new SampleChunk.SampleChunkCreator()); in BufferManager() 357 StorageManager storageManager, SampleChunk.SampleChunkCreator sampleChunkCreator) { in BufferManager() argument 358 mStorageManager = storageManager; in BufferManager()
|
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/ |
D | SampleSourceExtractorTest.java | 141 StorageManager storageManager = new StubStorageManager(RuntimeEnvironment.application); in testDiskTooSlowTrickplayDisabled() local 144 storageManager, new VerySlowSampleChunk.VerySlowSampleChunkCreator()); in testDiskTooSlowTrickplayDisabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 169 StorageManager storageManager = mock(StorageManager.class, RETURNS_DEEP_STUBS); in initializeVolumeDoesntBreakOnNullVolume() local 170 when(storageManager.findVolumeById(anyString())).thenReturn(info); in initializeVolumeDoesntBreakOnNullVolume() 172 Utils.maybeInitializeVolume(storageManager, new Bundle()); in initializeVolumeDoesntBreakOnNullVolume()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageSummaryFragment.java | 259 private void refresh(Context context, StorageManager storageManager, in refresh() argument 261 final String description = storageManager in refresh()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UserFragment.java | 261 StorageManager storageManager = getContext().getSystemService(StorageManager.class); in lockUserData() local 264 storageManager.lockCeStorage(userToLock); in lockUserData()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 419 DvrStorageManager storageManager = in getDurationForRecording() local 421 List<BufferManager.TrackFormat> trackFormatList = storageManager.readTrackInfoFiles(false); in getDurationForRecording() 423 trackFormatList = storageManager.readTrackInfoFiles(true); in getDurationForRecording() 1408 BufferManager.StorageManager storageManager = in createPlayer() local 1410 mBufferManager = new BufferManager(storageManager); in createPlayer() 1411 updateCaptionTracks(((DvrStorageManager) storageManager).readCaptionInfoFiles()); in createPlayer()
|
D | TunerSessionWorker.java | 419 DvrStorageManager storageManager = in getDurationForRecording() local 421 List<BufferManager.TrackFormat> trackFormatList = storageManager.readTrackInfoFiles(false); in getDurationForRecording() 423 trackFormatList = storageManager.readTrackInfoFiles(true); in getDurationForRecording() 1475 StorageManager storageManager = in createPlayer() local 1477 bufferManager = new BufferManager(storageManager); in createPlayer() 1478 updateCaptionTracks(((DvrStorageManager) storageManager).readCaptionInfoFiles()); in createPlayer()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 156 StorageManager storageManager, in onCreateForTesting() argument 166 mStorageManager = storageManager; in onCreateForTesting()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 930 final StorageManager storageManager = getContext().getSystemService(StorageManager.class); in setupProvider() local 937 storageManager, in setupProvider() local
|