Home
last modified time | relevance | path

Searched refs:maybeInitializeVolume (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageUtilsTest.java56 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo()
67 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo()
78 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_differentType_shouldNotReturnVolumeInfo()
89 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_defaultId_notMounted_returnsNull()
101 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo()
115 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getIdFromBundle_shouldReturnVolumeInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationsSettingsFragment.java19 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
48 VolumeInfo volume = maybeInitializeVolume(sm, getArguments()); in onAttach()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageSettingsFragment.java19 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
50 VolumeInfo volume = maybeInitializeVolume(sm, getArguments()); in onAttach()
DStorageOtherCategoryDetailFragment.java18 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
48 VolumeInfo volume = maybeInitializeVolume(sm, getArguments()); in onAttach()
DStorageMediaCategoryDetailFragment.java20 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
59 VolumeInfo volume = maybeInitializeVolume(sm, getArguments()); in onAttach()
DStorageUtils.java34 public static VolumeInfo maybeInitializeVolume(StorageManager sm, @Nullable Bundle bundle) { in maybeInitializeVolume() method in StorageUtils
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageProfileFragment.java67 mVolume = Utils.maybeInitializeVolume(sm, args); in onCreate()
DStorageDashboardFragment.java88 mVolume = Utils.maybeInitializeVolume(sm, getArguments()); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageProfileFragment.java67 mVolume = Utils.maybeInitializeVolume(sm, args); in onCreate()
DStorageDashboardFragment.java88 mVolume = Utils.maybeInitializeVolume(sm, getArguments()); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java144 Utils.maybeInitializeVolume(storageManager, new Bundle()); in initializeVolumeDoesntBreakOnNullVolume()
/packages/apps/Settings/src/com/android/settings/
DUtils.java877 public static VolumeInfo maybeInitializeVolume(StorageManager sm, Bundle bundle) { in maybeInitializeVolume() method in Utils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java882 public static VolumeInfo maybeInitializeVolume(StorageManager sm, Bundle bundle) { in maybeInitializeVolume() method in Utils