Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DSuffixTableWriter.java17 package com.android.timezone.location.storage.tzs2range.write;
19 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString;
21 import com.android.timezone.location.storage.block.read.BlockData;
22 import com.android.timezone.location.storage.block.write.BlockWriter;
23 import com.android.timezone.location.storage.block.write.EmptyBlockWriter;
24 import com.android.timezone.location.storage.io.write.TypedOutputStream;
25 import com.android.timezone.location.storage.s2.S2Support;
26 import com.android.timezone.location.storage.table.packed.write.PackedTableWriter;
27 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
28 import com.android.timezone.location.storage.tzs2range.SuffixTableSharedData;
[all …]
DTzS2RangeFileWriter.java17 package com.android.timezone.location.storage.tzs2range.write;
19 import com.android.timezone.location.storage.block.write.BlockFileWriter;
20 import com.android.timezone.location.storage.block.write.BlockWriter;
21 import com.android.timezone.location.storage.block.write.EmptyBlockWriter;
22 import com.android.timezone.location.storage.s2.S2Support;
23 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
24 import com.android.timezone.location.storage.tzs2range.SuffixTableSharedData;
25 import com.android.timezone.location.storage.tzs2range.TzS2Range;
26 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
DHeaderBlockWriter.java17 package com.android.timezone.location.storage.tzs2range.write;
19 import com.android.timezone.location.storage.block.read.BlockData;
20 import com.android.timezone.location.storage.block.write.BlockWriter;
21 import com.android.timezone.location.storage.io.write.TypedOutputStream;
22 import com.android.timezone.location.storage.tzs2range.BankedTzIdSets;
23 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageEntryTest.java17 package com.android.settings.deviceinfo.storage;
26 import android.os.storage.DiskInfo;
27 import android.os.storage.StorageManager;
28 import android.os.storage.VolumeInfo;
29 import android.os.storage.VolumeRecord;
133 final StorageEntry storage = new StorageEntry(mContext, volumeInfo); in isVolumeInfo_shouldReturnTrueForVolumeInfo() local
135 assertThat(storage.isVolumeInfo()).isTrue(); in isVolumeInfo_shouldReturnTrueForVolumeInfo()
136 assertThat(storage.isDiskInfoUnsupported()).isFalse(); in isVolumeInfo_shouldReturnTrueForVolumeInfo()
137 assertThat(storage.isVolumeRecordMissed()).isFalse(); in isVolumeInfo_shouldReturnTrueForVolumeInfo()
143 final StorageEntry storage = new StorageEntry(diskInfo); in isDiskInfoUnsupported_shouldReturnTrueForDiskInfo() local
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DUrisSupplier.java64 abstract Iterable<Uri> getUris(ClipStore storage) throws IOException; in getUris() argument
73 public static UrisSupplier create(ClipData clipData, ClipStore storage) throws IOException { in create() argument
77 uris = new JumboUrisSupplier(clipData, storage); in create()
86 Selection<String> selection, Function<String, Uri> uriBuilder, ClipStore storage) in create() argument
94 return create(uris, storage); in create()
103 public static UrisSupplier create(List<Uri> uris, ClipStore storage) throws IOException { in create() argument
105 ? new JumboUrisSupplier(uris, storage) in create()
119 private JumboUrisSupplier(ClipData clipData, ClipStore storage) throws IOException { in JumboUrisSupplier() argument
123 mFile = storage.getFile(tag); in JumboUrisSupplier()
147 Iterable<Uri> getUris(ClipStore storage) throws IOException { in getUris() argument
[all …]
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DSuffixTableBlock.java17 package com.android.timezone.location.storage.tzs2range.read;
19 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString;
20 import static com.android.timezone.location.storage.s2.S2Support.getS2Level;
22 import com.android.timezone.location.storage.block.read.BlockData;
23 import com.android.timezone.location.storage.table.packed.read.IntValueTypedPackedTable;
24 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
25 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
26 import com.android.timezone.location.storage.util.BitwiseUtils;
27 import com.android.timezone.location.storage.util.Visitor;
DTzS2RangeFileReader.java17 package com.android.timezone.location.storage.tzs2range.read;
19 import com.android.timezone.location.storage.block.read.Block;
20 import com.android.timezone.location.storage.block.read.BlockFileReader;
21 import com.android.timezone.location.storage.block.read.BlockInfo;
22 import com.android.timezone.location.storage.s2.S2Support;
23 import com.android.timezone.location.storage.tzs2range.BankedTzIdSets;
24 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
25 import com.android.timezone.location.storage.tzs2range.TzS2Range;
26 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
27 import com.android.timezone.location.storage.util.Conditions;
[all …]
DPopulatedSuffixTableBlock.java1 package com.android.timezone.location.storage.tzs2range.read;
3 import static com.android.timezone.location.storage.s2.S2Support.MAX_FACE_ID;
4 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString;
5 import static com.android.timezone.location.storage.util.Conditions.checkStateInRange;
7 import com.android.timezone.location.storage.table.packed.read.IntValueTypedPackedTable;
8 import com.android.timezone.location.storage.table.reader.IntValueTable;
9 import com.android.timezone.location.storage.tzs2range.SuffixTableRange;
10 import com.android.timezone.location.storage.tzs2range.SuffixTableSharedData;
11 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
DSuffixTableExtraInfo.java17 package com.android.timezone.location.storage.tzs2range.read;
19 import com.android.timezone.location.storage.block.read.BlockInfo;
20 import com.android.timezone.location.storage.io.read.TypedInputStream;
21 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
22 import com.android.timezone.location.storage.util.Conditions;
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardFormatProgress.java19 import static android.os.storage.VolumeInfo.TYPE_PRIVATE;
28 import android.os.storage.StorageManager;
29 import android.os.storage.VolumeInfo;
90 final StorageManager storage = mActivity.mStorage; in doInBackground() local
93 storage.partitionPrivate(activity.mDisk.getId()); in doInBackground()
98 storage.benchmark(privateVol.getId(), new IVoldTaskListener.Stub() { in doInBackground()
116 && Objects.equals(storage.getPrimaryStorageUuid(), in doInBackground()
120 storage.setPrimaryStorageUuid(privateVol.getFsUuid(), new SilentObserver()); in doInBackground()
124 storage.partitionPublic(activity.mDisk.getId()); in doInBackground()
DStorageDashboardFragment.java28 import android.os.storage.DiskInfo;
29 import android.os.storage.StorageEventListener;
30 import android.os.storage.StorageManager;
31 import android.os.storage.VolumeInfo;
32 import android.os.storage.VolumeRecord;
46 import com.android.settings.deviceinfo.storage.AutomaticStorageManagementSwitchPreferenceController;
47 import com.android.settings.deviceinfo.storage.DiskInitFragment;
48 import com.android.settings.deviceinfo.storage.SecondaryUserController;
49 import com.android.settings.deviceinfo.storage.StorageAsyncLoader;
50 import com.android.settings.deviceinfo.storage.StorageEntry;
[all …]
DPrivateVolumeUnmount.java21 import android.os.storage.DiskInfo;
22 import android.os.storage.StorageManager;
23 import android.os.storage.VolumeInfo;
34 import com.android.settings.deviceinfo.storage.StorageUtils.UnmountTask;
56 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
59 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DPrivateVolumeFormat.java19 import static android.os.storage.DiskInfo.EXTRA_DISK_ID;
27 import android.os.storage.DiskInfo;
28 import android.os.storage.StorageManager;
29 import android.os.storage.VolumeInfo;
53 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
56 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DPrivateVolumeForget.java24 import android.os.storage.StorageManager;
25 import android.os.storage.VolumeRecord;
64 final StorageManager storage = getActivity().getSystemService(StorageManager.class); in onCreateView() local
71 mRecord = storage.findRecordByUuid(fsUuid); in onCreateView()
116 final StorageManager storage = context.getSystemService(StorageManager.class); in onCreateDialog() local
119 final VolumeRecord record = storage.findRecordByUuid(fsUuid); in onCreateDialog()
131 storage.forgetVolume(fsUuid); in onCreateDialog()
DStorageUnmountReceiver.java22 import android.os.storage.StorageManager;
23 import android.os.storage.VolumeInfo;
26 import com.android.settings.deviceinfo.storage.StorageUtils.UnmountTask;
33 final StorageManager storage = context.getSystemService(StorageManager.class); in onReceive() local
36 final VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
DVolumeOptionMenuController.java26 import android.os.storage.DiskInfo;
27 import android.os.storage.StorageManager;
28 import android.os.storage.VolumeInfo;
38 import com.android.settings.deviceinfo.storage.StorageEntry;
39 import com.android.settings.deviceinfo.storage.StorageRenameFragment;
40 import com.android.settings.deviceinfo.storage.StorageUtils;
41 import com.android.settings.deviceinfo.storage.StorageUtils.MountTask;
42 import com.android.settings.deviceinfo.storage.StorageUtils.UnmountTask;
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectStorageFragment.java23 import android.os.storage.DiskInfo;
24 import android.os.storage.StorageEventListener;
25 import android.os.storage.StorageManager;
26 import android.os.storage.VolumeInfo;
27 import android.os.storage.VolumeRecord;
37 import com.android.settings.deviceinfo.storage.AutomaticStorageManagementSwitchPreferenceController;
38 import com.android.settings.deviceinfo.storage.DiskInitFragment;
39 import com.android.settings.deviceinfo.storage.StorageEntry;
40 import com.android.settings.deviceinfo.storage.StorageSelectionPreferenceController;
41 import com.android.settings.deviceinfo.storage.StorageUsageProgressBarPreferenceController;
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/write/
DBankedTzIdSetsPackerTest.java17 package com.android.timezone.location.storage.tzs2range.write;
19 import static com.android.timezone.location.storage.s2.S2Support.cellId;
20 import static com.android.timezone.location.storage.testing.MoreAsserts.assertThrows;
21 import static com.android.timezone.location.storage.testing.TestSupport.listOf;
22 import static com.android.timezone.location.storage.testing.TestSupport.setOf;
26 import com.android.timezone.location.storage.tzs2range.BankedTzIdSets;
27 import com.android.timezone.location.storage.tzs2range.TzS2Range;
/packages/modules/GeoTZ/s2storage/tools/src/java/com/android/timezone/location/tools/dump/
DTzS2RangeFileDumper.java24 import com.android.timezone.location.storage.tzs2range.TzS2RangeFileFormat;
25 import com.android.timezone.location.storage.tzs2range.read.HeaderBlock;
26 import com.android.timezone.location.storage.tzs2range.read.SuffixTableBlock;
27 import com.android.timezone.location.storage.tzs2range.read.SuffixTableExtraInfo;
28 import com.android.timezone.location.storage.tzs2range.read.TzS2RangeFileReader;
29 import com.android.timezone.location.storage.util.Visitor;
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/
DBlockFileTest.java17 package com.android.timezone.location.storage.block;
19 import static com.android.timezone.location.storage.testing.MoreAsserts.assertThrows;
25 import com.android.timezone.location.storage.block.read.Block;
26 import com.android.timezone.location.storage.block.read.BlockData;
27 import com.android.timezone.location.storage.block.read.BlockFileReader;
28 import com.android.timezone.location.storage.block.read.BlockInfo;
29 import com.android.timezone.location.storage.block.read.BlockMatcher;
30 import com.android.timezone.location.storage.block.write.BlockFileWriter;
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageUnmountReceiver.java17 package com.android.car.settings.storage;
22 import android.os.storage.StorageManager;
23 import android.os.storage.VolumeInfo;
37 StorageManager storage = context.getSystemService(StorageManager.class); in onReceive() local
40 VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/tzs2range/
DHeaderBlockTest.java17 package com.android.timezone.location.storage.tzs2range;
19 import static com.android.timezone.location.storage.testing.TestSupport.listOf;
24 import com.android.timezone.location.storage.block.write.BlockWriter;
25 import com.android.timezone.location.storage.tzs2range.read.HeaderBlock;
26 import com.android.timezone.location.storage.tzs2range.write.BankedTzIdSetsPacker;
27 import com.android.timezone.location.storage.tzs2range.write.HeaderBlockWriter;
DTzS2RangeFileTest.java17 package com.android.timezone.location.storage.tzs2range;
19 import static com.android.timezone.location.storage.s2.S2Support.FACE_BIT_COUNT;
20 import static com.android.timezone.location.storage.testing.TestSupport.listOf;
24 import com.android.timezone.location.storage.tzs2range.read.TzS2RangeFileReader;
25 import com.android.timezone.location.storage.tzs2range.write.TzS2RangeFileWriter;
26 import com.android.timezone.location.storage.util.BitwiseUtils;
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/
DTzS2Range.java17 package com.android.timezone.location.storage.tzs2range;
19 import static com.android.timezone.location.storage.s2.S2Support.cellIdToString;
21 import com.android.timezone.location.storage.s2.S2CellOrdering;
22 import com.android.timezone.location.storage.s2.S2LevelRange;
23 import com.android.timezone.location.storage.s2.S2Support;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java28 import android.os.storage.DiskInfo;
29 import android.os.storage.StorageManager;
30 import android.os.storage.VolumeInfo;
31 import android.os.storage.VolumeRecord;
41 import com.android.tv.settings.device.storage.MissingStorageFragment;
42 import com.android.tv.settings.device.storage.NewStorageActivity;
43 import com.android.tv.settings.device.storage.StorageFragment;
44 import com.android.tv.settings.device.storage.StoragePreference;
316 private class StorageEventListener extends android.os.storage.StorageEventListener {

12345678910>>...16