/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
D | StorageUtilsTest.java | 50 VolumeInfo volumeInfo = new VolumeInfo("id", VolumeInfo.TYPE_PRIVATE, null, "id"); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo() 62 VolumeInfo volumeInfo = new VolumeInfo("id", VolumeInfo.TYPE_PRIVATE, null, "id"); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo() 95 VolumeInfo volumeInfo = new VolumeInfo("id", VolumeInfo.TYPE_PRIVATE, null, "id"); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo() 107 VolumeInfo volumeInfo = new VolumeInfo("id", VolumeInfo.TYPE_PRIVATE, null, "id"); in maybeInitializeVolume_getIdFromBundle_shouldReturnVolumeInfo()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | VolumeOptionMenuControllerTest.java | 72 when(mInternalVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in setUp() 200 when(mExternalVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in onPrepareOptionsMenu_externalPrimaryStorageAvailable_migrateIsVisible() 211 when(mExternalVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in onPrepareOptionsMenu_externalUnmounted_migrateIsVisible()
|
D | TopLevelStoragePreferenceControllerTest.java | 79 when(volumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | FormatActivity.java | 153 if (volumeInfo != null && volumeInfo.getType() == VolumeInfo.TYPE_PRIVATE) { in onResume() 183 && (vol.getType() == VolumeInfo.TYPE_PRIVATE)) { in findVolume() 286 if ((volume.getType() == VolumeInfo.TYPE_PRIVATE || in onRequestFormatAsPrivate()
|
D | DiskReceiver.java | 91 if (info.getType() == VolumeInfo.TYPE_PRIVATE in handleMount() 116 if (volumeRecord.getType() == VolumeInfo.TYPE_PRIVATE) { in handleUnmount()
|
D | SettingsStorageService.java | 122 volume.getType() == VolumeInfo.TYPE_PRIVATE) { in formatAsPublic() 176 && (vol.getType() == VolumeInfo.TYPE_PRIVATE)) { in findPrivateVolume()
|
D | FormatAsPublicStepFragment.java | 61 if ((volume.getType() == VolumeInfo.TYPE_PRIVATE || in onCreate()
|
D | UnmountActivity.java | 84 if (volumeInfo.getType() == VolumeInfo.TYPE_PRIVATE) { in onCreate()
|
D | StorageFragment.java | 178 final boolean isPrivate = mVolumeInfo.getType() == VolumeInfo.TYPE_PRIVATE; in refresh()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageWizardFormatProgress.java | 19 import static android.os.storage.VolumeInfo.TYPE_PRIVATE; 107 final VolumeInfo privateVol = activity.findFirstVolume(TYPE_PRIVATE, 25); in doInBackground()
|
D | StorageWizardReady.java | 39 final VolumeInfo privateVol = findFirstVolume(VolumeInfo.TYPE_PRIVATE); in onCreate()
|
D | StorageWizardMigrateConfirm.java | 54 mVolume = findFirstVolume(VolumeInfo.TYPE_PRIVATE); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageEntry.java | 217 return mVolumeInfo.getType() == VolumeInfo.TYPE_PRIVATE in isDefaultInternalStorage() 241 return mVolumeInfo == null ? false : mVolumeInfo.getType() == VolumeInfo.TYPE_PRIVATE; in isPrivate()
|
D | StorageUtils.java | 81 case VolumeInfo.TYPE_PRIVATE: in isStorageSettingsInterestedVolume() 96 return volumeRecord.getType() == VolumeInfo.TYPE_PRIVATE in isVolumeRecordMissed()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageUtils.java | 46 return (volume != null) && (volume.getType() == VolumeInfo.TYPE_PRIVATE) in isVolumeValid()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/ |
D | SettingsStorageServiceTest.java | 72 doReturn(VolumeInfo.TYPE_PRIVATE).when(volumeInfo).getType(); in testFormatAsPublic_success_fromPrivate() 157 doReturn(VolumeInfo.TYPE_PRIVATE).when(volumeInfo).getType(); in testFormatAsPrivate_success()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | VolumeInfoCompat.java | 40 public static final int TYPE_PRIVATE = IVold.VOLUME_TYPE_PRIVATE; field in VolumeInfoCompat
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageSummaryFragment.java | 145 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in refresh() 159 if (record.getType() == VolumeInfo.TYPE_PRIVATE in refresh()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageEntryTest.java | 208 when(privateVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in isPrivate_privateVolume_shouldReturnTrue() 254 when(volumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in getDescription_defaultInternalStorage_returnThisDevice()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageManagementJobServiceTest.java | 94 when(mVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in setUp() 248 when(privateVolumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in testMultiplePrivateVolumesCountedForASMActivationThreshold()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceControllerTest.java | 428 when(mVolume.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in displayPreference_dontHideFilePreferenceWhenEmulatedInternalStorageUsed() 441 when(mVolume.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in setPrivateStorageCategoryPreferencesVisibility_updateFilePreferenceToHideAfterSettingVolume_hidePreference() 459 when(mVolume.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in setVolume_updateFilePreferenceToShowAfterSettingVolume_showPreference()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/model/ |
D | AppEventProducerTest.java | 64 new UserIconInfo(PRIVATE_HANDLE, UserIconInfo.TYPE_PRIVATE);
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | SystemApiWrapper.kt | 76 UserManager.USER_TYPE_PROFILE_PRIVATE -> UserIconInfo.TYPE_PRIVATE in <lambda>()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | StorageMeasurement.java | 205 if ((mVolume.getType() == VolumeInfo.TYPE_PRIVATE) && mVolume.isMountedReadable()) { in measureExactStorage()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/ |
D | PrivateProfileManagerTest.java | 80 new UserIconInfo(PRIVATE_HANDLE, UserIconInfo.TYPE_PRIVATE);
|