Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 37) sorted by relevance

12

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsic3DLut.java28 final int sz = 16; field in Intrinsic3DLut
45 int dat[] = new int[sx * sy * sz]; in genCubeIdent()
46 for (int z = 0; z < sz; z++) { in genCubeIdent()
52 v |= (0xff * z / (sz - 1)) << 16; in genCubeIdent()
63 int dat[] = new int[sx * sy * sz]; in genCubeRand()
64 for (int z = 0; z < sz; z++) { in genCubeRand()
83 tb.setZ(sz); in initCube()
DAtomicTest.java43 private void initS(boolean fillData, int sz) { in initS() argument
44 mSrcData = new int[sz * sz]; in initS()
46 mSrc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.I32(mRS), sz, sz)); in initS()
54 private void initU(boolean fillData, int sz) { in initU() argument
55 mSrcData = new int[sz * sz]; in initU()
57 mSrc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U32(mRS), sz, sz)); in initU()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_array/d/
DT_new_array_1.java21 public int[] run(int sz) { in run() argument
22 return new int[sz]; in run()
DT_new_array_2.java21 public boolean[] run(int sz) { in run() argument
22 return new boolean[sz]; in run()
DT_new_array_3.java21 public Object[] run(int sz) { in run() argument
22 return new Object[sz]; in run()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DIccUtils.java54 int sz = s.length(); in hexStringToBytes() local
56 ret = new byte[sz / 2]; in hexStringToBytes()
58 for (int i = 0; i < sz; i += 2) { in hexStringToBytes()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java112 for (Size sz : availableSizes) { in testHeif()
117 int width = sz.getWidth(); in testHeif()
118 int height = sz.getHeight(); in testHeif()
121 Log.v(TAG, "Testing size " + sz.toString() + " format PRIVATE" in testHeif()
128 builder.setSize(sz); in testHeif()
202 ImageFormat.PRIVATE, sz, listener, numImages); in testHeif()
291 Builder setSize(Size sz) { in setSize() argument
292 mWidth = sz.getWidth(); in setSize()
293 mHeight = sz.getHeight(); in setSize()
DRecordingTest.java717 for (Size sz : mOrderedPreviewSizes) { in videoPreviewSurfaceSharingTestByCamera()
718 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
723 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in videoPreviewSurfaceSharingTestByCamera()
730 "_" + sz.toString() + ".mp4"; in videoPreviewSurfaceSharingTestByCamera()
753 prepareRecording(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
756 updatePreviewSurfaceWithVideo(sz, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
782 validateRecording(sz, durationMinMs, durationMaxMs, in videoPreviewSurfaceSharingTestByCamera()
1297 for (Size sz : mSupportedVideoSizes) { in recordingSizeTestByCamera()
1298 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1303 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in recordingSizeTestByCamera()
[all …]
DImageReaderTest.java1116 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
1119 if (secureDataSize != null && !secureDataSize.equals(sz)) { in bufferFormatTestByCamera()
1124 Log.v(TAG, "Testing size " + sz.toString() + " format " + format in bufferFormatTestByCamera()
1131 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, usageFlag, mListener); in bufferFormatTestByCamera()
1133 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera()
1164 validateImage(sz, format, numFrameVerified, repeating); in bufferFormatTestByCamera()
1168 validateCaptureResult(format, sz, listener, numFrameVerified); in bufferFormatTestByCamera()
1190 for (Size sz : availableSizes) { in bufferFormatLongProcessingTimeTestByCamera()
1191 Log.v(TAG, "testing size " + sz.toString()); in bufferFormatLongProcessingTimeTestByCamera()
1194 Log.v(TAG, "Testing long processing time: size " + sz.toString() + " format " + in bufferFormatLongProcessingTimeTestByCamera()
[all …]
DExtendedCameraCharacteristicsTest.java314 for (Size sz : videoSizes) { in testAvailableStreamConfigs()
316 android.media.MediaRecorder.class, sz); in testAvailableStreamConfigs()
319 maxVideoSize = sz; in testAvailableStreamConfigs()
469 for (Size sz : recommendedSizes) { in verifyCommonRecommendedConfiguration()
471 "format: %d for ID: %s", sz.toString(), format, id), in verifyCommonRecommendedConfiguration()
472 exhaustiveSizes, sz); in verifyCommonRecommendedConfiguration()
474 long recommendedMinDuration = config.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
475 long availableMinDuration = fullConfig.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
479 sz.toString(), format, availableMinDuration, id), in verifyCommonRecommendedConfiguration()
481 long recommendedStallDuration = config.getOutputStallDuration(format, sz); in verifyCommonRecommendedConfiguration()
[all …]
DRobustnessTest.java2226 Size sz = maxSizes.getMaxInputSizeForFormat(combination[i]); in isMandatoryCombinationAvailable() local
2228 new Boolean(true)), sz)); in isMandatoryCombinationAvailable() local
2230 new Boolean(false)), sz)); in isMandatoryCombinationAvailable() local
2232 Size sz = maxSizes.getOutputSizeForFormat(combination[i], combination[i+1]); in isMandatoryCombinationAvailable() local
2234 new Boolean(false)), sz)); in isMandatoryCombinationAvailable() local
2644 for (Size sz: videoSizeArr) { in getMaxExternalRecordingSize()
2645 if (sz.getWidth() <= FULLHD.getWidth() && sz.getHeight() <= FULLHD.getHeight()) { in getMaxExternalRecordingSize()
2646 sizes.add(sz); in getMaxExternalRecordingSize()
2650 for (Size sz : videoSizes) { in getMaxExternalRecordingSize()
2652 android.media.MediaRecorder.class, sz); in getMaxExternalRecordingSize()
[all …]
DCameraExtensionCharacteristicsTest.java228 for (Size sz : extensionSizes) { in testExtensionLatencyRanges()
230 extension, sz, testFormat); in testExtensionLatencyRanges()
DDngCreatorTest.java980 private Pair<Image, CaptureResult> captureReprocessedRawShot(Size sz, in captureReprocessedRawShot() argument
988 new InputConfiguration(sz.getWidth(), sz.getHeight(), ImageFormat.RAW_SENSOR); in captureReprocessedRawShot()
1112 private List<Pair<List<Image>, CaptureResult>> captureRawShots(Size sz, in captureRawShots() argument
1134 if (targetCaptureSizes[i].equals(sz)) { in captureRawShots()
DSurfaceViewPreviewTest.java753 for (final Size sz : previewSizes) { in previewTestByCamera()
755 Log.v(TAG, "Testing camera preview size: " + sz.toString()); in previewTestByCamera()
764 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp152 float sz = fx * upY - fy * upX; in newLookAt() local
155 float rls = 1.0f / (float) sqrt(sx * sx + sy * sy + sz * sz); in newLookAt()
158 sz *= rls; in newLookAt()
161 float ux = sy * fz - sz * fy; in newLookAt()
162 float uy = sz * fx - sx * fz; in newLookAt()
176 d[8] = sz; in newLookAt()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java504 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument
505 mSize = sz; in ImageVerifierListener()
1805 for (Size sz: rawSizes) { in getSupportedPreviewSizes()
1806 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1807 sizes.add(sz); in getSupportedPreviewSizes()
1863 for (Size sz : sizes) { in getSortedSizesForFormat()
1864 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1865 sortedSizes.add(sz); in getSortedSizesForFormat()
1904 for (Size sz: rawSizes) { in getSupportedVideoSizes()
1905 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes()
[all …]
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c184 void *parser_get(parser_t *p, u32 sz) { in parser_get() argument
185 if (sz > p->size) { in parser_get()
189 p->size -= sz; in parser_get()
191 p->p += sz; in parser_get()
200 buf_t *new_buf_sz(u32 sz) { in new_buf_sz() argument
202 b->size = sz; in new_buf_sz()
204 b->p = malloc(sz); in new_buf_sz()
378 void *txn_get(txn_t *t, u32 sz) { in txn_get() argument
379 sz = (sz + 3) & ~3u; in txn_get()
380 if (sz > t->size - t->parsed) in txn_get()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTestImpl.java1442 for (Size sz : standardSizes) { in getMaxSupportedEncoderSize()
1444 MIME_TYPE, sz.getWidth(), sz.getHeight()); in getMaxSupportedEncoderSize()
1448 if (sz.getWidth() == 1920 && sz.getHeight() == 1080) { in getMaxSupportedEncoderSize()
1450 } else if (sz.getWidth() == 1280 && sz.getHeight() == 720) { in getMaxSupportedEncoderSize()
1452 } else if (sz.getWidth() == 800 && sz.getHeight() == 480) { in getMaxSupportedEncoderSize()
1460 return sz; in getMaxSupportedEncoderSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java174 private int getVideoBitRate(Camera.Size sz) { in getVideoBitRate() argument
176 float scaleFactor = sz.height * sz.width / (float)(1280 * 720); in getVideoBitRate()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2171 for (Size sz: availableSizes) { in getSortedSizesForInputFormat()
2172 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSortedSizesForInputFormat()
2173 sizes.add(sz); in getSortedSizesForInputFormat()
/cts/tests/tests/media/assets/hls_variant/344388/
D04.ts410 �Q[/,�s6�I�A!-sz�! w��=?'F�ܳ�& )�5zTDH�.�'>�$���V�G7T�������������������������������������…
1170 … 2��yz�vj������������f���H�F����o&�@�P�kQ֔�W@�Ijpgeɗ���;��"3��sz���`�*���/���|4�6;…
D02.ts1572 DЎ��ek��!u��G��_�sz�pG OU����ߚ.{�<˒0��^���믽�Z2��A7�B(-]�-�1q�yӉ7�4ڷ��k{0$R�H.��~{ʢ���J��
/cts/tests/tests/media/assets/hls_variant/387360/
D08.ts275 �]}�sz
/cts/tests/tests/media/assets/hls_variant/765178/
D23.ts294 …���������������������������������������������������������������������������sz�"m�����.'�犭O�x�Q…
1403 …譟�B�P������x#FjOo6����f̯C�}�}%�%������d0‹:'9h0���XZ���������l��7szԽ*��۔{�j�kɁ��4�[�)_…
2034 …������������������������������������������������������������������������;���N��lr�sz�+^'*�אT5$�
D22.ts1360 ��ҁ<���"K\sz�� ��(��xF�.G�����ă �{��
2970 1szs3���� ���A�6zR+�� �b

12