Home
last modified time | relevance | path

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

1234

/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/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java567 for (Size sz : mOrderedPreviewSizes) { in videoPreviewSurfaceSharingTestByCamera()
568 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
573 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in videoPreviewSurfaceSharingTestByCamera()
580 "_" + sz.toString() + ".mp4"; in videoPreviewSurfaceSharingTestByCamera()
603 prepareRecording(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
606 updatePreviewSurfaceWithVideo(sz, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
632 validateRecording(sz, durationMinMs, durationMaxMs, in videoPreviewSurfaceSharingTestByCamera()
1060 for (Size sz : mSupportedVideoSizes) { in recordingSizeTestByCamera()
1061 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1066 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in recordingSizeTestByCamera()
[all …]
DHeifWriterTest.java106 for (Size sz : availableSizes) { in testHeif()
111 int width = sz.getWidth(); in testHeif()
112 int height = sz.getHeight(); in testHeif()
115 Log.v(TAG, "Testing size " + sz.toString() + " format PRIVATE" in testHeif()
122 builder.setSize(sz); in testHeif()
196 ImageFormat.PRIVATE, sz, listener, numImages); in testHeif()
285 Builder setSize(Size sz) { in setSize() argument
286 mWidth = sz.getWidth(); in setSize()
287 mHeight = sz.getHeight(); in setSize()
DImageReaderTest.java1012 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
1015 Log.v(TAG, "Testing size " + sz.toString() + " format " + format in bufferFormatTestByCamera()
1022 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, usageFlag, mListener); in bufferFormatTestByCamera()
1024 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera()
1041 validateImage(sz, format, numFrameVerified, repeating); in bufferFormatTestByCamera()
1045 validateCaptureResult(format, sz, listener, numFrameVerified); in bufferFormatTestByCamera()
1067 for (Size sz : availableSizes) { in bufferFormatLongProcessingTimeTestByCamera()
1068 Log.v(TAG, "testing size " + sz.toString()); in bufferFormatLongProcessingTimeTestByCamera()
1071 Log.v(TAG, "Testing long processing time: size " + sz.toString() + " format " + in bufferFormatLongProcessingTimeTestByCamera()
1077 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatLongProcessingTimeTestByCamera()
[all …]
DExtendedCameraCharacteristicsTest.java298 for (Size sz : videoSizes) { in testAvailableStreamConfigs()
300 android.media.MediaRecorder.class, sz); in testAvailableStreamConfigs()
303 maxVideoSize = sz; in testAvailableStreamConfigs()
453 for (Size sz : recommendedSizes) { in verifyCommonRecommendedConfiguration()
455 "format: %d for ID: %s", sz.toString(), format, id), in verifyCommonRecommendedConfiguration()
456 exhaustiveSizes, sz); in verifyCommonRecommendedConfiguration()
458 long recommendedMinDuration = config.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
459 long availableMinDuration = fullConfig.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
463 sz.toString(), format, availableMinDuration, id), in verifyCommonRecommendedConfiguration()
465 long recommendedStallDuration = config.getOutputStallDuration(format, sz); in verifyCommonRecommendedConfiguration()
[all …]
DSurfaceViewPreviewTest.java781 for (final Size sz : previewSizes) { in previewTestByCamera()
783 Log.v(TAG, "Testing camera preview size: " + sz.toString()); in previewTestByCamera()
792 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DIccUtils.java59 int sz = s.length(); in hexStringToBytes() local
61 ret = new byte[sz/2]; in hexStringToBytes()
63 for (int i=0 ; i <sz ; i+=2) { in hexStringToBytes()
/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/tools/vm-tests-tf/src/dot/junit/opcodes/new_array/d/
DT_new_array_2.java21 public boolean[] run(int sz) { in run() argument
22 return new boolean[sz]; in run()
DT_new_array_1.java21 public int[] run(int sz) { in run() argument
22 return new int[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/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java271 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument
272 mSize = sz; in ImageVerifierListener()
1260 for (Size sz: rawSizes) { in getSupportedPreviewSizes()
1261 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1262 sizes.add(sz); in getSupportedPreviewSizes()
1307 for (Size sz : sizes) { in getSortedSizesForFormat()
1308 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1309 sortedSizes.add(sz); in getSortedSizesForFormat()
1348 for (Size sz: rawSizes) { in getSupportedVideoSizes()
1349 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/
DEncodeVirtualDisplayWithCompositionTest.java1508 for (Size sz : standardSizes) { in getMaxSupportedEncoderSize()
1510 MIME_TYPE, sz.getWidth(), sz.getHeight()); in getMaxSupportedEncoderSize()
1514 if (sz.getWidth() == 1920 && sz.getHeight() == 1080) { in getMaxSupportedEncoderSize()
1516 } else if (sz.getWidth() == 1280 && sz.getHeight() == 720) { in getMaxSupportedEncoderSize()
1518 } else if (sz.getWidth() == 800 && sz.getHeight() == 480) { in getMaxSupportedEncoderSize()
1526 return sz; in getMaxSupportedEncoderSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java181 private int getVideoBitRate(Camera.Size sz) { in getVideoBitRate() argument
183 float scaleFactor = sz.height * sz.width / (float)(1280 * 720); in getVideoBitRate()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1300 for (Camera.Size sz : parameters.getSupportedVideoSizes()) { in setupExternalCameraRecord()
1301 if (sz.width >= DEFAULT_VIDEO_WIDTH && sz.height >= DEFAULT_VIDEO_HEIGHT) { in setupExternalCameraRecord()
1302 videoSize = sz; in setupExternalCameraRecord()
/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;…
D19.ts139 …g�0E��+�|jL`�H8e@rY�-�>�~�X�\}���0����W[�D\�{�L�G�,��W��;�'�h�˺�sz�|��ꌙ�=p�.82�7Àtq��…
/cts/tests/tests/media/assets/hls_variant/765178/
D02.ts368 2q���QR�s�;��N�j������c��֑�sz
2128 �˫�E6}%=�q���D����q�!6-��M�@б'Md��%�1�-��7sz�����}v�C���-�Ra��> O�"���J�P��9=����ZjL�����…
D09.ts1060 ���sz!���������G��C�@#c��&�<��\3��m�&8� �]�b&�h�����h�9�7��_�0�3ݛ{Rpe ]g6����ex�/�t���k6UЦ…
1635 ��Ob����n�$aJFq$�Q�q�Җ�X{*,����sz��`o�&�#ӵs�3�%y�ճJ
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$�
/cts/tests/tests/media/assets/hls_variant/387360/
D08.ts275 �]}�sz
D09.ts1298 g��n<�a�CV�KD�J<sz�=��������F$��G�|[X���e���>� L���J<=�4M�]����} �TG�f��H�U�<w�]�g�.L�Ebj…
D17.ts975 P�F��9���Iz����;�;�#���z����� �-�sY�Ј�rO����R�5u�l�#������)K�3~szJ�U~0����<3�RG�8�����…

1234