/frameworks/base/core/java/android/os/storage/ |
DiskInfo.aidl | 19 parcelable DiskInfo;
|
StorageEventListener.java | 50 public void onDiskScanned(DiskInfo disk, int volumeCount) { 53 public void onDiskDestroyed(DiskInfo disk) {
|
DiskInfo.java | 38 public class DiskInfo implements Parcelable { 59 public DiskInfo(String id, int flags) { 64 public DiskInfo(Parcel parcel) { 139 pw.println("DiskInfo{" + id + "}:"); 151 public DiskInfo clone() { 164 if (o instanceof DiskInfo) { 165 return Objects.equals(id, ((DiskInfo) o).id); 176 public static final Creator<DiskInfo> CREATOR = new Creator<DiskInfo>() { 178 public DiskInfo createFromParcel(Parcel in) [all...] |
IMountServiceListener.java | 110 final DiskInfo disk = (DiskInfo) data.readParcelable(null); 118 final DiskInfo disk = (DiskInfo) data.readParcelable(null); 241 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException { 258 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { 306 public void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException; 308 public void onDiskDestroyed(DiskInfo disk) throws RemoteException;
|
StorageManager.java | 193 mCallback.onDiskScanned((DiskInfo) args.arg1, args.argi2); 197 mCallback.onDiskDestroyed((DiskInfo) args.arg1); 243 public void onDiskScanned(DiskInfo disk, int volumeCount) { 251 public void onDiskDestroyed(DiskInfo disk) throws RemoteException { 551 public @NonNull List<DiskInfo> getDisks() { 560 public @Nullable DiskInfo findDiskById(String id) { 563 for (DiskInfo disk : getDisks()) { 772 final List<DiskInfo> disks = getDisks(); 773 for (DiskInfo disk : disks) { [all...] |
VolumeInfo.java | 47 * partition on a physical {@link DiskInfo}, an emulated volume above some other 151 public final DiskInfo disk; 162 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { 173 disk = DiskInfo.CREATOR.createFromParcel(parcel); 213 public @Nullable DiskInfo getDisk() {
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PrivateVolumeFormat.java | 21 import android.os.storage.DiskInfo; 38 private DiskInfo mDisk; 68 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
StorageWizardMigrate.java | 21 import android.os.storage.DiskInfo; 85 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); 90 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
StorageWizardInit.java | 23 import android.os.storage.DiskInfo; 106 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); 112 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); 119 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
StorageWizardFormatConfirm.java | 21 import android.os.storage.DiskInfo; 61 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
StorageWizardMigrateConfirm.java | 22 import android.os.storage.DiskInfo; 88 intent.putExtra(DiskInfo.EXTRA_DISK_ID, 89 getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID));
|
PrivateVolumeUnmount.java | 20 import android.os.storage.DiskInfo; 38 private DiskInfo mDisk;
|
StorageWizardMigrateProgress.java | 25 import android.os.storage.DiskInfo; 81 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
StorageWizardBase.java | 23 import android.os.storage.DiskInfo; 48 protected DiskInfo mDisk; 64 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); 216 public void onDiskDestroyed(DiskInfo disk) {
|
PublicVolumeSettings.java | 26 import android.os.storage.DiskInfo; 62 private DiskInfo mDisk; 223 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); 228 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
StorageWizardFormatProgress.java | 28 import android.os.storage.DiskInfo; 203 // TODO: move this directly to DiskInfo 233 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); 237 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
StorageSettings.java | 33 import android.os.storage.DiskInfo; 135 public void onDiskDestroyed(DiskInfo disk) { 206 final List<DiskInfo> disks = mStorageManager.getDisks(); 207 for (DiskInfo disk : disks) { 437 args.putString(DiskInfo.EXTRA_DISK_ID, diskId); 451 final String diskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); 452 final DiskInfo disk = sm.findDiskById(diskId); 462 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
FormatAsPrivateStepFragment.java | 20 import android.os.storage.DiskInfo; 43 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); 81 callback.onRequestFormatAsPrivate(getArguments().getString(DiskInfo.EXTRA_DISK_ID));
|
SettingsStorageService.java | 23 import android.os.storage.DiskInfo; 51 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); 58 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); 84 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); 93 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); 128 .putExtra(DiskInfo.EXTRA_DISK_ID, diskId) 134 .putExtra(DiskInfo.EXTRA_DISK_ID, diskId) 154 .putExtra(DiskInfo.EXTRA_DISK_ID, diskId) 162 .putExtra(DiskInfo.EXTRA_DISK_ID, diskId)
|
NewStorageActivity.java | 29 import android.os.storage.DiskInfo; 63 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); 83 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); 119 public void onDiskDestroyed(DiskInfo disk) { 132 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); 142 mDiskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); 151 final DiskInfo info = storageManager.findDiskById(mDiskId); 239 final List<DiskInfo> diskInfos = storageManager.getDisks(); 241 for (DiskInfo diskInfo : diskInfos) [all...] |
FormatActivity.java | 27 import android.os.storage.DiskInfo; 73 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); 80 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); 102 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); 180 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); 206 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); 242 final DiskInfo info = mStorageManager.findDiskById(diskId); 283 final DiskInfo info = mStorageManager.findDiskById(diskId);
|
FormatAsPublicStepFragment.java | 21 import android.os.storage.DiskInfo; 49 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); 56 mDiskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
StorageResetFragment.java | 22 import android.os.storage.DiskInfo; 140 final List<DiskInfo> disks = mStorageManager.getDisks(); 141 final List<DiskInfo> unsupportedDisks = new ArrayList<>(disks.size()); 142 for (final DiskInfo disk : disks) { 202 for (final DiskInfo diskInfo : unsupportedDisks) { 203 final String key = UnsupportedDiskPreference.makeKey(diskInfo); 208 unsupportedDiskPreference = new UnsupportedDiskPreference(themedContext, diskInfo); 275 public UnsupportedDiskPreference(Context context, DiskInfo info) { 282 public static String makeKey(DiskInfo info) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 33 import android.os.storage.DiskInfo; 98 public void onDiskScanned(DiskInfo disk, int volumeCount) { 103 public void onDiskDestroyed(DiskInfo disk) { 169 final List<DiskInfo> disks = mStorageManager.getDisks(); 170 for (DiskInfo disk : disks) { 220 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { 254 private void onDiskDestroyedInternal(@NonNull DiskInfo disk) { 323 final DiskInfo disk = vol.getDisk(); 338 final DiskInfo disk = vol.getDisk(); 394 final DiskInfo disk = vol.getDisk() [all...] |
/frameworks/base/cmds/sm/src/com/android/commands/sm/ |
Sm.java | 22 import android.os.storage.DiskInfo; 102 final DiskInfo[] disks = mSm.getDisks(); 103 for (DiskInfo disk : disks) {
|