/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | set_object.rscript | 10 rs_allocation dst; 11 rsSetObject(&dst,in->allocation); 12 *out = ( dst.p == in->allocation.p ? 1 : 0 ); 21 rs_element dst; 22 rsSetObject(&dst,in->element); 23 *out = ( dst.p == in->element.p ? 1 : 0 ); 32 rs_sampler dst; 33 rsSetObject(&dst,in->sampler); 34 *out = ( dst.p == in->sampler.p ? 1 : 0 ); 43 rs_script dst; [all …]
|
D | ImageProcessingTest.java | 124 Allocation dst = creatAllocation(w, h); in testBlend() local 133 dst.copyFromUnchecked(dstData); in testBlend() 137 mBlend.forEachSrc(src, dst); in testBlend() 140 mBlend.forEachDst(src, dst); in testBlend() 143 mBlend.forEachSrcOver(src, dst); in testBlend() 146 mBlend.forEachDstOver(src, dst); in testBlend() 149 mBlend.forEachSrcIn(src, dst); in testBlend() 152 mBlend.forEachDstIn(src, dst); in testBlend() 155 mBlend.forEachSrcOut(src, dst); in testBlend() 158 mBlend.forEachDstOut(src, dst); in testBlend() [all …]
|
D | AllocationTest.java | 303 float src[], dst[]; in helperFloatCopy() local 305 dst = new float[nElems]; in helperFloatCopy() 308 dst[offset + i] = -1.0f; in helperFloatCopy() 317 A.copyTo(dst); in helperFloatCopy() 320 assertEquals(dst[offset + i], src[i]); in helperFloatCopy() 329 byte src[], dst[]; in helperByteCopy() 331 dst = new byte[nElems]; in helperByteCopy() 334 dst[offset + i] = -1; in helperByteCopy() 343 A.copyTo(dst); in helperByteCopy() 346 assertEquals(dst[offset + i], src[i]); in helperByteCopy() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CtsUtilsTest.java | 46 final FakeImage dst = FakeImage.createYuv420(w, h, 14, 10, 8); in testCopyYuv() local 52 CameraTestUtils.imageCopy(src, dst); in testCopyYuv() 54 checkPlane("Y", w, h, src.planes[0], dst.planes[0]); in testCopyYuv() 55 checkPlane("U", w/2, h/2, src.planes[1], dst.planes[1]); in testCopyYuv() 56 checkPlane("V", w/2, h/2, src.planes[2], dst.planes[2]); in testCopyYuv() 64 final FakeImage dst = FakeImage.createRaw(w, h, 21); in testCopyPad0to0() local 67 CameraTestUtils.imageCopy(src, dst); in testCopyPad0to0() 69 checkPlane("RAW", w, h, src.planes[0], dst.planes[0]); in testCopyPad0to0() 77 final FakeImage dst = FakeImage.createRaw(w, h, 24); in testCopyPad3to3() local 80 CameraTestUtils.imageCopy(src, dst); in testCopyPad3to3() [all …]
|
D | BurstCaptureRawTest.java | 628 private void copyBurstRequetBuilder(CaptureRequest.Builder dst, CaptureRequest.Builder src) in copyBurstRequetBuilder() argument 630 dst.set(CaptureRequest.CONTROL_AE_MODE, src.get(CaptureRequest.CONTROL_AE_MODE)); in copyBurstRequetBuilder() 631 dst.set(CaptureRequest.CONTROL_AWB_MODE, src.get(CaptureRequest.CONTROL_AWB_MODE)); in copyBurstRequetBuilder() 632 dst.set(CaptureRequest.NOISE_REDUCTION_MODE, src.get(CaptureRequest.NOISE_REDUCTION_MODE)); in copyBurstRequetBuilder() 633 dst.set(CaptureRequest.EDGE_MODE, src.get(CaptureRequest.EDGE_MODE)); in copyBurstRequetBuilder() 634 dst.set(CaptureRequest.SENSOR_FRAME_DURATION, in copyBurstRequetBuilder() 636 dst.set(CaptureRequest.SENSOR_EXPOSURE_TIME, src.get(CaptureRequest.SENSOR_EXPOSURE_TIME)); in copyBurstRequetBuilder() 637 dst.set(CaptureRequest.SENSOR_SENSITIVITY, src.get(CaptureRequest.SENSOR_SENSITIVITY)); in copyBurstRequetBuilder()
|
D | NativeCameraDeviceTest.java | 169 private static native boolean testCameraDeviceSharedOutputUpdate(Surface src, Surface dst, in testCameraDeviceSharedOutputUpdate() argument
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MatrixTest.java | 231 float[] dst = new float[9]; in testIdentityMatrixSetPolyToPoly() local 232 dst[0] = 200f; in testIdentityMatrixSetPolyToPoly() 233 dst[1] = 300f; in testIdentityMatrixSetPolyToPoly() 234 Matrix.IDENTITY_MATRIX.setPolyToPoly(src, 0, dst, 0, 1); in testIdentityMatrixSetPolyToPoly() 544 float[] dst = new float[9]; in testSetPolyToPoly() local 545 dst[0] = 200f; in testSetPolyToPoly() 546 dst[1] = 300f; in testSetPolyToPoly() 547 assertTrue(mMatrix.setPolyToPoly(src, 0, dst, 0, 1)); in testSetPolyToPoly() 550 mMatrix.setPolyToPoly(src, 0, dst, 0, 5); in testSetPolyToPoly() 571 float[] dst = new float[9]; in testMapPoints2() local [all …]
|
D | PaintFlagsDrawFilterTest.java | 135 Bitmap dst = Bitmap.createBitmap(kWidth * kScale, kHeight * kScale, Config.ARGB_8888); in testPaintFlagsDrawFilter2() local 136 Canvas canvas = new Canvas(dst); in testPaintFlagsDrawFilter2() 144 verifyContainsOnlyBlackAndWhite(dst); in testPaintFlagsDrawFilter2() 150 verifyContainsNonBW(dst); in testPaintFlagsDrawFilter2() 158 verifyContainsOnlyBlackAndWhite(dst); in testPaintFlagsDrawFilter2() 165 verifyContainsNonBW(dst); in testPaintFlagsDrawFilter2()
|
D | PathMeasureTest.java | 132 Path dst = new Path(); in testGetSegment() local 133 assertTrue(mPathMeasure.getSegment(0, mPathMeasure.getLength(), dst, true)); in testGetSegment() 134 assertFalse(mPathMeasure.getSegment(mPathMeasure.getLength(), 0, dst, true)); in testGetSegment() local
|
D | BitmapColorSpaceTest.java | 406 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifyGetPixel() local 407 b.copyPixelsToBuffer(dst); in verifyGetPixel() 408 dst.rewind(); in verifyGetPixel() 411 assertEquals(rawColor, dst.asIntBuffer().get()); in verifyGetPixel() 439 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifyGetPixels() local 440 b.copyPixelsToBuffer(dst); in verifyGetPixels() 441 dst.rewind(); in verifyGetPixels() 444 int expected = convertPremulColorToColorInt(dst.asIntBuffer().get(), b.getColorSpace()); in verifyGetPixels() 504 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifySetPixel() local 505 b.copyPixelsToBuffer(dst); in verifySetPixel() [all …]
|
D | RegionTest.java | 1447 Region dst = new Region(); in testTranslate2() local 1451 mRegion.translate(10, 10, dst); in testTranslate2() 1454 assertNotSame(rect1, dst.getBounds()); in testTranslate2() 1455 assertEquals(rect2, dst.getBounds()); in testTranslate2() 1468 Region dst = Region.CREATOR.createFromParcel(p); in testWriteToParcel() local 1469 assertTrue(dst.isEmpty()); in testWriteToParcel() 1478 dst = Region.CREATOR.createFromParcel(p); in testWriteToParcel() 1479 assertEquals(oriRect.top, dst.getBounds().top); in testWriteToParcel() 1480 assertEquals(oriRect.left, dst.getBounds().left); in testWriteToParcel() 1481 assertEquals(oriRect.bottom, dst.getBounds().bottom); in testWriteToParcel() [all …]
|
D | PathTest.java | 165 Path dst = new Path(); in testTransform1() local 167 path.transform(new Matrix(), dst); in testTransform1() 168 assertFalse(dst.isEmpty()); in testTransform1() 428 Path dst = new Path(); in testOffset1() local 429 path.offset(XCOORD, YCOORD, dst); in testOffset1() 430 assertFalse(dst.isEmpty()); in testOffset1()
|
D | BitmapTest.java | 263 for (Config dst : supportedConfigs) { in testCopyConfigs() 266 Bitmap dstBitmap = srcBitmap.copy(dst, false); in testCopyConfigs() 267 assertNotNull("Should support copying from " + src + " to " + dst, in testCopyConfigs() 269 if (Config.ALPHA_8 == dst || Config.ALPHA_8 == src) { in testCopyConfigs() 272 + dst, Color.BLACK, dstBitmap.getPixel(0, 0)); in testCopyConfigs() 275 + dst, Color.WHITE, dstBitmap.getPixel(0, 0)); in testCopyConfigs() 468 Bitmap dst = Bitmap.createBitmap(src, 0, 0, 2, 2, null, false); in testCreateBitmap_matrix() local 469 assertTrue(dst.isMutable()); in testCreateBitmap_matrix() 470 verify2x2BitmapContents(colorArray, dst); in testCreateBitmap_matrix() 474 dst = Bitmap.createBitmap(src, 0, 0, 2, 2, matrix, false); in testCreateBitmap_matrix() [all …]
|
D | YuvImageTest.java | 485 Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in generateTestBitmaps() local 486 Canvas c = new Canvas(dst); in generateTestBitmaps() 492 mTestBitmaps[0] = dst; in generateTestBitmaps()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_allocation.cpp | 164 T* dst = new T[arrLen]; in helperCopy1D() local 168 dst[iOffset + i] = (T)(-1); in helperCopy1D() 176 alloc->copy1DTo(dst); in helperCopy1D() 179 if (dst[iOffset + i] != src[i]) { in helperCopy1D() 186 delete[] dst; in helperCopy1D() 197 float *src, *dst; in helperFloatAllocationCopy1D() local 199 dst = new float[cellCount]; in helperFloatAllocationCopy1D() 202 dst[i] = -1.0f; in helperFloatAllocationCopy1D() 209 dstA->copy1DTo(dst); in helperFloatAllocationCopy1D() 212 if (dst[offset + i] != src[offset + i]) { in helperFloatAllocationCopy1D() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/ |
D | poc.cpp | 86 DestinationBuffer dst; in thread_func() local 87 dst.type = BufferType::SHARED_MEMORY; in thread_func() 88 dst.nonsecureMemory = src; in thread_func() 102 ScramblingControl::EVENKEY, subsamples, src, 0, dst, 0, in thread_func()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | VideoCodecTestBase.java | 436 byte[] dst = new byte[width * height * 3 / 2]; in PackYUV420() 439 System.arraycopy(src, (i + top) * stride + left, dst, i * width, width); in PackYUV420() 451 dst, u_dst_offset + i * (width / 2), width / 2); in PackYUV420() 453 dst, v_dst_offset + i * (width / 2), width / 2); in PackYUV420() 455 return dst; in PackYUV420() 460 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) { in imageUpscale1To2() argument 471 dst[dstOffset0++] = (byte)pixel00; in imageUpscale1To2() 472 dst[dstOffset0++] = (byte)((pixel00 + pixel01 + 1) / 2); in imageUpscale1To2() 473 dst[dstOffset1++] = (byte)((pixel00 + pixel10 + 1) / 2); in imageUpscale1To2() 474 dst[dstOffset1++] = (byte)((pixel00 + pixel01 + pixel10 + pixel11 + 2) / 4); in imageUpscale1To2() [all …]
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_BasicVulkanGpuTest.cpp | 108 uint8_t *dst = bufferAddr; in verifyBasicBufferImport() local 111 uint8_t *target = dst + ((y * hwbDesc.stride * formatDesc.pixelWidth) + in verifyBasicBufferImport()
|
D | android_graphics_cts_ComputeAhbTest.cpp | 272 uint8_t *dst = bufferAddr; in verifyComputeShaderWrite() local 275 uint8_t *target = dst + ((y * hwbDesc.stride * 4) + in verifyComputeShaderWrite()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 601 ByteBuffer dst = ByteBuffer.allocateDirect(bitmap.getAllocationByteCount()); in testWideGamutWindowProducerCopyToRGBA16F() local 602 bitmap.copyPixelsToBuffer(dst); in testWideGamutWindowProducerCopyToRGBA16F() 603 dst.rewind(); in testWideGamutWindowProducerCopyToRGBA16F() 604 dst.order(ByteOrder.LITTLE_ENDIAN); in testWideGamutWindowProducerCopyToRGBA16F() 607 assertEqualsRgba16f("Top left", bitmap, 32, 32, dst, expectedRed[0], in testWideGamutWindowProducerCopyToRGBA16F() 610 assertEqualsRgba16f("Top right", bitmap, 96, 32, dst, in testWideGamutWindowProducerCopyToRGBA16F() 613 assertEqualsRgba16f("Bottom left", bitmap, 32, 96, dst, in testWideGamutWindowProducerCopyToRGBA16F() 616 assertEqualsRgba16f("Bottom right", bitmap, 96, 96, dst, in testWideGamutWindowProducerCopyToRGBA16F() 728 ByteBuffer dst, float r, float g, float b, float a) { in assertEqualsRgba16f() argument 730 short cR = dst.getShort(index); in assertEqualsRgba16f() [all …]
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | NativeDecoderTest.java | 317 static void addSampleData(ArrayList<Integer> dst, in addSampleData() argument 320 Log.i("@@@", "addsample " + dst.size() + "/" + size); in addSampleData() 332 dst.add( (int) (sum & 0xffffffff)); in addSampleData()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareBufferRendererTests.kt | 543 dst: ByteBuffer, in <lambda>() 550 val cR = dst.getShort(index) in <lambda>() 551 val cG = dst.getShort(index + 2) in <lambda>() 552 val cB = dst.getShort(index + 4) in <lambda>() 553 val cA = dst.getShort(index + 6) in <lambda>()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaProviderTestUtils.java | 269 final Rect dst = new Rect(0, 0, 1, 1); in extractAverageColor() local 270 canvas.drawBitmap(bitmap, src, dst, null); in extractAverageColor()
|
/cts/tests/tests/os/UffdGc/jni/ |
D | android_os_cts_uffdgc_UserfaultfdTest.cc | 89 uffdio_copy.dst = msg.arg.pagefault.address & ~(page_sz - 1); in userfault_handler_thread()
|