Home
last modified time | relevance | path

Searched refs:mDiskId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java109 private String mDiskId; field in NewStorageActivity.NewStorageFragment
137 mDiskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); in onCreate()
138 if (TextUtils.isEmpty(mVolumeId) && TextUtils.isEmpty(mDiskId)) { in onCreate()
145 mDiskId = info.getDiskId(); in onCreate()
147 final DiskInfo info = storageManager.findDiskById(mDiskId); in onCreate()
206 startActivity(FormatActivity.getFormatAsPublicIntent(getActivity(), mDiskId)); in onGuidedActionClicked() local
212 startActivity(FormatActivity.getFormatAsPrivateIntent(getActivity(), mDiskId)); in onGuidedActionClicked() local
233 if (!TextUtils.isEmpty(mDiskId)) { in checkForUnmount()
238 if (TextUtils.equals(diskInfo.getId(), mDiskId)) { in checkForUnmount()
DFormatActivity.java75 private String mDiskId; field in FormatActivity
90 if (!TextUtils.isEmpty(mDiskId)) { in finishIfDiskGone()
92 if (mStorageManager.findDiskById(mDiskId) == null) { in finishIfDiskGone()
128 mDiskId = in onCreate()
132 mDiskId = getIntent().getStringExtra(DiskInfo.EXTRA_DISK_ID); in onCreate()
136 f = FormatAsPrivateStepFragment.newInstance(mDiskId); in onCreate()
138 f = FormatAsPublicStepFragment.newInstance(mDiskId); in onCreate()
DFormatAsPublicStepFragment.java40 private String mDiskId; field in FormatAsPublicStepFragment
57 mDiskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); in onCreate()
63 TextUtils.equals(volume.getDiskId(), mDiskId)) { in onCreate()
109 ((Callback) getActivity()).onRequestFormatAsPublic(mDiskId, mVolumeId); in onGuidedActionClicked()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/
DAdoptableStorageUtils.java31 private String mDiskId; field in AdoptableStorageUtils
48 mDiskId = getAdoptionDisk(); in createNewVolume()
49 assertEmpty(mTest.getDevice().executeShellCommand("sm partition " + mDiskId + " private")); in createNewVolume()
79 mTest.getDevice().executeShellCommand("sm partition " + mDiskId + " public"); in cleanUpVolume()