Home
last modified time | relevance | path

Searched refs:getPickImagesMaxLimit (Results 1 – 10 of 10) sorted by relevance

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/configuration/
DConfigurationManagerTest.kt222 .putExtra(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()) in testSetIntentSetsSelectionLimit()
247 .isEqualTo(MediaStore.getPickImagesMaxLimit()) in testSetIntentSetsSelectionLimit()
261 .putExtra(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()) in testSetIntentSetsSelectionLimitThrowsOnIllegalConfiguration()
299 .putExtra(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit() + 1) in testSetIntentSetsSelectionLimitThrowsOnIllegalRange()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DSelection.java365 mMaxSelectionLimit = MediaStore.getPickImagesMaxLimit(); in parseSelectionValuesFromIntent()
383 mMaxSelectionLimit = MediaStore.getPickImagesMaxLimit(); in parseSelectionValuesFromIntent()
400 if (extraMax <= 1 || extraMax > MediaStore.getPickImagesMaxLimit()) { in parseSelectionValuesFromIntent()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DSelectionTest.java318 final int maxLimit = MediaStore.getPickImagesMaxLimit() - 1; in testParseValuesFromIntent_validMaxSelectionLimit()
345 intent.putExtra(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit() + 1); in testParseValuesFromIntent_tooLargeMaxSelectionLimit_throwsException()
365 .isEqualTo(MediaStore.getPickImagesMaxLimit()); in testParseValuesFromIntent_actionGetContent()
434 final int maxLimit = MediaStore.getPickImagesMaxLimit(); in testIsSelectionWithUserSelectAction_exceedsMaxSelectionLimit_selectionNotAllowed()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/extensions/
DIntent.kt56 if (limit !in 1..MediaStore.getPickImagesMaxLimit()) { in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/
DMainActivityTest.kt256 .putExtra(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()) in <lambda>()
301 .putExtra(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()) in <lambda>()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelTest.java363 extras.putInt(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()); in test_initialisePreSelectionItems_correctItemsLoaded()
421 int numberOfPreselectedUris = MediaStore.getPickImagesMaxLimit() + 2; in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails()
430 intentExtras.putInt(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()); in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails()
444 + MediaStore.getPickImagesMaxLimit()); in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DPhotoPickerBaseTest.java119 extras.putInt(MediaStore.EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()); in extras.putInt() argument
/packages/providers/MediaProvider/tools/photopicker-gradle/app/src/main/java/com/android/providers/media/tools/photopicker/
DPhotoPickerToolActivity.java167 intent.putExtra(EXTRA_PICK_IMAGES_MAX, MediaStore.getPickImagesMaxLimit()); in onLaunchButtonClicked()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java889 public static int getPickImagesMaxLimit() { in getPickImagesMaxLimit() method in MediaStore
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt115 method public static int getPickImagesMaxLimit();