Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 85) 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/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/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/camera/src/android/hardware/camera2/cts/
DRecordingTest.java692 for (Size sz : mOrderedPreviewSizes) { in videoPreviewSurfaceSharingTestByCamera()
693 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
698 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in videoPreviewSurfaceSharingTestByCamera()
705 "_" + sz.toString() + ".mp4"; in videoPreviewSurfaceSharingTestByCamera()
728 prepareRecording(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
731 updatePreviewSurfaceWithVideo(sz, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
757 validateRecording(sz, durationMinMs, durationMaxMs, in videoPreviewSurfaceSharingTestByCamera()
1191 for (Size sz : mSupportedVideoSizes) { in recordingSizeTestByCamera()
1192 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1197 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in recordingSizeTestByCamera()
[all …]
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()
DImageReaderTest.java1055 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
1058 Log.v(TAG, "Testing size " + sz.toString() + " format " + format in bufferFormatTestByCamera()
1065 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, usageFlag, mListener); in bufferFormatTestByCamera()
1067 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera()
1084 validateImage(sz, format, numFrameVerified, repeating); in bufferFormatTestByCamera()
1088 validateCaptureResult(format, sz, listener, numFrameVerified); in bufferFormatTestByCamera()
1110 for (Size sz : availableSizes) { in bufferFormatLongProcessingTimeTestByCamera()
1111 Log.v(TAG, "testing size " + sz.toString()); in bufferFormatLongProcessingTimeTestByCamera()
1114 Log.v(TAG, "Testing long processing time: size " + sz.toString() + " format " + in bufferFormatLongProcessingTimeTestByCamera()
1120 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatLongProcessingTimeTestByCamera()
[all …]
DExtendedCameraCharacteristicsTest.java306 for (Size sz : videoSizes) { in testAvailableStreamConfigs()
308 android.media.MediaRecorder.class, sz); in testAvailableStreamConfigs()
311 maxVideoSize = sz; in testAvailableStreamConfigs()
461 for (Size sz : recommendedSizes) { in verifyCommonRecommendedConfiguration()
463 "format: %d for ID: %s", sz.toString(), format, id), in verifyCommonRecommendedConfiguration()
464 exhaustiveSizes, sz); in verifyCommonRecommendedConfiguration()
466 long recommendedMinDuration = config.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
467 long availableMinDuration = fullConfig.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
471 sz.toString(), format, availableMinDuration, id), in verifyCommonRecommendedConfiguration()
473 long recommendedStallDuration = config.getOutputStallDuration(format, sz); in verifyCommonRecommendedConfiguration()
[all …]
DRobustnessTest.java2074 Size sz = maxSizes.getMaxInputSizeForFormat(combination[i]); in isMandatoryCombinationAvailable() local
2076 new Boolean(true)), sz)); in isMandatoryCombinationAvailable() local
2078 new Boolean(false)), sz)); in isMandatoryCombinationAvailable() local
2080 Size sz = maxSizes.getOutputSizeForFormat(combination[i], combination[i+1]); in isMandatoryCombinationAvailable() local
2082 new Boolean(false)), sz)); in isMandatoryCombinationAvailable() local
2492 for (Size sz: videoSizeArr) { in getMaxExternalRecordingSize()
2493 if (sz.getWidth() <= FULLHD.getWidth() && sz.getHeight() <= FULLHD.getHeight()) { in getMaxExternalRecordingSize()
2494 sizes.add(sz); in getMaxExternalRecordingSize()
2498 for (Size sz : videoSizes) { in getMaxExternalRecordingSize()
2500 android.media.MediaRecorder.class, sz); in getMaxExternalRecordingSize()
[all …]
DOfflineSessionTest.java554 for (Size sz : mOrderedPreviewSizes) { in camera2OfflineSessionTest()
555 if (sz.getWidth() <= MANDATORY_STREAM_BOUND.getWidth() && sz.getHeight() <= in camera2OfflineSessionTest()
557 previewSize = sz; in camera2OfflineSessionTest()
DSurfaceViewPreviewTest.java785 for (final Size sz : previewSizes) { in previewTestByCamera()
787 Log.v(TAG, "Testing camera preview size: " + sz.toString()); in previewTestByCamera()
796 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.java398 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument
399 mSize = sz; in ImageVerifierListener()
1487 for (Size sz: rawSizes) { in getSupportedPreviewSizes()
1488 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1489 sizes.add(sz); in getSupportedPreviewSizes()
1534 for (Size sz : sizes) { in getSortedSizesForFormat()
1535 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1536 sortedSizes.add(sz); in getSortedSizesForFormat()
1575 for (Size sz: rawSizes) { in getSupportedVideoSizes()
1576 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.java1433 for (Size sz : standardSizes) { in getMaxSupportedEncoderSize()
1435 MIME_TYPE, sz.getWidth(), sz.getHeight()); in getMaxSupportedEncoderSize()
1439 if (sz.getWidth() == 1920 && sz.getHeight() == 1080) { in getMaxSupportedEncoderSize()
1441 } else if (sz.getWidth() == 1280 && sz.getHeight() == 720) { in getMaxSupportedEncoderSize()
1443 } else if (sz.getWidth() == 800 && sz.getHeight() == 480) { in getMaxSupportedEncoderSize()
1451 return sz; in getMaxSupportedEncoderSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java177 private int getVideoBitRate(Camera.Size sz) { in getVideoBitRate() argument
179 float scaleFactor = sz.height * sz.width / (float)(1280 * 720); in getVideoBitRate()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java2111 for (Size sz: availableSizes) { in getSortedSizesForInputFormat()
2112 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSortedSizesForInputFormat()
2113 sizes.add(sz); in getSortedSizesForInputFormat()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1339 for (Camera.Size sz : parameters.getSupportedVideoSizes()) { in setupExternalCameraRecord()
1340 if (sz.width >= DEFAULT_VIDEO_WIDTH && sz.height >= DEFAULT_VIDEO_HEIGHT) { in setupExternalCameraRecord()
1341 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
/cts/tests/tests/media/assets/hls_variant/387360/
D08.ts275 �]}�sz

1234