Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetFragment.java154 for (final VolumeInfo volumeInfo : privateVolumes) { in refresh()
155 final String key = VolPreference.makeKey(volumeInfo); in refresh()
159 volPreference = new VolPreference(themedContext, volumeInfo); in refresh()
161 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh()
192 for (final VolumeInfo volumeInfo : publicVolumes) { in refresh()
193 final String key = VolPreference.makeKey(volumeInfo); in refresh()
197 volPreference = new VolPreference(themedContext, volumeInfo); in refresh()
199 volPreference.refresh(themedContext, mStorageManager, volumeInfo); in refresh()
225 public VolPreference(Context context, VolumeInfo volumeInfo) { in VolPreference() argument
227 setKey(makeKey(volumeInfo)); in VolPreference()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DUnmountActivity.java75 final VolumeInfo volumeInfo = storageManager.findVolumeById(mUnmountVolumeId); in onCreate() local
77 if (volumeInfo == null) { in onCreate()
83 if (volumeInfo.getType() == VolumeInfo.TYPE_PRIVATE) { in onCreate()
119 final VolumeInfo volumeInfo = in onResume() local
122 if (volumeInfo == null) { in onResume()
DMigrateStorageActivity.java139 private void onChoose(VolumeInfo volumeInfo) { in onChoose() argument
140 mTargetVolumeInfo = volumeInfo; in onChoose()
286 final VolumeInfo volumeInfo = mCandidateVolumes.get((int) action.getId()); in onGuidedActionClicked() local
287 ((MigrateStorageActivity)getActivity()).onChoose(volumeInfo); in onGuidedActionClicked()
DSettingsStorageService.java183 final VolumeInfo volumeInfo = storageManager.findVolumeById(volumeId); in unmount() local
184 if (volumeInfo != null && volumeInfo.isMountedReadable()) { in unmount()
DBackupAppsStepFragment.java118 final VolumeInfo volumeInfo = mStorageManager.findVolumeById(mVolumeId); in onCreateGuidance() local
119 final String volumeDesc = mStorageManager.getBestVolumeDescription(volumeInfo); in onCreateGuidance()
122 if (TextUtils.equals(primaryStorageVolumeId, volumeInfo.getId())) { in onCreateGuidance()
DFormatActivity.java122 final VolumeInfo volumeInfo = findVolume(mFormatAsPrivateDiskId); in onResume() local
123 if (volumeInfo != null && volumeInfo.getType() == VolumeInfo.TYPE_PRIVATE) { in onResume()
DStorageFragment.java73 public static void prepareArgs(Bundle bundle, VolumeInfo volumeInfo) { in prepareArgs() argument
74 bundle.putString(VolumeInfo.EXTRA_VOLUME_ID, volumeInfo.getId()); in prepareArgs()
DNewStorageActivity.java248 for (VolumeInfo volumeInfo : volumeInfos) { in checkForUnmount()
249 if (TextUtils.equals(volumeInfo.getId(), mVolumeId)) { in checkForUnmount()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppStoragePreference.java44 final VolumeInfo volumeInfo = mPackageManager.getPackageCurrentVolume(applicationInfo); in refresh() local
48 (candidates.size() == 1 && !candidates.contains(volumeInfo))) { in refresh()
55 final String volumeDesc = mStorageManager.getBestVolumeDescription(volumeInfo); in refresh()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DStorageSettingsTest.java77 final VolumeInfo volumeInfo = mVolumes.get(0); in updateSummary_shouldDisplayUsedPercentAndFreeSpace() local
78 when(volumeInfo.isMountedReadable()).thenReturn(true); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
79 when(volumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeOptionMenuController.java48 Context context, VolumeInfo volumeInfo, PackageManagerWrapper packageManager) { in PrivateVolumeOptionMenuController() argument
50 mVolumeInfo = volumeInfo; in PrivateVolumeOptionMenuController()