/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CryptKeeperConfirm.java | 88 IStorageManager storageManager = IStorageManager.Stub.asInterface(service); in onCreate() 95 storageManager.encryptStorage(args.getInt("type", -1), in onCreate() 150 IStorageManager storageManager = IStorageManager.Stub.asInterface(service); 151 storageManager.setField("SystemLocale", Locale.getDefault().toLanguageTag());
|
/packages/apps/Settings/src/com/android/settings/ |
D | CryptKeeperConfirm.java | 88 IStorageManager storageManager = IStorageManager.Stub.asInterface(service); in onCreate() 95 storageManager.encryptStorage(args.getInt("type", -1), in onCreate() 150 IStorageManager storageManager = IStorageManager.Stub.asInterface(service); 151 storageManager.setField("SystemLocale", Locale.getDefault().toLanguageTag());
|
/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/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/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 141 StorageManager storageManager = mock(StorageManager.class, RETURNS_DEEP_STUBS); in initializeVolumeDoesntBreakOnNullVolume() local 142 when(storageManager.findVolumeById(anyString())).thenReturn(info); in initializeVolumeDoesntBreakOnNullVolume() 144 Utils.maybeInitializeVolume(storageManager, new Bundle()); in initializeVolumeDoesntBreakOnNullVolume()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/ |
D | StorageSlice.java | 94 final StorageManager storageManager = mContext.getSystemService(StorageManager.class); in getPrivateStorageInfo() local 95 final StorageManagerVolumeProvider smvp = new StorageManagerVolumeProvider(storageManager); in getPrivateStorageInfo()
|
/packages/modules/ExtServices/src/android/ext/services/storage/ |
D | CacheQuotaServiceImpl.java | 122 StorageManager storageManager = getSystemService(StorageManager.class); in getReservedCacheSize() local 127 final VolumeInfo vol = storageManager.findVolumeByUuid(uuid); in getReservedCacheSize()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/ |
D | StorageSlice.java | 94 final StorageManager storageManager = mContext.getSystemService(StorageManager.class); in getPrivateStorageInfo() local 95 final StorageManagerVolumeProvider smvp = new StorageManagerVolumeProvider(storageManager); in getPrivateStorageInfo()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PrivateVolumeSettings.java | 716 final StorageManager storageManager = context.getSystemService(StorageManager.class); in onCreateDialog() local 719 final VolumeInfo vol = storageManager.findVolumeByUuid(fsUuid); in onCreateDialog() 720 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog() 737 storageManager.setVolumeNickname(fsUuid, in onCreateDialog()
|
/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/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageSummaryFragment.java | 240 private void refresh(Context context, StorageManager storageManager, in refresh() argument 242 final String description = storageManager in refresh()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 691 final StorageManager storageManager = context.getSystemService(StorageManager.class); in onCreateDialog() local 694 final VolumeInfo vol = storageManager.findVolumeByUuid(fsUuid); in onCreateDialog() 695 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog() 712 storageManager.setVolumeNickname(fsUuid, in onCreateDialog()
|