Home
last modified time | relevance | path

Searched refs:availableSizes (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1182 Size[] availableSizes = configMap.getOutputSizes(format); in getSupportedSizeForFormat() local
1183 assertArrayNotEmpty(availableSizes, "availableSizes should not be empty for format: " in getSupportedSizeForFormat()
1187 Size[] allSizes = new Size[availableSizes.length + highResAvailableSizes.length]; in getSupportedSizeForFormat()
1188 System.arraycopy(availableSizes, 0, allSizes, 0, in getSupportedSizeForFormat()
1189 availableSizes.length); in getSupportedSizeForFormat()
1190 System.arraycopy(highResAvailableSizes, 0, allSizes, availableSizes.length, in getSupportedSizeForFormat()
1192 availableSizes = allSizes; in getSupportedSizeForFormat()
1194 if (VERBOSE) Log.v(TAG, "Supported sizes are: " + Arrays.deepToString(availableSizes)); in getSupportedSizeForFormat()
1195 return availableSizes; in getSupportedSizeForFormat()
1211 Size[] availableSizes = configMap.getOutputSizes(klass); in getSupportedSizeForClass() local
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageReaderTest.java937 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(FORMAT, in invalidAccessTestAfterClose() local
942 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose()
1008 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatTestByCamera() local
1012 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
1063 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked(format, in bufferFormatLongProcessingTimeTestByCamera() local
1067 for (Size sz : availableSizes) { in bufferFormatLongProcessingTimeTestByCamera()
DHeifWriterTest.java101 Size[] availableSizes = mStaticInfo.getAvailableSizesForFormatChecked( in testHeif() local
106 for (Size sz : availableSizes) { in testHeif()
DAllocationTest.java843 Size[] availableSizes = getSupportedSizeForFormat(format, mCamera.getId(), in forEachSize() local
845 assertArrayNotEmpty(availableSizes, "availableSizes should not be empty"); in forEachSize()
847 for (Size size : availableSizes) { in forEachSize()
DRobustnessTest.java235 Size[] availableSizes = new Size[streamInfo.getAvailableSizes().size()]; in setupConfigurationTargets() local
236 availableSizes = streamInfo.getAvailableSizes().toArray(availableSizes); in setupConfigurationTargets()
237 Size targetSize = CameraTestUtils.getMaxSize(availableSizes); in setupConfigurationTargets()
DExtendedCameraCharacteristicsTest.java693 Set<Size> availableSizes = configMap.getOutputSizes(format); in checkFormatLatency() local
695 availableSizes); in checkFormatLatency()
700 for (Size sz : availableSizes) { in checkFormatLatency()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java620 ArrayList<VideoSizeNamePair> availableSizes = in getVideoSizeNamePairs() local
633 availableSizes.add(pair); in getVideoSizeNamePairs()
638 availableSizes.add(pair); in getVideoSizeNamePairs()
642 return availableSizes; in getVideoSizeNamePairs()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2337 Size[] availableSizes = config.getHighSpeedVideoSizes(); in isHighSpeedVideoSupported() local
2338 if (availableSizes.length == 0) { in isHighSpeedVideoSupported()
2342 for (Size size : availableSizes) { in isHighSpeedVideoSupported()