Home
last modified time | relevance | path

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

/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_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/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()
118 int width = sz.getWidth(); in testHeif()
119 int height = sz.getHeight(); in testHeif()
122 Log.v(TAG, "Testing size " + sz.toString() + " format PRIVATE" in testHeif()
129 builder.setSize(sz); in testHeif()
203 ImageFormat.PRIVATE, sz, listener, numImages); in testHeif()
296 Builder setSize(Size sz) { in setSize() argument
297 mWidth = sz.getWidth(); in setSize()
298 mHeight = sz.getHeight(); in setSize()
DRecordingTest.java1053 for (Size sz : mOrderedPreviewSizes) { in videoPreviewSurfaceSharingTestByCamera()
1054 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
1059 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in videoPreviewSurfaceSharingTestByCamera()
1066 "_" + sz.toString() + ".mp4"; in videoPreviewSurfaceSharingTestByCamera()
1089 prepareRecording(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
1092 updatePreviewSurfaceWithVideo(sz, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
1118 validateRecording(sz, durationMinMs, durationMaxMs, in videoPreviewSurfaceSharingTestByCamera()
1687 for (Size sz : mSupportedVideoSizes) { in recordingSizeTestByCamera()
1688 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1693 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in recordingSizeTestByCamera()
[all …]
DImageReaderTest.java1755 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
1758 if (secureDataSize != null && !secureDataSize.equals(sz)) { in bufferFormatTestByCamera()
1763 Log.v(TAG, "Testing size " + sz.toString() + " format " + format in bufferFormatTestByCamera()
1770 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, usageFlag, mListener); in bufferFormatTestByCamera()
1772 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera()
1826 validateImage(sz, format, numFrameVerified, repeating, colorSpace); in bufferFormatTestByCamera()
1830 validateCaptureResult(format, sz, listener, numFrameVerified); in bufferFormatTestByCamera()
1856 for (Size sz : testSizes) { in bufferFormatLongProcessingTimeTestByCamera()
1857 Log.v(TAG, "testing size " + sz.toString()); in bufferFormatLongProcessingTimeTestByCamera()
1860 Log.v(TAG, "Testing long processing time: size " + sz.toString() + " format " + in bufferFormatLongProcessingTimeTestByCamera()
[all …]
DExtendedCameraCharacteristicsTest.java396 for (Size sz : videoSizes) { in testAvailableStreamConfigs()
398 android.media.MediaRecorder.class, sz); in testAvailableStreamConfigs()
401 maxVideoSize = sz; in testAvailableStreamConfigs()
680 for (Size sz : recommendedSizes) { in verifyCommonRecommendedConfiguration()
682 "format: %d for ID: %s", sz.toString(), format, id), in verifyCommonRecommendedConfiguration()
683 exhaustiveSizes, sz); in verifyCommonRecommendedConfiguration()
685 long recommendedMinDuration = config.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
686 long availableMinDuration = fullConfig.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
690 sz.toString(), format, availableMinDuration, id), in verifyCommonRecommendedConfiguration()
692 long recommendedStallDuration = config.getOutputStallDuration(format, sz); in verifyCommonRecommendedConfiguration()
[all …]
DOfflineSessionTest.java563 for (Size sz : mOrderedPreviewSizes) { in camera2OfflineSessionTest()
564 if (sz.getWidth() <= MANDATORY_STREAM_BOUND.getWidth() && sz.getHeight() <= in camera2OfflineSessionTest()
566 previewSize = sz; in camera2OfflineSessionTest()
DDngCreatorTest.java971 private Pair<Image, CaptureResult> captureReprocessedRawShot(Size sz, in captureReprocessedRawShot() argument
979 new InputConfiguration(sz.getWidth(), sz.getHeight(), ImageFormat.RAW_SENSOR); in captureReprocessedRawShot()
1103 private List<Pair<List<Image>, CaptureResult>> captureRawShots(Size sz, in captureRawShots() argument
1125 if (targetCaptureSizes[i].equals(sz)) { in captureRawShots()
DSurfaceViewPreviewTest.java741 for (final Size sz : previewSizes) { in previewTestByCamera()
743 Log.v(TAG, "Testing camera preview size: " + sz.toString()); in previewTestByCamera()
752 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
DCameraExtensionCharacteristicsTest.java290 for (Size sz : extensionSizes) { in testExtensionLatencyRanges()
292 extension, sz, testFormat); in testExtensionLatencyRanges()
DRobustnessTest.java2950 Size sz = maxSizes.getMaxInputSizeForFormat(combination[i], combination[i + 1]); in isMandatoryCombinationAvailable() local
2952 new Boolean(true)), sz)); in isMandatoryCombinationAvailable() local
2954 new Boolean(false)), sz)); in isMandatoryCombinationAvailable() local
2956 Size sz = maxSizes.getOutputSizeForFormat(combination[i], combination[i+1]); in isMandatoryCombinationAvailable() local
2958 new Boolean(false)), sz)); in isMandatoryCombinationAvailable() local
/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/media/jni/
DNativeMediaFormatUnitTest.cpp113 size_t sz = strlen(story) + 1; in NativeMediaFormatUnitTest() local
114 auto* quote = new Buffer{new char[sz], sz}; in NativeMediaFormatUnitTest()
115 memcpy(quote->buffer, story, sz); in NativeMediaFormatUnitTest()
117 sz = strlen(dragon) + 1; in NativeMediaFormatUnitTest()
118 auto* chess = new Buffer(new char[sz], sz); in NativeMediaFormatUnitTest()
119 memcpy(chess->buffer, dragon, sz); in NativeMediaFormatUnitTest()
515 int sz = offset == 0 ? it.first->size : it.first->size / 2; in configureFormatBuffer() local
516 AMediaFormat_setBuffer(fmt, it.second, it.first->buffer + it.first->size - sz, sz); in configureFormatBuffer()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java577 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument
578 mSize = sz; in ImageVerifierListener()
2091 for (Size sz: rawSizes) { in getSupportedPreviewSizes()
2092 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
2093 sizes.add(sz); in getSupportedPreviewSizes()
2149 for (Size sz : sizes) { in getSortedSizesForFormat()
2150 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
2151 sortedSizes.add(sz); in getSortedSizesForFormat()
2190 for (Size sz: rawSizes) { in getSupportedVideoSizes()
2191 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/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayWithCompositionTestImpl.java1440 for (Size sz : standardSizes) { in getMaxSupportedEncoderSize()
1442 MIME_TYPE, sz.getWidth(), sz.getHeight()); in getMaxSupportedEncoderSize()
1446 if (sz.getWidth() == 1920 && sz.getHeight() == 1080) { in getMaxSupportedEncoderSize()
1448 } else if (sz.getWidth() == 1280 && sz.getHeight() == 720) { in getMaxSupportedEncoderSize()
1450 } else if (sz.getWidth() == 800 && sz.getHeight() == 480) { in getMaxSupportedEncoderSize()
1458 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.java2321 for (Size sz: availableSizes) { in getSortedSizesForInputFormat()
2322 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSortedSizesForInputFormat()
2323 sizes.add(sz); in getSortedSizesForInputFormat()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts3404 R7���Y��mZ�[�!U��sz��fB�o�a���7�g�6&��}�܃���jmS%�ɰ���@�ssG�1#�sVfjd�p�9� �[�&h…
3424 …�����63�Y!ͮ�+hkzO65n{ckG�6�zF�B�y��l��g+Kk. =j�������!�7U��Z�˿�[�u��ŧ�<sz�ݵ�+Xzn����Y�cT���>�…
3451 o`/���%���s��ۻE�V��_�j����)�Y=� f��5��sz=�F珛7��s�ȕ[� ��՝�Bj�l�c6ᑫx�%���j6�f[�e�=�b�6�'�M���…
Dcve_2019_2244.ts3405 R7���Y��mZ�[�!U��sz��fB�o�a���7�g�6&��}�܃���jmS%�ɰ���@�ssG�1#�sVfjd�p�9� �[�&h…
3425 …�����63�Y!ͮ�+hkzO65n{ckG�6�zF�B�y��l��g+Kk. =j�������!�7U��Z�˿�[�u��ŧ�<sz�ݵ�+Xzn����Y�cT���>�…
3452 o`/���%���s��ۻE�V��_�j����)�Y=� f��5��sz=�F珛7��s�ȕ[� ��՝�Bj�l�c6ᑫx�%���j6�f[�e�=�b�6�'�M���…
Dcve_2019_2245.ts3442 o`/���%���s��ۻE�V��_�j����)�Y=� f��5��sz=�F珛7��s�ȕ[� ��՝�Bj�l�c6ᑫx�%���j6�f[�e�=�b�6�'�M���…
7115 …�ڏ�%j$��1#&�Z u�ϙi�͎�� D��E# ���598���G�1�71:�g�f���t��ɕ��J�x��sz-\IcPln���@�ݰh3�d��…