Home
last modified time | relevance | path

Searched refs:fsUuid (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeForget.java65 final String fsUuid = getArguments().getString(VolumeRecord.EXTRA_FS_UUID); in onCreateView() local
67 if (fsUuid == null) { in onCreateView()
71 mRecord = storage.findRecordByUuid(fsUuid); in onCreateView()
103 public static void show(Fragment parent, String fsUuid) { in show() argument
105 args.putString(VolumeRecord.EXTRA_FS_UUID, fsUuid); in show()
118 final String fsUuid = getArguments().getString(VolumeRecord.EXTRA_FS_UUID); in onCreateDialog() local
119 final VolumeRecord record = storage.findRecordByUuid(fsUuid); in onCreateDialog()
131 storage.forgetVolume(fsUuid); in onCreateDialog()
DPublicVolumeSettings.java97 final String fsUuid = DocumentsContract.getRootId(rootUri); in onCreate() local
98 mVolume = mStorageManager.findVolumeByUuid(fsUuid); in onCreate()
DPrivateVolumeSettings.java718 final String fsUuid = getArguments().getString(VolumeRecord.EXTRA_FS_UUID); in onCreateDialog() local
719 final VolumeInfo vol = storageManager.findVolumeByUuid(fsUuid); in onCreateDialog()
720 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog()
737 storageManager.setVolumeNickname(fsUuid, in onCreateDialog()
DStorageDashboardFragment.java257 mVolume.fsUuid, in onCreateLoader()
338 return stats.isQuotaSupported(mVolume.fsUuid); in isQuotaSupported()
DStorageProfileFragment.java119 mVolume.fsUuid, in onCreateLoader()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeForget.java65 final String fsUuid = getArguments().getString(VolumeRecord.EXTRA_FS_UUID); in onCreateView() local
67 if (fsUuid == null) { in onCreateView()
71 mRecord = storage.findRecordByUuid(fsUuid); in onCreateView()
103 public static void show(Fragment parent, String fsUuid) { in show() argument
105 args.putString(VolumeRecord.EXTRA_FS_UUID, fsUuid); in show()
118 final String fsUuid = getArguments().getString(VolumeRecord.EXTRA_FS_UUID); in onCreateDialog() local
119 final VolumeRecord record = storage.findRecordByUuid(fsUuid); in onCreateDialog()
131 storage.forgetVolume(fsUuid); in onCreateDialog()
DPublicVolumeSettings.java97 final String fsUuid = DocumentsContract.getRootId(rootUri); in onCreate() local
98 mVolume = mStorageManager.findVolumeByUuid(fsUuid); in onCreate()
DPrivateVolumeSettings.java718 final String fsUuid = getArguments().getString(VolumeRecord.EXTRA_FS_UUID); in onCreateDialog() local
719 final VolumeInfo vol = storageManager.findVolumeByUuid(fsUuid); in onCreateDialog()
720 final VolumeRecord rec = storageManager.findRecordByUuid(fsUuid); in onCreateDialog()
737 storageManager.setVolumeNickname(fsUuid, in onCreateDialog()
DStorageDashboardFragment.java257 mVolume.fsUuid, in onCreateLoader()
338 return stats.isQuotaSupported(mVolume.fsUuid); in isQuotaSupported()
DStorageProfileFragment.java119 mVolume.fsUuid, in onCreateLoader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowStorageManager.java61 protected VolumeRecord findRecordByUuid(String fsUuid) { in findRecordByUuid() argument
62 return createVolumeRecord(fsUuid); in findRecordByUuid()
71 protected void forgetVolume(String fsUuid) { in forgetVolume() argument
89 private VolumeRecord createVolumeRecord(String fsUuid) { in createVolumeRecord() argument
90 VolumeRecord record = new VolumeRecord(VolumeRecord.USER_FLAG_INITED, fsUuid); in createVolumeRecord()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DMissingStorageFragment.java40 public static void prepareArgs(Bundle b, String fsUuid) { in prepareArgs() argument
41 b.putString(VolumeRecord.EXTRA_FS_UUID, fsUuid); in prepareArgs()
82 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument
83 if (!TextUtils.equals(fsUuid, mFsUuid) || !isResumed()) { in onVolumeForgotten()
86 if (mStorageManager.findRecordByUuid(fsUuid) == null) { in onVolumeForgotten()
DNewStorageActivity.java61 public static Intent getMissingStorageLaunchIntent(Context context, String fsUuid) { in getMissingStorageLaunchIntent() argument
64 i.putExtra(VolumeRecord.EXTRA_FS_UUID, fsUuid); in getMissingStorageLaunchIntent()
77 final String fsUuid = getIntent().getStringExtra(VolumeRecord.EXTRA_FS_UUID); in onCreate() local
78 if (TextUtils.isEmpty(fsUuid)) { in onCreate()
84 .add(android.R.id.content, MissingStorageFragment.newInstance(fsUuid)) in onCreate()
276 public static MissingStorageFragment newInstance(String fsUuid) { in newInstance() argument
279 b.putString(VolumeRecord.EXTRA_FS_UUID, fsUuid); in newInstance()
DDiskReceiver.java101 final String fsUuid = intent.getStringExtra(VolumeRecord.EXTRA_FS_UUID); in handleUnmount() local
102 if (TextUtils.isEmpty(fsUuid)) { in handleUnmount()
108 volumeRecord = mStorageManager.findRecordByUuid(fsUuid); in handleUnmount()
115 Log.d(TAG, "Found ejected volume: " + volumeRecord + " for FSUUID: " + fsUuid); in handleUnmount()
117 final Intent i = NewStorageActivity.getMissingStorageLaunchIntent(context, fsUuid); in handleUnmount()
DForgetPrivateConfirmFragment.java36 public static void prepareArgs(Bundle b, String fsUuid) { in prepareArgs() argument
37 b.putString(VolumeRecord.EXTRA_FS_UUID, fsUuid); in prepareArgs()
DStorageFragment.java182 AppsFragment.prepareArgs(mAppsUsagePref.getExtras(), mVolumeInfo.fsUuid, description); in refresh()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DPhotosViewHolderControllerTest.java62 final String fsUuid = new VolumeInfo("id", 0, null, "id").fsUuid; in setUp() local
63 mController = new PhotosViewHolderController(mContext, mSource, fsUuid, new UserHandle(0)); in setUp()
DMusicViewHolderControllerTest.java63 final String fsUuid = new VolumeInfo("id", 0, null, "id").fsUuid; in setUp() local
64 mController = new MusicViewHolderController(mContext, mSource, fsUuid, new UserHandle(0)); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java314 public void onVolumeForgotten(String fsUuid) { in onVolumeForgotten() argument
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java899 if (TextUtils.isEmpty(rec.fsUuid)) continue; in onIdleMaintenance()
902 final VolumeInfo vol = mStorageManager.findVolumeByUuid(rec.fsUuid); in onIdleMaintenance()
908 Log.d(TAG, "Forgot " + num + " stale items from " + rec.fsUuid); in onIdleMaintenance()