Home
last modified time | relevance | path

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

12345678

/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
DMainActivity.java34 RenderScript pRS = RenderScript.create(this, RenderScript.ContextType.NORMAL, in onCreate() local
37 ScriptC_scriptgroup script = new ScriptC_scriptgroup(pRS); in onCreate()
44 Allocation input = Allocation.createSized(pRS, Element.I32(pRS), ARRAY_SIZE); in onCreate()
47 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in onCreate()
52 script.getKernelID_foo(), Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), unbound); in onCreate()
55 Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), c0.getReturn()); in onCreate()
62 pRS.finish(); in onCreate()
63 pRS.destroy(); in onCreate()
/frameworks/rs/tests/java_api/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()
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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_script_group2_nochain.java35 RenderScript pRS = createRenderScript(false); in run() local
36 ScriptC_increment s_inc = new ScriptC_increment(pRS); in run()
37 ScriptC_increment2 s_inc2 = new ScriptC_increment2(pRS); in run()
38 ScriptC_double s_double = new ScriptC_double(pRS); in run()
46 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
49 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
53 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
76 pRS.finish(); in run()
83 pRS.destroy(); in run()
DUT_script_group2_pointwise.java35 RenderScript pRS = createRenderScript(false); in run() local
36 ScriptC_increment s_inc = new ScriptC_increment(pRS); in run()
37 ScriptC_double s_double = new ScriptC_double(pRS); in run()
45 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
48 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
52 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
69 pRS.finish(); in run()
75 pRS.destroy(); in run()
DUT_script_group2_gatherscatter.java63 RenderScript pRS = createRenderScript(false); in run() local
64 ScriptC_addup s = new ScriptC_addup(pRS); in run()
65 initializeGlobals(pRS, s); in run()
67 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
70 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
85 Type.createX(pRS, Element.I32_4(pRS), stride), in run()
100 pRS.finish(); in run()
105 pRS.destroy(); in run()
DUT_static_globals.java32 RenderScript pRS = createRenderScript(true); in run() local
33 ScriptC_static_globals s = new ScriptC_static_globals(pRS); in run()
34 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
36 Allocation A = Allocation.createTyped(pRS, t); in run()
39 pRS.finish(); in run()
43 pRS.destroy(); in run()
DUT_script_group2_float.java35 RenderScript pRS = createRenderScript(false); in run() local
37 ScriptC_float_test s_float = new ScriptC_float_test(pRS); in run()
45 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
48 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
55 final Type T = Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE); in run()
77 pRS.finish(); in run()
82 pRS.destroy(); in run()
DUT_array_alloc.java32 RenderScript pRS = createRenderScript(true); in run() local
33 ScriptC_array_alloc s = new ScriptC_array_alloc(pRS); in run()
37 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
40 Allocation A = Allocation.createTyped(pRS, T); in run()
46 pRS.finish(); in run()
52 pRS.destroy(); in run()
DUT_element.java82 private void testScriptSide(RenderScript pRS) { in testScriptSide() argument
83 ScriptC_element s = new ScriptC_element(pRS); in testScriptSide()
84 initializeGlobals(pRS, s); in testScriptSide()
86 pRS.finish(); in testScriptSide()
121 RenderScript pRS = createRenderScript(true); in run() local
122 testScriptSide(pRS); in run()
123 testJavaSide(pRS); in run()
125 pRS.destroy(); in run()
DUT_struct.java29 RenderScript pRS = createRenderScript(true); in run() local
30 ScriptC_struct s = new ScriptC_struct(pRS); in run()
32 ScriptField_Point2 p = new ScriptField_Point2(pRS, 1); in run()
40 pRS.finish(); in run()
46 pRS.finish(); in run()
50 pRS.destroy(); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_script_group2_nochain.java37 RenderScript pRS = createRenderScript(false); 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()
48 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
51 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
55 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
78 pRS.finish(); in run()
85 pRS.destroy(); in run()
DUT_apitest.java36 RenderScript pRS = createRenderScript(true); in run() local
37 ScriptC_apitest s = new ScriptC_apitest(pRS); in run()
38 Element elem = Element.I8(pRS); in run()
39 Type.Builder typeBuilder = new Type.Builder(pRS, elem); in run()
49 Allocation alloc = Allocation.createTyped(pRS, type); in run()
50 Allocation allocDst = Allocation.createTyped(pRS, type); in run()
51 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
61 pRS.finish(); in run()
62 pRS.destroy(); in run()
DUT_script_group2_pointwise.java37 RenderScript pRS = createRenderScript(false); 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()
47 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
50 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
54 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
71 pRS.finish(); in run()
77 pRS.destroy(); in run()
DUT_script_group2_gatherscatter.java65 RenderScript pRS = createRenderScript(false); in run() local
66 ScriptC_addup s = new ScriptC_addup(pRS); in run()
67 initializeGlobals(pRS, s); in run()
69 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); in run()
72 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
87 Type.createX(pRS, Element.I32_4(pRS), stride), in run()
102 pRS.finish(); in run()
107 pRS.destroy(); in run()
DUT_static_globals.java34 RenderScript pRS = createRenderScript(true); in run() local
35 ScriptC_static_globals s = new ScriptC_static_globals(pRS); in run()
36 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
38 Allocation A = Allocation.createTyped(pRS, t); in run()
41 pRS.finish(); in run()
45 pRS.destroy(); in run()
DUT_script_group2_float.java37 RenderScript pRS = createRenderScript(false); in run() local
39 ScriptC_float_test s_float = new ScriptC_float_test(pRS); in run()
47 Allocation input = Allocation.createSized(pRS, Element.F32(pRS), ARRAY_SIZE); in run()
50 ScriptGroup.Builder2 builder = new ScriptGroup.Builder2(pRS); in run()
57 final Type T = Type.createX(pRS, Element.F64(pRS), ARRAY_SIZE); in run()
79 pRS.finish(); in run()
84 pRS.destroy(); in run()
DUT_array_alloc.java34 RenderScript pRS = createRenderScript(true); in run() local
35 ScriptC_array_alloc s = new ScriptC_array_alloc(pRS); in run()
39 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS)); in run()
42 Allocation A = Allocation.createTyped(pRS, T); in run()
48 pRS.finish(); in run()
54 pRS.destroy(); in run()
DUT_element.java84 private void testScriptSide(RenderScript pRS) { in testScriptSide() argument
85 ScriptC_element s = new ScriptC_element(pRS); in testScriptSide()
86 initializeGlobals(pRS, s); in testScriptSide()
88 pRS.finish(); in testScriptSide()
123 RenderScript pRS = createRenderScript(true); in run() local
124 testScriptSide(pRS); in run()
125 testJavaSide(pRS); in run()
127 pRS.destroy(); in run()
DUT_struct.java31 RenderScript pRS = createRenderScript(true); in run() local
32 ScriptC_struct s = new ScriptC_struct(pRS); in run()
34 ScriptField_Point2 p = new ScriptField_Point2(pRS, 1); in run()
42 pRS.finish(); in run()
48 pRS.finish(); in run()
52 pRS.destroy(); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
DUT_apitest.java34 RenderScript pRS = createRenderScript(true); in run() local
35 ScriptC_apitest s = new ScriptC_apitest(pRS); in run()
36 Element elem = Element.I8(pRS); in run()
37 Type.Builder typeBuilder = new Type.Builder(pRS, elem); in run()
47 Allocation alloc = Allocation.createTyped(pRS, type); in run()
48 Allocation allocDst = Allocation.createTyped(pRS, type); in run()
49 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
59 pRS.finish(); in run()
60 pRS.destroy(); in run()
/frameworks/rs/tests/java_api/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()

12345678