Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageUtilsTest.java55 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo()
66 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo()
77 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, null); in maybeInitializeVolume_differentType_shouldNotReturnVolumeInfo()
88 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_defaultId_notMounted_returnsNull()
100 VolumeInfo expected = StorageUtils.maybeInitializeVolume(mStorageManager, bundle); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo()
114 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;
54 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/Car/Settings/src/com/android/car/settings/notifications/
DNotificationsFragment.java19 import static com.android.car.settings.storage.StorageUtils.maybeInitializeVolume;
55 VolumeInfo volume = maybeInitializeVolume(sm, getArguments()); in onAttach()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectStorageFragment.java240 Utils.maybeInitializeVolume(mStorageManager, 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/deviceinfo/
DStorageDashboardFragment.java271 Utils.maybeInitializeVolume(mStorageManager, getArguments()); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DUtils.java918 public static VolumeInfo maybeInitializeVolume(StorageManager sm, Bundle bundle) { in maybeInitializeVolume() method in Utils