Home
last modified time | relevance | path

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

123456

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_script_group2_nochain.java39 RenderScript pRS = RenderScript.create(mCtx); in run() local
40 ScriptC_increment s_inc = new ScriptC_increment(pRS); in run()
41 ScriptC_increment2 s_inc2 = new ScriptC_increment2(pRS); in run()
42 ScriptC_double s_double = new ScriptC_double(pRS); in run()
43 pRS.setMessageHandler(mRsMessage); in run()
51 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
54 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
60 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
66 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
74 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
[all …]
DUT_script_group2_pointwise.java39 RenderScript pRS = RenderScript.create(mCtx); in run() local
40 ScriptC_increment s_inc = new ScriptC_increment(pRS); in run()
41 ScriptC_double s_double = new ScriptC_double(pRS); in run()
42 pRS.setMessageHandler(mRsMessage); in run()
50 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
53 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
59 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
64 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
72 pRS.finish(); in run()
73 pRS.destroy(); in run()
DUT_script_group2_float.java37 RenderScript pRS = RenderScript.create(mCtx); in run() local
38 pRS.setMessageHandler(mRsMessage); in run()
40 ScriptC_float_test s_float = new ScriptC_float_test(pRS); in run()
48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
51 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
60 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
69 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
80 pRS.finish(); in run()
81 pRS.destroy(); in run()
DUT_apitest.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_apitest s = new ScriptC_apitest(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
35 Element elem = Element.I8(pRS); in run()
36 Type.Builder typeBuilder = new Type.Builder(pRS, elem); in run()
46 Allocation alloc = Allocation.createTyped(pRS, type); in run()
47 Allocation allocDst = Allocation.createTyped(pRS, type); in run()
48 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
58 pRS.finish(); in run()
60 pRS.destroy(); in run()
DUT_script_group2_gatherscatter.java67 RenderScript pRS = RenderScript.create(mCtx); in run() local
68 ScriptC_addup s = new ScriptC_addup(pRS); in run()
69 pRS.setMessageHandler(mRsMessage); in run()
70 initializeGlobals(pRS, s); in run()
72 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
75 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
90 Type.createX(pRS, Element.I32_4(pRS), stride), in run()
105 pRS.finish(); in run()
106 pRS.destroy(); in run()
DUT_array_alloc.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_array_alloc s = new ScriptC_array_alloc(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
38 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
41 Allocation A = Allocation.createTyped(pRS, T); in run()
47 pRS.finish(); in run()
49 pRS.destroy(); in run()
DUT_element.java83 private void testScriptSide(RenderScript pRS) { in testScriptSide() argument
84 ScriptC_element s = new ScriptC_element(pRS); in testScriptSide()
85 pRS.setMessageHandler(mRsMessage); in testScriptSide()
86 initializeGlobals(pRS, s); in testScriptSide()
88 pRS.finish(); in testScriptSide()
113 RenderScript pRS = RenderScript.create(mCtx); in run() local
114 testScriptSide(pRS); in run()
115 testJavaSide(pRS); in run()
117 pRS.destroy(); in run()
DUT_struct.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_struct s = new ScriptC_struct(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
36 ScriptField_Point2 p = new ScriptField_Point2(pRS, 1); in run()
44 pRS.finish(); in run()
51 pRS.finish(); in run()
53 pRS.destroy(); in run()
DUT_refcount.java41 RenderScript pRS = RenderScript.create(mCtx); in run() local
42 pRS.setMessageHandler(mRsMessage); in run()
43 ScriptC_refcount s = new ScriptC_refcount(pRS); in run()
44 initializeGlobals(pRS, s); in run()
46 pRS.finish(); in run()
48 pRS.destroy(); in run()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_script_group2_nochain.java37 RenderScript pRS = RenderScript.create(mCtx); in run() local
38 ScriptC_increment s_inc = new ScriptC_increment(pRS); in run()
39 ScriptC_increment2 s_inc2 = new ScriptC_increment2(pRS); in run()
40 ScriptC_double s_double = new ScriptC_double(pRS); in run()
41 pRS.setMessageHandler(mRsMessage); in run()
49 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
52 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
58 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
63 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
69 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
[all …]
DUT_script_group2_pointwise.java37 RenderScript pRS = RenderScript.create(mCtx); in run() local
38 ScriptC_increment s_inc = new ScriptC_increment(pRS); in run()
39 ScriptC_double s_double = new ScriptC_double(pRS); in run()
40 pRS.setMessageHandler(mRsMessage); in run()
48 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
51 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
57 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
62 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), in run()
70 pRS.finish(); in run()
71 pRS.destroy(); in run()
DUT_script_group2_float.java37 RenderScript pRS = RenderScript.create(mCtx); in run() local
38 pRS.setMessageHandler(mRsMessage); in run()
40 ScriptC_float_test s_float = new ScriptC_float_test(pRS); in run()
48 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
51 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
60 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
69 Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE), in run()
80 pRS.finish(); in run()
81 pRS.destroy(); in run()
DUT_static_globals.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_static_globals s = new ScriptC_static_globals(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
35 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
36 Allocation A = Allocation.createTyped(pRS, typeBuilder.setX(1).create()); in run()
39 pRS.finish(); in run()
41 pRS.destroy(); in run()
DUT_script_group2_gatherscatter.java65 RenderScript pRS = RenderScript.create(mCtx); in run() local
66 ScriptC_addup s = new ScriptC_addup(pRS); in run()
67 pRS.setMessageHandler(mRsMessage); in run()
68 initializeGlobals(pRS, s); in run()
70 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
73 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
88 Type.createX(pRS, Element.I32_4(pRS), stride), in run()
103 pRS.finish(); in run()
104 pRS.destroy(); in run()
DUT_array_alloc.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_array_alloc s = new ScriptC_array_alloc(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
38 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
41 Allocation A = Allocation.createTyped(pRS, T); in run()
47 pRS.finish(); in run()
49 pRS.destroy(); in run()
DUT_element.java86 private void testScriptSide(RenderScript pRS) { in testScriptSide() argument
87 ScriptC_element s = new ScriptC_element(pRS); in testScriptSide()
88 pRS.setMessageHandler(mRsMessage); in testScriptSide()
89 initializeGlobals(pRS, s); in testScriptSide()
91 pRS.finish(); in testScriptSide()
124 RenderScript pRS = RenderScript.create(mCtx); in run() local
125 testScriptSide(pRS); in run()
126 testJavaSide(pRS); in run()
128 pRS.destroy(); in run()
DUT_struct.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_struct s = new ScriptC_struct(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
36 ScriptField_Point2 p = new ScriptField_Point2(pRS, 1); in run()
44 pRS.finish(); in run()
51 pRS.finish(); in run()
53 pRS.destroy(); in run()
DUT_refcount.java41 RenderScript pRS = RenderScript.create(mCtx); in run() local
42 pRS.setMessageHandler(mRsMessage); in run()
43 ScriptC_refcount s = new ScriptC_refcount(pRS); in run()
44 initializeGlobals(pRS, s); in run()
46 pRS.finish(); in run()
48 pRS.destroy(); in run()
DUT_fp16.java110 RenderScript pRS = RenderScript.create(mCtx); in run() local
111 pRS.setMessageHandler(mRsMessage); in run()
112 ScriptC_fp16 s = new ScriptC_fp16(pRS); in run()
115 TestHalf(pRS, s, nDims); in run()
116 TestHalf2(pRS, s, nDims); in run()
117 TestHalf3(pRS, s, nDims); in run()
118 TestHalf4(pRS, s, nDims); in run()
122 pRS.finish(); in run()
124 pRS.destroy(); in run()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_apitest.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_apitest s = new ScriptC_apitest(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
35 Element elem = Element.I8(pRS); in run()
36 Type.Builder typeBuilder = new Type.Builder(pRS, elem); in run()
46 Allocation alloc = Allocation.createTyped(pRS, type); in run()
47 Allocation allocDst = Allocation.createTyped(pRS, type); in run()
48 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
58 pRS.finish(); in run()
60 pRS.destroy(); in run()
DUT_array_alloc.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_array_alloc s = new ScriptC_array_alloc(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
38 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
41 Allocation A = Allocation.createTyped(pRS, T); in run()
47 pRS.finish(); in run()
49 pRS.destroy(); in run()
DUT_element.java83 private void testScriptSide(RenderScript pRS) { in testScriptSide() argument
84 ScriptC_element s = new ScriptC_element(pRS); in testScriptSide()
85 pRS.setMessageHandler(mRsMessage); in testScriptSide()
86 initializeGlobals(pRS, s); in testScriptSide()
88 pRS.finish(); in testScriptSide()
115 RenderScript pRS = RenderScript.create(mCtx); in run() local
116 testScriptSide(pRS); in run()
117 testJavaSide(pRS); in run()
119 pRS.destroy(); in run()
DUT_struct.java32 RenderScript pRS = RenderScript.create(mCtx); in run() local
33 ScriptC_struct s = new ScriptC_struct(pRS); in run()
34 pRS.setMessageHandler(mRsMessage); in run()
36 ScriptField_Point2 p = new ScriptField_Point2(pRS, 1); in run()
44 pRS.finish(); in run()
51 pRS.finish(); in run()
53 pRS.destroy(); in run()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DUT_refcount.java41 RenderScript pRS = RenderScript.create(mCtx); in run() local
42 pRS.setMessageHandler(mRsMessage); in run()
43 ScriptC_refcount s = new ScriptC_refcount(pRS); in run()
44 initializeGlobals(pRS, s); in run()
46 pRS.finish(); in run()
48 pRS.destroy(); in run()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DUT_refcount.java41 RenderScript pRS = RenderScript.create(mCtx); in run() local
42 pRS.setMessageHandler(mRsMessage); in run()
43 ScriptC_refcount s = new ScriptC_refcount(pRS); in run()
44 initializeGlobals(pRS, s); in run()
46 pRS.finish(); in run()
48 pRS.destroy(); in run()

123456