HomeSort by relevance Sort by last modified time
    Searched refs:mStorageManager (Results 1 - 25 of 26) sorted by null

1 2

  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
MissingStorageFragment.java 37 private StorageManager mStorageManager;
46 mStorageManager = getContext().getSystemService(StorageManager.class);
47 mStorageManager.registerListener(new StorageEventListener());
54 if (mStorageManager.findRecordByUuid(mFsUuid) == null) {
66 final VolumeRecord record = mStorageManager.findRecordByUuid(mFsUuid);
85 if (mStorageManager.findRecordByUuid(fsUuid) == null) {
FormatActivity.java 68 private StorageManager mStorageManager;
89 mStorageManager = getSystemService(StorageManager.class);
138 final List<VolumeInfo> vols = mStorageManager.getVolumes();
233 final List<VolumeInfo> volumes = mStorageManager.getVolumes();
238 mFormatDiskDesc = mStorageManager.getBestVolumeDescription(volume);
242 final DiskInfo info = mStorageManager.findDiskById(diskId);
277 final VolumeInfo info = mStorageManager.findVolumeById(volumeId);
279 mFormatDiskDesc = mStorageManager.getBestVolumeDescription(info);
283 final DiskInfo info = mStorageManager.findDiskById(diskId);
StorageFragment.java 52 private StorageManager mStorageManager;
79 mStorageManager = getContext().getSystemService(StorageManager.class);
82 mVolumeInfo = mStorageManager.findVolumeById(
91 mStorageManager.registerListener(mStorageEventListener);
98 mVolumeInfo = mStorageManager.findVolumeById(
110 mStorageManager.unregisterListener(mStorageEventListener);
119 screen.setTitle(mStorageManager.getBestVolumeDescription(mVolumeInfo));
155 final String description = mStorageManager.getBestVolumeDescription(mVolumeInfo);
186 final VolumeInfo sharedVolume = mStorageManager.findEmulatedForPrivate(mVolumeInfo);
MoveAppStepFragment.java 46 private StorageManager mStorageManager;
70 mStorageManager = getActivity().getSystemService(StorageManager.class);
118 .title(mStorageManager.getBestVolumeDescription(candidate))
BackupAppsStepFragment.java 53 private StorageManager mStorageManager;
75 mStorageManager = getActivity().getSystemService(StorageManager.class);
78 final VolumeInfo info = mStorageManager.findVolumeById(mVolumeId);
118 final VolumeInfo volumeInfo = mStorageManager.findVolumeById(mVolumeId);
119 final String volumeDesc = mStorageManager.getBestVolumeDescription(volumeInfo);
NewStorageActivity.java 359 private StorageManager mStorageManager;
378 mStorageManager = context.getSystemService(StorageManager.class);
403 final DiskInfo diskInfo = mStorageManager.findDiskById(diskId);
425 final List<VolumeInfo> volumeInfos = mStorageManager.getVolumes();
441 final VolumeRecord record = mStorageManager.findRecordByUuid(uuid);
464 volumeRecord = mStorageManager.findRecordByUuid(fsUuid);
482 final List<DiskInfo> diskInfos = mStorageManager.getDisks();
501 final List<VolumeInfo> volumeInfos = mStorageManager.getVolumes();
508 final VolumeRecord record = mStorageManager.findRecordByUuid(uuid);
  /cts/tests/tests/os/src/android/os/storage/cts/
StorageManagerTest.java 56 private StorageManager mStorageManager;
61 mStorageManager = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE);
102 mStorageManager.isObbMounted(outFile.getPath()));
105 mStorageManager.getMountedObbPath(outFile.getPath()));
121 mStorageManager.isObbMounted(outFile.getPath()));
124 mStorageManager.getMountedObbPath(outFile.getPath()));
166 final StorageVolume volume = mStorageManager.getPrimaryStorageVolume();
213 final List<StorageVolume> volumes = mStorageManager.getStorageVolumes();
223 assertStorageVolumesEquals(primary, mStorageManager.getPrimaryVolume());
227 assertNull("Should not get volume for null path", mStorageManager.getStorageVolume(null))
    [all...]
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
CacheManager.java 66 private final StorageManager mStorageManager;
290 mStorageManager = storageManager;
307 mStorageManager.clearStorage();
335 File file = new File(mStorageManager.getCacheDir(), getFileName(id, positionUs));
350 ArrayList<Long> keyPositions = mStorageManager.readIndexFile(trackId);
361 mStorageManager.getCacheDir(), getFileName(trackId, positionUs), positionUs,
391 while (mStorageManager.reachedStorageMax(mCacheSize, pendingDelete)
392 || !mStorageManager.hasEnoughBuffer(pendingDelete)) {
393 if (mStorageManager.isPersistent()) {
444 trackInfos.add(mStorageManager.readTrackInfoFile(false))
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
AppStoragePreference.java 33 private final StorageManager mStorageManager;
38 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE);
55 final String volumeDesc = mStorageManager.getBestVolumeDescription(volumeInfo);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
PublicVolumeSettings.java 58 private StorageManager mStorageManager;
92 mStorageManager = context.getSystemService(StorageManager.class);
98 mVolume = mStorageManager.findVolumeByUuid(fsUuid);
101 mVolume = mStorageManager.findVolumeById(volId);
109 mDisk = mStorageManager.findDiskById(mVolume.getDiskId());
149 getActivity().setTitle(mStorageManager.getBestVolumeDescription(mVolume));
200 mVolume = mStorageManager.findVolumeById(mVolumeId);
206 mStorageManager.registerListener(mStorageListener);
213 mStorageManager.unregisterListener(mStorageListener);
255 mVolume = mStorageManager.findVolumeById(mVolumeId)
    [all...]
StorageVolumePreference.java 43 private final StorageManager mStorageManager;
53 mStorageManager = context.getSystemService(StorageManager.class);
60 setTitle(mStorageManager.getBestVolumeDescription(volume));
85 if (freeBytes < mStorageManager.getStorageLowBytes(path)) {
StorageSettings.java 85 private StorageManager mStorageManager;
109 mStorageManager = context.getSystemService(StorageManager.class);
110 mStorageManager.registerListener(mStorageListener);
113 sTotalInternalStorage = mStorageManager.getPrimaryStorageSize();
163 final List<VolumeInfo> volumes = mStorageManager.getVolumes();
187 final List<VolumeRecord> recs = mStorageManager.getVolumeRecords();
190 && mStorageManager.findVolumeByUuid(rec.getFsUuid()) == null) {
206 final List<DiskInfo> disks = mStorageManager.getDisks();
248 mStorageManager.registerListener(mStorageListener);
255 mStorageManager.unregisterListener(mStorageListener)
    [all...]
PrivateVolumeSettings.java 114 private StorageManager mStorageManager;
159 mStorageManager = context.getSystemService(StorageManager.class);
162 mVolume = mStorageManager.findVolumeById(mVolumeId);
173 mSharedVolume = mStorageManager.findEmulatedForPrivate(mVolume);
198 getActivity().setTitle(mStorageManager.getBestVolumeDescription(mVolume));
348 mVolume = mStorageManager.findVolumeById(mVolumeId);
354 mStorageManager.registerListener(mStorageListener);
366 mStorageManager.unregisterListener(mStorageListener);
504 OtherInfoFragment.show(this, mStorageManager.getBestVolumeDescription(mVolume),
636 mVolume = mStorageManager.findVolumeById(mVolumeId)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
StorageResetFragment.java 53 private StorageManager mStorageManager;
69 mStorageManager = getContext().getSystemService(StorageManager.class);
82 mStorageManager.registerListener(mStorageEventListener);
102 mStorageManager.unregisterListener(mStorageEventListener);
111 final List<VolumeInfo> volumes = mStorageManager.getVolumes();
129 final List<VolumeRecord> volumeRecords = mStorageManager.getVolumeRecords();
134 && mStorageManager.findVolumeByUuid(record.getFsUuid()) == null) {
140 final List<DiskInfo> disks = mStorageManager.getDisks();
161 volPreference.refresh(themedContext, mStorageManager, volumeInfo);
199 volPreference.refresh(themedContext, mStorageManager, volumeInfo)
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 53 String state = mStorageManager.getVolumeState(path);
84 private StorageManager mStorageManager;
95 mStorageManager = StorageManager.from(this);
98 mStorageManager.registerListener(mStorageEventListener);
99 StorageVolume[] volumes = mStorageManager.getVolumeList();
103 String state = mStorageManager.getVolumeState(path);
176 mStorageManager.unregisterListener(mStorageEventListener);
MediaProvider.java 136 mExternalStoragePaths = mStorageManager.getVolumePaths();
151 private StorageManager mStorageManager;
552 final StorageVolume vol = mStorageManager.getPrimaryVolume();
589 mStorageManager = context.getSystemService(StorageManager.class);
    [all...]
  /developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 61 private StorageManager mStorageManager;
82 mStorageManager = mActivity.getSystemService(StorageManager.class);
120 StorageVolume storageVolume = mStorageManager.getPrimaryStorageVolume();
127 List<StorageVolume> storageVolumes = mStorageManager.getStorageVolumes();
  /developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 61 private StorageManager mStorageManager;
82 mStorageManager = mActivity.getSystemService(StorageManager.class);
120 StorageVolume storageVolume = mStorageManager.getPrimaryStorageVolume();
127 List<StorageVolume> storageVolumes = mStorageManager.getStorageVolumes();
  /development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 61 private StorageManager mStorageManager;
82 mStorageManager = mActivity.getSystemService(StorageManager.class);
120 StorageVolume storageVolume = mStorageManager.getPrimaryStorageVolume();
127 List<StorageVolume> storageVolumes = mStorageManager.getStorageVolumes();
  /frameworks/base/native/android/
storage_manager.cpp 37 sp<AStorageManager> mStorageManager;
41 mStorageManager(mgr)
167 mStorageManager->fireCallback(String8(filename).string(), nonce, state);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 62 private StorageManager mStorageManager;
85 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.getFsUuid());
113 mStorageManager.setVolumeSnoozed(fsUuid, true);
160 mStorageManager = mContext.getSystemService(StorageManager.class);
161 mStorageManager.registerListener(mListener);
169 final List<DiskInfo> disks = mStorageManager.getDisks();
174 final List<VolumeInfo> vols = mStorageManager.getVolumes();
185 final List<VolumeRecord> recs = mStorageManager.getVolumeRecords();
190 final VolumeInfo info = mStorageManager.findVolumeByUuid(fsUuid);
337 final VolumeRecord rec = mStorageManager.findRecordByUuid(vol.getFsUuid())
    [all...]
  /frameworks/base/core/java/android/app/backup/
FullBackup.java 228 final StorageManager mStorageManager;
294 if (mStorageManager != null) {
296 mVolumes = mStorageManager.getVolumeList();
317 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE);
  /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
ExternalStorageProvider.java 100 private StorageManager mStorageManager;
114 mStorageManager = (StorageManager) getContext().getSystemService(Context.STORAGE_SERVICE);
133 final List<VolumeInfo> volumes = mStorageManager.getVolumes();
161 final VolumeInfo privateVol = mStorageManager.findPrivateForEmulated(volume);
162 title = mStorageManager.getBestVolumeDescription(privateVol);
166 title = mStorageManager.getBestVolumeDescription(volume);
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 

Completed in 345 milliseconds

1 2