/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_foreach.cpp | 41 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSForEachTest_testForEach() local 42 mRS->init(path); in Java_android_cts_rscpp_RSForEachTest_testForEach() 48 sp<ScriptC_fe_all> fe_all = new ScriptC_fe_all(mRS); in Java_android_cts_rscpp_RSForEachTest_testForEach() 49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 52 sp<Allocation> in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() 53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 54 sp<Allocation> out = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() 56 mRS->finish(); in Java_android_cts_rscpp_RSForEachTest_testForEach() 59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() 60 in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() [all …]
|
D | rs_jni_element.cpp | 37 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSElementTest_testCreatePixel() local 38 mRS->init(path); in Java_android_cts_rscpp_RSElementTest_testCreatePixel() 42 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel() 45 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel() 48 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel() 51 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel() 54 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel() 57 passed &= (Element::createPixel(mRS, in Java_android_cts_rscpp_RSElementTest_testCreatePixel() 69 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSElementTest_testCreateVector() local 70 mRS->init(path); in Java_android_cts_rscpp_RSElementTest_testCreateVector() [all …]
|
D | rs_jni_type.cpp | 35 static bool testTypeBuilderHelper(sp<RS> mRS, sp<const Element> e) { in testTypeBuilderHelper() argument 39 Type::Builder b(mRS, e); in testTypeBuilderHelper() 66 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSTypeTest_testCreate() local 67 mRS->init(path); in Java_android_cts_rscpp_RSTypeTest_testCreate() 72 passed &= testTypeBuilderHelper(mRS, Element::A_8(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate() 73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate() 74 passed &= testTypeBuilderHelper(mRS, Element::RGB_888(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate() 75 passed &= testTypeBuilderHelper(mRS, Element::RGBA_8888(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate() 76 passed &= testTypeBuilderHelper(mRS, Element::F32(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate() 77 passed &= testTypeBuilderHelper(mRS, Element::F32_2(mRS)); in Java_android_cts_rscpp_RSTypeTest_testCreate() [all …]
|
D | rs_jni_object.cpp | 41 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() local 42 mRS->init(path); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() 47 sp<ScriptC_clear_object> ms_clear = new ScriptC_clear_object(mRS); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() 49 sp<const Element> element = Element::BOOLEAN(mRS); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() 50 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() 69 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() local 70 mRS->init(path); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() 75 sp<ScriptC_clear_object> ms_clear = new ScriptC_clear_object(mRS); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() 77 sp<const Type> type= Type::create(mRS, Element::I8(mRS), 1, 0, 0); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() 78 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() [all …]
|
D | rs_jni_script.cpp | 51 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSScriptTest_testSet() local 52 mRS->init(path); in Java_android_cts_rscpp_RSScriptTest_testSet() 55 mRS->setMessageHandler(mHandler); in Java_android_cts_rscpp_RSScriptTest_testSet() 59 sp<const Type> t = Type::create(mRS, Element::I32(mRS), 8, 0, 0); in Java_android_cts_rscpp_RSScriptTest_testSet() 60 sp<Allocation> alloc = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSScriptTest_testSet() 62 sp<ScriptC_primitives> script = new ScriptC_primitives(mRS); in Java_android_cts_rscpp_RSScriptTest_testSet() 75 mRS->finish(); in Java_android_cts_rscpp_RSScriptTest_testSet() 91 sp<RS> mRS = new RS(); in Java_android_cts_rscpp_RSScriptTest_testInstance() local 92 mRS->init(path); in Java_android_cts_rscpp_RSScriptTest_testInstance() 95 mRS->setMessageHandler(mHandler); in Java_android_cts_rscpp_RSScriptTest_testInstance() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ForEachTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 60 Allocation badOut = Allocation.createTyped(mRS, t); in testForEach() 62 ScriptC_fe_all fe_all = new ScriptC_fe_all(mRS); in testForEach() 65 Allocation in = Allocation.createTyped(mRS, t); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 67 Allocation out = Allocation.createTyped(mRS, t); in testForEach() 69 mRS.finish(); in testForEach() 72 mRS.finish(); in testForEach() 78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 79 in = Allocation.createTyped(mRS, t); in testForEach() [all …]
|
D | KernelTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach() 60 Allocation badOut = Allocation.createTyped(mRS, t); in testForEach() 62 ScriptC_kernel_all kernel_all = new ScriptC_kernel_all(mRS); in testForEach() 65 Allocation in = Allocation.createTyped(mRS, t); in testForEach() 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach() 67 Allocation out = Allocation.createTyped(mRS, t); in testForEach() 69 mRS.finish(); in testForEach() 72 mRS.finish(); in testForEach() 78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach() 79 in = Allocation.createTyped(mRS, t); in testForEach() [all …]
|
D | ElementTest.java | 27 assertTrue(Element.createPixel(mRS, in testCreatePixel() 30 assertTrue(Element.createPixel(mRS, in testCreatePixel() 33 assertTrue(Element.createPixel(mRS, in testCreatePixel() 36 assertTrue(Element.createPixel(mRS, in testCreatePixel() 39 assertTrue(Element.createPixel(mRS, in testCreatePixel() 42 assertTrue(Element.createPixel(mRS, in testCreatePixel() 51 assertTrue(Element.createVector(mRS, DataType.FLOAT_32, len) != null); in testCreateVector() 52 assertTrue(Element.createVector(mRS, DataType.FLOAT_64, len) != null); in testCreateVector() 53 assertTrue(Element.createVector(mRS, DataType.SIGNED_8, len) != null); in testCreateVector() 54 assertTrue(Element.createVector(mRS, DataType.SIGNED_16, len) != null); in testCreateVector() [all …]
|
D | KernelInputTest.java | 61 mRS.finish(); in checkForErrorsInScript() 68 ScriptC_kernel_input script = new ScriptC_kernel_input(mRS); in testInputNotModified_char() 69 Allocation ain = Allocation.createSized(mRS, Element.I8(mRS), 1); in testInputNotModified_char() 70 Allocation tmp = Allocation.createSized(mRS, Element.I8(mRS), 1); in testInputNotModified_char() 81 ScriptC_kernel_input script = new ScriptC_kernel_input(mRS); in testInputNotModified_char2() 82 Allocation ain = Allocation.createSized(mRS, Element.I8_2(mRS), 1); in testInputNotModified_char2() 83 Allocation tmp = Allocation.createSized(mRS, Element.I8_2(mRS), 1); in testInputNotModified_char2() 94 ScriptC_kernel_input script = new ScriptC_kernel_input(mRS); in testInputNotModified_char3() 95 Allocation ain = Allocation.createSized(mRS, Element.I8_3(mRS), 1); in testInputNotModified_char3() 96 Allocation tmp = Allocation.createSized(mRS, Element.I8_3(mRS), 1); in testInputNotModified_char3() [all …]
|
D | IntrinsicBLAS.java | 73 mBLAS = ScriptIntrinsicBLAS.create(mRS); in setUp() 80 … mMatrixS.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS), x, y))); in setUp() 81 … mMatrixD.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS), x, y))); in setUp() 82 … mMatrixC.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), x, y))); in setUp() 83 … mMatrixZ.add(Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64_2(mRS), x, y))); in setUp() 87 … Allocation misAlloc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), 1, 1)); in setUp() 132 if (e.isCompatible(Element.F32(mRS)) || e.isCompatible(Element.F32_2(mRS))) { in verifyMatrix() 251 if (elemA.isCompatible(Element.F32(mRS))) { in xGEMV_API_test() 253 } else if (elemA.isCompatible(Element.F64(mRS))) { in xGEMV_API_test() 255 } else if (elemA.isCompatible(Element.F32_2(mRS))) { in xGEMV_API_test() [all …]
|
D | TypeTest.java | 34 Type.Builder b = new Type.Builder(mRS, e); in testTypeBuilderHelper() 49 testTypeBuilderHelper(Element.A_8(mRS)); in testTypeBuilder() 50 testTypeBuilderHelper(Element.RGB_565(mRS)); in testTypeBuilder() 51 testTypeBuilderHelper(Element.RGB_888(mRS)); in testTypeBuilder() 52 testTypeBuilderHelper(Element.RGBA_8888(mRS)); in testTypeBuilder() 53 testTypeBuilderHelper(Element.F32(mRS)); in testTypeBuilder() 54 testTypeBuilderHelper(Element.F32_2(mRS)); in testTypeBuilder() 55 testTypeBuilderHelper(Element.F32_3(mRS)); in testTypeBuilder() 56 testTypeBuilderHelper(Element.F32_4(mRS)); in testTypeBuilder() 57 testTypeBuilderHelper(Element.BOOLEAN(mRS)); in testTypeBuilder() [all …]
|
D | VoidPtr.java | 31 protected void setupVoidPtr(RenderScript mRS, ScriptC_void_ptr gs) { in setupVoidPtr() argument 32 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupVoidPtr() 35 AFailed = Allocation.createTyped(mRS, t); in setupVoidPtr() 50 ScriptC_void_ptr gs = new ScriptC_void_ptr(mRS); in testVoidOutInt() 51 setupVoidPtr(mRS, gs); in testVoidOutInt() 53 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testVoidOutInt() 56 AOutput = Allocation.createTyped(mRS, t); in testVoidOutInt() 78 ScriptC_void_ptr gs = new ScriptC_void_ptr(mRS); in testVoidOutChar() 79 setupVoidPtr(mRS, gs); in testVoidOutChar() 81 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS)); in testVoidOutChar() [all …]
|
D | ScriptGroupTest.java | 45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel() 49 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupSingleKernel() 52 a1_copy = Allocation.createTyped(mRS, connect); in testScriptGroupSingleKernel() 53 a2_copy = Allocation.createTyped(mRS, connect); in testScriptGroupSingleKernel() 61 ScriptGroup.Builder b = new ScriptGroup.Builder(mRS); in testScriptGroupSingleKernel() 74 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel() 78 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel() 79 mColorMatrix2 = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel() 83 a1_copy = Allocation.createTyped(mRS, connect); in testScriptGroupDisconnectedKernel() 84 a2_copy = Allocation.createTyped(mRS, connect); in testScriptGroupDisconnectedKernel() [all …]
|
D | AllocationTest.java | 36 Type.Builder typeBuilder = new Type.Builder(mRS, e); in createTypedHelper() 48 Allocation.createTyped(mRS, typeBuilder.create()); in createTypedHelper() 58 Type.Builder typeBuilder = new Type.Builder(mRS, e); in createTypedTextureHelper() 59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), in createTypedTextureHelper() 62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), in createTypedTextureHelper() 66 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 71 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 74 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 80 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper() 83 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(3).create(), in createTypedTextureHelper() [all …]
|
D | RenderScriptTest.java | 29 RenderScript mRS = RenderScript.create(getContext()); in testRenderScript() local 30 ScriptC_passthrough t = new ScriptC_passthrough(mRS); in testRenderScript() 32 mRS.destroy(); in testRenderScript() 40 RenderScript mRS = RenderScript.create(null); in testAPI() local 45 RenderScript mRS = RenderScript.create(getContext()); in testAPI() local 46 mRS.contextDump(); in testAPI() 47 mRS.finish(); in testAPI() 48 assertEquals(mRS.getApplicationContext(), in testAPI() 50 RenderScript.RSErrorHandler mEH = mRS.getErrorHandler(); in testAPI() 51 RenderScript.RSMessageHandler mMH = mRS.getMessageHandler(); in testAPI() [all …]
|
D | ClearObjectTest.java | 38 ms_clear = new ScriptC_clear_object(mRS); in setUp() 63 Element element = Element.BOOLEAN(mRS); in testClearObjectElement() 64 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testClearObjectElement() 65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testClearObjectElement() 79 Type type= new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); in testclearObjectType() 80 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectType() 81 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectType() 96 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectAllocation() 97 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testclearObjectAllocation() 98 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); in testclearObjectAllocation() [all …]
|
D | YuvTest.java | 61 ay = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), w, h)); in makeYuvBuffer() 62 final Type tuv = Type.createXY(mRS, Element.U8(mRS), w >> 1, h >> 1); in makeYuvBuffer() 63 au = Allocation.createTyped(mRS, tuv); in makeYuvBuffer() 64 av = Allocation.createTyped(mRS, tuv); in makeYuvBuffer() 72 … return Allocation.createTyped(mRS, Type.createXY(mRS, Element.RGBA_8888(mRS), width, height)); in makeOutput() 76 return Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_4(mRS), width, height)); in makeOutput_f4() 81 mVerify = new ScriptC_verify(mRS); in testV17() 97 Allocation ta = Allocation.createSized(mRS, Element.U8(mRS), tmp.length); in testV17() 100 ScriptIntrinsicYuvToRGB syuv = ScriptIntrinsicYuvToRGB.create(mRS, Element.U8(mRS)); in testV17() 105 ScriptC_yuv script = new ScriptC_yuv(mRS); in testV17() [all …]
|
D | SetObjectTest.java | 43 element = Element.BOOLEAN(mRS); in setUp() 45 type = new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); in setUp() 46 allocation = Allocation.createTyped(mRS, type); in setUp() 47 sampler = new Sampler.Builder(mRS).create(); in setUp() 48 script = new ScriptC_set_object(mRS); in setUp() 50 ms_set = new ScriptC_set_object(mRS); in setUp() 58 mRS, 1); in testSetObjectElement() 64 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectElement() 78 ScriptField__set_object_type_input filed = new ScriptField__set_object_type_input(mRS, 1); in testSetObjectType() 84 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectType() [all …]
|
D | IsObjectTest.java | 44 element = Element.BOOLEAN(mRS); in setUp() 46 type = new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); in setUp() 47 allocation = Allocation.createTyped(mRS, type); in setUp() 48 sampler = new Sampler.Builder(mRS).create(); in setUp() 49 script = new ScriptC_is_object(mRS); in setUp() 50 ms_is_object = new ScriptC_is_object(mRS); in setUp() 58 mRS, 1); in testIsObjectElement() 65 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectElement() 79 ScriptField__object_type_input filed = new ScriptField__object_type_input(mRS, 1); in testIsObjectType() 85 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectType() [all …]
|
D | IntrinsicBlur.java | 36 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); in initTest() 39 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); in initTest() 40 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create()); in initTest() 42 mIntrinsic = ScriptIntrinsicBlur.create(mRS, e); in initTest() 46 mScript = new ScriptC_intrinsic_blur(mRS); in initTest() 62 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyInput() 66 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { in copyInput() 74 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyOutput() 78 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { in copyOutput() 88 Element e = Element.U8(mRS); in testU8_1() [all …]
|
D | DebugContext.java | 41 mRS.destroy(); in setupDebugContext() 42 mRS = RenderScript.create(mCtx, RenderScript.ContextType.DEBUG); in setupDebugContext() 43 mRS.setMessageHandler(mRsMessage); in setupDebugContext() 44 mRS.setErrorHandler(mRsError); in setupDebugContext() 46 Soob = new ScriptC_oob(mRS); in setupDebugContext() 48 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupDebugContext() 51 AInt = Allocation.createTyped(mRS, t); in setupDebugContext() 54 AUnused = Allocation.createTyped(mRS, t); in setupDebugContext() 66 mRS.sendMessage(RS_MSG_TEST_FLUSH, null); in testDebugContextI() 85 mRS.sendMessage(RS_MSG_TEST_FLUSH, null); in testDebugContextK()
|
D | GlobalSync.java | 29 protected void setupGlobalSync(RenderScript mRS, ScriptC_global_sync gs, int v) { in setupGlobalSync() argument 30 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupGlobalSync() 33 AFailed = Allocation.createTyped(mRS, t); in setupGlobalSync() 39 AIn = Allocation.createTyped(mRS, t); in setupGlobalSync() 50 ScriptC_global_sync gs = new ScriptC_global_sync(mRS); in testKIGlobalSync() 53 setupGlobalSync(mRS, gs, v); in testKIGlobalSync() 71 ScriptC_global_sync gs = new ScriptC_global_sync(mRS); in testKIStaticGlobalSync() 74 setupGlobalSync(mRS, gs, v); in testKIStaticGlobalSync() 92 ScriptC_global_sync gs = new ScriptC_global_sync(mRS); in testIKGlobalSync() 95 setupGlobalSync(mRS, gs, v); in testIKGlobalSync() [all …]
|
D | VLoadTest.java | 37 script = new ScriptC_vload(mRS); in setUp() 38 scriptRelaxed = new ScriptC_vload_relaxed(mRS); in setUp() 81 walkAlloc = Allocation.createSized(mRS, Element.I32(mRS), i); in createWalk() 88 inAlloc = Allocation.createTyped(mRS, t); in testSetup() 89 outAlloc = Allocation.createTyped(mRS, t); in testSetup() 197 testSetup(Type.createX(mRS, Element.I8(mRS), w)); in testVload_char() 205 testSetup(Type.createX(mRS, Element.I8(mRS), w)); in testVload_uchar() 213 testSetup(Type.createX(mRS, Element.I8(mRS), w)); in testVload_char_relaxed() 221 testSetup(Type.createX(mRS, Element.I8(mRS), w)); in testVload_uchar_relaxed() 229 testSetup(Type.createX(mRS, Element.I16(mRS), w)); in testVload_short() [all …]
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSColorMatrixTest.java | 54 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 61 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() 69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 85 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() 88 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 89 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 92 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() 99 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() [all …]
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | VersionTest.java | 27 ScriptC_set_target_api_11 test11 = new ScriptC_set_target_api_11(mRS); in testVersion11() 34 ScriptC_set_target_api_12 test12 = new ScriptC_set_target_api_12(mRS); in testVersion12() 41 ScriptC_set_target_api_13 test13 = new ScriptC_set_target_api_13(mRS); in testVersion13() 48 ScriptC_set_target_api_14 test14 = new ScriptC_set_target_api_14(mRS); in testVersion14() 55 ScriptC_set_target_api_15 test15 = new ScriptC_set_target_api_15(mRS); in testVersion15() 62 ScriptC_set_target_api_16 test16 = new ScriptC_set_target_api_16(mRS); in testVersion16() 69 ScriptC_set_target_api_17 test17 = new ScriptC_set_target_api_17(mRS); in testVersion17() 76 ScriptC_set_target_api_18 test18 = new ScriptC_set_target_api_18(mRS); in testVersion18() 83 ScriptC_set_target_api_19 test19 = new ScriptC_set_target_api_19(mRS); in testVersion19() 92 new ScriptC_set_target_api_too_high(mRS); in testVersion_too_high()
|