Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java51 public static void formatAsPublic(Context context, String diskId) { in formatAsPublic() argument
54 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in formatAsPublic()
58 public static void formatAsPrivate(Context context, String diskId) { in formatAsPrivate() argument
61 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in formatAsPrivate()
87 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); in onHandleIntent() local
88 if (TextUtils.isEmpty(diskId)) { in onHandleIntent()
92 formatAsPublic(diskId); in onHandleIntent()
96 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); in onHandleIntent() local
97 if (TextUtils.isEmpty(diskId)) { in onHandleIntent()
101 formatAsPrivate(diskId); in onHandleIntent()
[all …]
DFormatActivity.java74 public static Intent getFormatAsPublicIntent(Context context, String diskId) { in getFormatAsPublicIntent() argument
77 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in getFormatAsPublicIntent()
81 public static Intent getFormatAsPrivateIntent(Context context, String diskId) { in getFormatAsPrivateIntent() argument
84 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in getFormatAsPrivateIntent()
106 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); in onCreate() local
110 f = FormatAsPrivateStepFragment.newInstance(diskId); in onCreate()
112 f = FormatAsPublicStepFragment.newInstance(diskId); in onCreate()
141 private VolumeInfo findVolume(String diskId) { in findVolume() argument
144 if (TextUtils.equals(diskId, vol.getDiskId()) in findVolume()
192 final String diskId = intent.getStringExtra(DiskInfo.EXTRA_DISK_ID); in onReceive() local
[all …]
DNewStorageActivity.java53 String diskId) { in getNewStorageLaunchIntent() argument
57 i.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in getNewStorageLaunchIntent()
88 final String diskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); in onCreate() local
89 if (TextUtils.isEmpty(volumeId) && TextUtils.isEmpty(diskId)) { in onCreate()
95 .add(android.R.id.content, NewStorageFragment.newInstance(volumeId, diskId)) in onCreate()
124 public static NewStorageFragment newInstance(String volumeId, String diskId) { in newInstance() argument
127 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); in newInstance()
DFormatAsPrivateStepFragment.java37 void onRequestFormatAsPrivate(String diskId); in onRequestFormatAsPrivate() argument
41 public static FormatAsPrivateStepFragment newInstance(String diskId) { in newInstance() argument
44 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); in newInstance()
DFormatAsPublicStepFragment.java43 void onRequestFormatAsPublic(String diskId, String volumeId); in onRequestFormatAsPublic() argument
47 public static FormatAsPublicStepFragment newInstance(String diskId) { in newInstance() argument
50 b.putString(DiskInfo.EXTRA_DISK_ID, diskId); in newInstance()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardFormatConfirm.java42 public static void showPublic(FragmentActivity activity, String diskId) { in showPublic() argument
43 show(activity, diskId, null, false); in showPublic()
46 public static void showPublic(FragmentActivity activity, String diskId, String forgetUuid) { in showPublic() argument
47 show(activity, diskId, forgetUuid, false); in showPublic()
50 public static void showPrivate(FragmentActivity activity, String diskId) { in showPrivate() argument
51 show(activity, diskId, null, true); in showPrivate()
54 private static void show(FragmentActivity activity, String diskId, String formatForgetUuid, in show() argument
57 args.putString(EXTRA_DISK_ID, diskId); in show()
76 final String diskId = args.getString(EXTRA_DISK_ID); in onCreateDialog() local
81 .findDiskById(diskId); in onCreateDialog()
[all …]
DStorageSettings.java506 public static void show(Fragment parent, int resId, String diskId) { in show() argument
509 args.putString(DiskInfo.EXTRA_DISK_ID, diskId); in show()
523 final String diskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); in onCreateDialog() local
524 final DiskInfo disk = sm.findDiskById(diskId); in onCreateDialog()
534 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in onCreateDialog()
DStorageWizardBase.java82 final String diskId = getIntent().getStringExtra(EXTRA_DISK_ID); in onCreate() local
83 if (!TextUtils.isEmpty(diskId)) { in onCreate()
84 mDisk = mStorage.findDiskById(diskId); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardFormatConfirm.java42 public static void showPublic(FragmentActivity activity, String diskId) { in showPublic() argument
43 show(activity, diskId, null, false); in showPublic()
46 public static void showPublic(FragmentActivity activity, String diskId, String forgetUuid) { in showPublic() argument
47 show(activity, diskId, forgetUuid, false); in showPublic()
50 public static void showPrivate(FragmentActivity activity, String diskId) { in showPrivate() argument
51 show(activity, diskId, null, true); in showPrivate()
54 private static void show(FragmentActivity activity, String diskId, String formatForgetUuid, in show() argument
57 args.putString(EXTRA_DISK_ID, diskId); in show()
76 final String diskId = args.getString(EXTRA_DISK_ID); in onCreateDialog() local
81 .findDiskById(diskId); in onCreateDialog()
[all …]
DStorageSettings.java506 public static void show(Fragment parent, int resId, String diskId) { in show() argument
509 args.putString(DiskInfo.EXTRA_DISK_ID, diskId); in show()
523 final String diskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); in onCreateDialog() local
524 final DiskInfo disk = sm.findDiskById(diskId); in onCreateDialog()
534 intent.putExtra(DiskInfo.EXTRA_DISK_ID, diskId); in onCreateDialog()
DStorageWizardBase.java82 final String diskId = getIntent().getStringExtra(EXTRA_DISK_ID); in onCreate() local
83 if (!TextUtils.isEmpty(diskId)) { in onCreate()
84 mDisk = mStorage.findDiskById(diskId); in onCreate()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileCopyUiTest.java293 String diskId = getAdoptionDisk(); in enableVirtualSdCard() local
294 assertNotNull("Failed to setup virtual disk.", diskId); in enableVirtualSdCard()
295 device.executeShellCommand(String.format("sm partition %s public", diskId)); in enableVirtualSdCard()