Home
last modified time | relevance | path

Searched refs:TYPE_PRIVATE (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageUtilsTest.java50 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/
DVolumeOptionMenuControllerTest.java72 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()
DTopLevelStoragePreferenceControllerTest.java79 when(volumeInfo.getType()).thenReturn(VolumeInfo.TYPE_PRIVATE); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFormatActivity.java153 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()
DDiskReceiver.java91 if (info.getType() == VolumeInfo.TYPE_PRIVATE in handleMount()
116 if (volumeRecord.getType() == VolumeInfo.TYPE_PRIVATE) { in handleUnmount()
DSettingsStorageService.java122 volume.getType() == VolumeInfo.TYPE_PRIVATE) { in formatAsPublic()
176 && (vol.getType() == VolumeInfo.TYPE_PRIVATE)) { in findPrivateVolume()
DFormatAsPublicStepFragment.java61 if ((volume.getType() == VolumeInfo.TYPE_PRIVATE || in onCreate()
DUnmountActivity.java84 if (volumeInfo.getType() == VolumeInfo.TYPE_PRIVATE) { in onCreate()
DStorageFragment.java178 final boolean isPrivate = mVolumeInfo.getType() == VolumeInfo.TYPE_PRIVATE; in refresh()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardFormatProgress.java19 import static android.os.storage.VolumeInfo.TYPE_PRIVATE;
107 final VolumeInfo privateVol = activity.findFirstVolume(TYPE_PRIVATE, 25); in doInBackground()
DStorageWizardReady.java39 final VolumeInfo privateVol = findFirstVolume(VolumeInfo.TYPE_PRIVATE); in onCreate()
DStorageWizardMigrateConfirm.java54 mVolume = findFirstVolume(VolumeInfo.TYPE_PRIVATE); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageEntry.java217 return mVolumeInfo.getType() == VolumeInfo.TYPE_PRIVATE in isDefaultInternalStorage()
241 return mVolumeInfo == null ? false : mVolumeInfo.getType() == VolumeInfo.TYPE_PRIVATE; in isPrivate()
DStorageUtils.java81 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/
DStorageUtils.java46 return (volume != null) && (volume.getType() == VolumeInfo.TYPE_PRIVATE) in isVolumeValid()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/
DSettingsStorageServiceTest.java72 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/
DVolumeInfoCompat.java40 public static final int TYPE_PRIVATE = IVold.VOLUME_TYPE_PRIVATE; field in VolumeInfoCompat
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java145 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/
DStorageEntryTest.java208 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/
DAutomaticStorageManagementJobServiceTest.java94 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/
DStorageItemPreferenceControllerTest.java428 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/
DAppEventProducerTest.java64 new UserIconInfo(PRIVATE_HANDLE, UserIconInfo.TYPE_PRIVATE);
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DSystemApiWrapper.kt76 UserManager.USER_TYPE_PROFILE_PRIVATE -> UserIconInfo.TYPE_PRIVATE in <lambda>()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DStorageMeasurement.java205 if ((mVolume.getType() == VolumeInfo.TYPE_PRIVATE) && mVolume.isMountedReadable()) { in measureExactStorage()
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DPrivateProfileManagerTest.java80 new UserIconInfo(PRIVATE_HANDLE, UserIconInfo.TYPE_PRIVATE);

12