OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:volumeInfo
(Results
1 - 13
of
13
) sorted by null
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
StorageResetFragment.java
24
import android.os.storage.
VolumeInfo
;
111
final List<
VolumeInfo
> volumes = mStorageManager.getVolumes();
112
Collections.sort(volumes,
VolumeInfo
.getDescriptionComparator());
114
final List<
VolumeInfo
> privateVolumes = new ArrayList<>(volumes.size());
115
final List<
VolumeInfo
> publicVolumes = new ArrayList<>(volumes.size());
118
for (final
VolumeInfo
vol : volumes) {
119
if (vol.getType() ==
VolumeInfo
.TYPE_PRIVATE) {
121
} else if (vol.getType() ==
VolumeInfo
.TYPE_PUBLIC) {
133
if (record.getType() ==
VolumeInfo
.TYPE_PRIVATE
154
for (final
VolumeInfo
volumeInfo : privateVolumes)
[
all
...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
AppStoragePreference.java
23
import android.os.storage.
VolumeInfo
;
44
final
VolumeInfo
volumeInfo
= mPackageManager.getPackageCurrentVolume(applicationInfo);
45
final List<
VolumeInfo
> candidates =
48
(candidates.size() == 1 && !candidates.contains(
volumeInfo
))) {
55
final String volumeDesc = mStorageManager.getBestVolumeDescription(
volumeInfo
);
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
StorageSettingsTest.java
23
import android.os.storage.
VolumeInfo
;
59
private List<
VolumeInfo
> mVolumes;
67
mVolumes.add(mock(
VolumeInfo
.class, RETURNS_DEEP_STUBS));
77
final
VolumeInfo
volumeInfo
= mVolumes.get(0);
78
when(
volumeInfo
.isMountedReadable()).thenReturn(true);
79
when(
volumeInfo
.getType()).thenReturn(
VolumeInfo
.TYPE_PRIVATE);
81
any(StorageStatsManager.class), any(
VolumeInfo
.class)))
84
any(StorageStatsManager.class), any(
VolumeInfo
.class))
[
all
...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
PrivateVolumeOptionMenuController.java
21
import android.os.storage.
VolumeInfo
;
44
private
VolumeInfo
mVolumeInfo;
48
Context context,
VolumeInfo
volumeInfo
, PackageManagerWrapper packageManager) {
50
mVolumeInfo =
volumeInfo
;
66
final
VolumeInfo
privateVol = mPm.getPrimaryStorageCurrentVolume();
70
&& (privateVol.getType() ==
VolumeInfo
.TYPE_PRIVATE)
79
intent.putExtra(
VolumeInfo
.EXTRA_VOLUME_ID, mVolumeInfo.getId());
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
UnmountActivity.java
28
import android.os.storage.
VolumeInfo
;
58
i.putExtra(
VolumeInfo
.EXTRA_VOLUME_ID, volumeId);
67
mUnmountVolumeId = getIntent().getStringExtra(
VolumeInfo
.EXTRA_VOLUME_ID);
75
final
VolumeInfo
volumeInfo
= storageManager.findVolumeById(mUnmountVolumeId);
77
if (
volumeInfo
== null) {
83
if (
volumeInfo
.getType() ==
VolumeInfo
.TYPE_PRIVATE) {
119
final
VolumeInfo
volumeInfo
[
all
...]
MigrateStorageActivity.java
26
import android.os.storage.
VolumeInfo
;
53
private
VolumeInfo
mTargetVolumeInfo;
54
private
VolumeInfo
mVolumeInfo;
78
i.putExtra(
VolumeInfo
.EXTRA_VOLUME_ID, volumeId);
88
final String volumeId = intent.getStringExtra(
VolumeInfo
.EXTRA_VOLUME_ID);
139
private void onChoose(
VolumeInfo
volumeInfo
) {
140
mTargetVolumeInfo =
volumeInfo
;
239
private List<
VolumeInfo
> mCandidateVolumes;
241
public static ChooseStorageStepFragment newInstance(
VolumeInfo
currentVolumeInfo)
[
all
...]
SettingsStorageService.java
25
import android.os.storage.
VolumeInfo
;
65
intent.putExtra(
VolumeInfo
.EXTRA_VOLUME_ID, volumeId);
102
final String volumeId = intent.getStringExtra(
VolumeInfo
.EXTRA_VOLUME_ID);
116
final List<
VolumeInfo
> volumes = storageManager.getVolumes();
117
for (final
VolumeInfo
volume : volumes) {
119
volume.getType() ==
VolumeInfo
.TYPE_PRIVATE) {
145
final
VolumeInfo
privateVol = findVolume(storageManager, diskId);
167
private
VolumeInfo
findVolume(StorageManager storageManager, String diskId) {
168
final List<
VolumeInfo
> vols = storageManager.getVolumes();
169
for (final
VolumeInfo
vol : vols)
[
all
...]
BackupAppsStepFragment.java
25
import android.os.storage.
VolumeInfo
;
66
b.putString(
VolumeInfo
.EXTRA_VOLUME_ID, volumeId);
77
mVolumeId = getArguments().getString(
VolumeInfo
.EXTRA_VOLUME_ID);
78
final
VolumeInfo
info = mStorageManager.findVolumeById(mVolumeId);
118
final
VolumeInfo
volumeInfo
= mStorageManager.findVolumeById(mVolumeId);
119
final String volumeDesc = mStorageManager.getBestVolumeDescription(
volumeInfo
);
122
if (TextUtils.equals(primaryStorageVolumeId,
volumeInfo
.getId())) {
149
final
VolumeInfo
currentExternal = mPackageManager.getPrimaryStorageCurrentVolume();
154
final List<
VolumeInfo
> candidates
[
all
...]
FormatActivity.java
29
import android.os.storage.
VolumeInfo
;
122
final
VolumeInfo
volumeInfo
= findVolume(mFormatAsPrivateDiskId);
123
if (
volumeInfo
!= null &&
volumeInfo
.getType() ==
VolumeInfo
.TYPE_PRIVATE) {
137
private
VolumeInfo
findVolume(String diskId) {
138
final List<
VolumeInfo
> vols = mStorageManager.getVolumes();
139
for (final
VolumeInfo
vol : vols) {
141
&& (vol.getType() ==
VolumeInfo
.TYPE_PRIVATE))
[
all
...]
NewStorageActivity.java
28
import android.os.storage.
VolumeInfo
;
55
i.putExtra(
VolumeInfo
.EXTRA_VOLUME_ID, volumeId);
86
final String volumeId = getIntent().getStringExtra(
VolumeInfo
.EXTRA_VOLUME_ID);
118
public void onVolumeStateChanged(
VolumeInfo
vol, int oldState, int newState) {
125
b.putString(
VolumeInfo
.EXTRA_VOLUME_ID, volumeId);
135
mVolumeId = getArguments().getString(
VolumeInfo
.EXTRA_VOLUME_ID);
142
final
VolumeInfo
info = storageManager.findVolumeById(mVolumeId);
246
final List<
VolumeInfo
> volumeInfos = storageManager.getVolumes();
248
for (
VolumeInfo
volumeInfo
: volumeInfos)
[
all
...]
StorageFragment.java
24
import android.os.storage.
VolumeInfo
;
55
private
VolumeInfo
mVolumeInfo;
73
public static void prepareArgs(Bundle bundle,
VolumeInfo
volumeInfo
) {
74
bundle.putString(
VolumeInfo
.EXTRA_VOLUME_ID,
volumeInfo
.getId());
83
getArguments().getString(
VolumeInfo
.EXTRA_VOLUME_ID));
99
getArguments().getString(
VolumeInfo
.EXTRA_VOLUME_ID));
136
final
VolumeInfo
currentExternal = mPackageManager.getPrimaryStorageCurrentVolume();
141
final List<
VolumeInfo
> candidates
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DiskStatsLoggingServiceTest.java
42
import android.os.storage.
VolumeInfo
;
194
VolumeInfo
volumeInfo
=
195
new
VolumeInfo
(
VolumeInfo
.ID_PRIVATE_INTERNAL,
VolumeInfo
.TYPE_PRIVATE, null, null);
196
when(pm.getPrimaryStorageCurrentVolume()).thenReturn(
volumeInfo
);
/prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-storagegateway/1.11.18/
aws-java-sdk-storagegateway-1.11.18.jar
Completed in 3767 milliseconds