Home
last modified time | relevance | path

Searched refs:getDiskId (Results 1 – 17 of 17) sorted by relevance

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DVolumeInfoCompat.java88 String getDiskId() { in getDiskId() method in VolumeInfoCompat
89 return mVolumeInfo.getDiskId(); in getDiskId()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/
DSettingsStorageServiceTest.java71 doReturn("asdf").when(volumeInfo).getDiskId(); in testFormatAsPublic_success_fromPrivate()
101 doReturn("asdf").when(volumeInfo).getDiskId(); in testFormatAsPublic_success_fromNonPrivate()
158 doReturn("asdf").when(volumeInfo).getDiskId(); in testFormatAsPrivate_success()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageEntryTest.java266 when(volumeInfo.getDiskId()).thenReturn(VOLUME_INFO_ID); in getDiskId_shouldReturnDiskId()
273 assertThat(volumeStorage.getDiskId()).isEqualTo(VOLUME_INFO_ID); in getDiskId_shouldReturnDiskId()
274 assertThat(diskStorage.getDiskId()).isEqualTo(DISK_INFO_ID); in getDiskId_shouldReturnDiskId()
275 assertThat(recordStorage.getDiskId()).isEqualTo(null); in getDiskId_shouldReturnDiskId()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFormatActivity.java182 if (TextUtils.equals(diskId, vol.getDiskId()) in findVolume()
288 TextUtils.equals(volume.getDiskId(), diskId)) { in onRequestFormatAsPrivate()
306 if (TextUtils.equals(candidate.getDiskId(), diskId)) { in launchMigrateStorageAndFinish()
DSettingsStorageService.java121 if (TextUtils.equals(diskId, volume.getDiskId()) && in formatAsPublic()
175 if (TextUtils.equals(diskId, vol.getDiskId()) in findPrivateVolume()
DStorageFragment.java186 FormatActivity.getFormatAsPublicIntent(getContext(), mVolumeInfo.getDiskId())); in refresh()
190 FormatActivity.getFormatAsPrivateIntent(getContext(), mVolumeInfo.getDiskId())); in refresh()
DFormatAsPublicStepFragment.java63 TextUtils.equals(volume.getDiskId(), mDiskId)) { in onCreate()
DNewStorageActivity.java145 mDiskId = info.getDiskId(); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageEntry.java272 public String getDiskId() { in getDiskId() method in StorageEntry
274 return mVolumeInfo.getDiskId(); in getDiskId()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeUnmount.java59 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DPrivateVolumeFormat.java56 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
DPublicVolumeSettings.java129 mDisk = mStorageManager.findDiskById(mVolume.getDiskId()); in onCreate()
DVolumeOptionMenuController.java213 mStorageEntry.getDiskId()); in onOptionsItemSelected()
DStorageWizardBase.java268 if (Objects.equals(mDisk.getId(), vol.getDiskId()) && (vol.getType() == type) in findFirstVolume()
DStorageDashboardFragment.java324 storageEntry.getDiskId()); in onAttach()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectStorageFragment.java267 storageEntry.getDiskId()); in onAttach()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DVolumeOptionMenuControllerTest.java172 when(mExternalVolumeInfo.getDiskId()).thenReturn(DISK_ID); in onPrepareOptionsMenu_publicStorage_someMenusArcVisible()