/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Intrinsic3DLut.java | 28 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()
|
D | AtomicTest.java | 43 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/ |
D | T_new_array_2.java | 21 public boolean[] run(int sz) { in run() argument 22 return new boolean[sz]; in run()
|
D | T_new_array_1.java | 21 public int[] run(int sz) { in run() argument 22 return new int[sz]; in run()
|
D | T_new_array_3.java | 21 public Object[] run(int sz) { in run() argument 22 return new Object[sz]; in run()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | IccUtils.java | 54 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/ |
D | HeifWriterTest.java | 112 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()
|
D | RecordingTest.java | 1053 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 …]
|
D | ImageReaderTest.java | 1755 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 …]
|
D | ExtendedCameraCharacteristicsTest.java | 396 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 …]
|
D | OfflineSessionTest.java | 563 for (Size sz : mOrderedPreviewSizes) { in camera2OfflineSessionTest() 564 if (sz.getWidth() <= MANDATORY_STREAM_BOUND.getWidth() && sz.getHeight() <= in camera2OfflineSessionTest() 566 previewSize = sz; in camera2OfflineSessionTest()
|
D | DngCreatorTest.java | 971 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()
|
D | SurfaceViewPreviewTest.java | 741 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()
|
D | CameraExtensionCharacteristicsTest.java | 290 for (Size sz : extensionSizes) { in testExtensionLatencyRanges() 292 extension, sz, testFormat); in testExtensionLatencyRanges()
|
D | RobustnessTest.java | 2950 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/ |
D | Matrix.cpp | 152 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/ |
D | NativeMediaFormatUnitTest.cpp | 113 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/ |
D | CameraTestUtils.java | 577 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/ |
D | android_security_cts_cve_2019_2213_Test.c | 184 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/ |
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 1440 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/ |
D | CameraVideoActivity.java | 174 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/ |
D | StaticMetadata.java | 2321 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/ |
D | cve_2018_13925.ts | 3404 R7���Y��mZ�[�!U��sz��fB�o�a���7�g�6&��}�܃���jmS%�ɰ��@�ssG1#�sVfjd�p�9� �[�&h… 3424 …�����63Y!ͮ�+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���…
|
D | cve_2019_2244.ts | 3405 R7���Y��mZ�[�!U��sz��fB�o�a���7�g�6&��}�܃���jmS%�ɰ��@�ssG1#�sVfjd�p�9� �[�&h… 3425 …�����63Y!ͮ�+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���…
|
D | cve_2019_2245.ts | 3442 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#&�Zu�ϙi�͎�� D��E# ���598���G1�71:�g�f���tɕ��J�x��sz-\IcPln���@�ݰh3�d��…
|