Home
last modified time | relevance | path

Searched refs:diskId (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java48 public static void formatAsPublic(Context context, String diskId) { in formatAsPublic() argument
51 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in formatAsPublic()
55 public static void formatAsPrivate(Context context, String diskId) { in formatAsPrivate() argument
58 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in formatAsPrivate()
84 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); in onHandleIntent() local
85 if (TextUtils.isEmpty(diskId)) { in onHandleIntent()
89 formatAsPublic(diskId); in onHandleIntent()
93 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); in onHandleIntent() local
94 if (TextUtils.isEmpty(diskId)) { in onHandleIntent()
98 formatAsPrivate(diskId); in onHandleIntent()
[all …]
DFormatActivity.java70 public static Intent getFormatAsPublicIntent(Context context, String diskId) { in getFormatAsPublicIntent() argument
73 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in getFormatAsPublicIntent()
77 public static Intent getFormatAsPrivateIntent(Context context, String diskId) { in getFormatAsPrivateIntent() argument
80 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in getFormatAsPrivateIntent()
102 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); in onCreate() local
106 f = FormatAsPrivateStepFragment.newInstance(diskId); in onCreate()
108 f = FormatAsPublicStepFragment.newInstance(diskId); in onCreate()
137 private VolumeInfo findVolume(String diskId) { in findVolume() argument
140 if (TextUtils.equals(diskId, vol.getDiskId()) in findVolume()
180 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); in onReceive() local
[all …]
DNewStorageActivity.java52 String diskId) { in getNewStorageLaunchIntent() argument
56 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in getNewStorageLaunchIntent()
87 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); in onCreate() local
88 if (TextUtils.isEmpty(volumeId) && TextUtils.isEmpty(diskId)) { in onCreate()
94 .add(android.R.id.content, NewStorageFragment.newInstance(volumeId, diskId)) in onCreate()
123 public static NewStorageFragment newInstance(String volumeId, String diskId) { in newInstance() argument
126 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); in newInstance()
DFormatAsPrivateStepFragment.java36 void onRequestFormatAsPrivate(String diskId); in onRequestFormatAsPrivate() argument
40 public static FormatAsPrivateStepFragment newInstance(String diskId) { in newInstance() argument
43 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); in newInstance()
DFormatAsPublicStepFragment.java42 void onRequestFormatAsPublic(String diskId, String volumeId); in onRequestFormatAsPublic() argument
46 public static FormatAsPublicStepFragment newInstance(String diskId) { in newInstance() argument
49 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); in newInstance()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java473 public static void show(Fragment parent, int resId, String diskId) { in show() argument
476 args.putString(DiskInfo.EXTRA_DISK_ID, diskId); in show()
490 final String diskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); in onCreateDialog() local
491 final DiskInfo disk = sm.findDiskById(diskId); in onCreateDialog()
501 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in onCreateDialog()
DStorageWizardBase.java64 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); in onCreate() local
65 if (!TextUtils.isEmpty(diskId)) { in onCreate()
66 mDisk = mStorage.findDiskById(diskId); in onCreate()