Home
last modified time | relevance | path

Searched refs:script (Results 1 – 25 of 156) sorted by relevance

1234567

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DKernelInputTest.java60 void checkForErrorsInScript(ScriptC_kernel_input script) { in checkForErrorsInScript() argument
62 script.invoke_checkError(); in checkForErrorsInScript()
68 ScriptC_kernel_input script = new ScriptC_kernel_input(mRS); in testInputNotModified_char() local
72 script.set_initial_value_char((byte) 6); in testInputNotModified_char()
74 script.forEach_clear_input_char(ain, tmp); in testInputNotModified_char()
75 script.invoke_verify_input_char(ain); in testInputNotModified_char()
77 checkForErrorsInScript(script); in testInputNotModified_char()
81 ScriptC_kernel_input script = new ScriptC_kernel_input(mRS); in testInputNotModified_char2() local
85 script.set_initial_value_char2(new Byte2((byte) 127, (byte) 3)); in testInputNotModified_char2()
87 script.forEach_clear_input_char2(ain, tmp); in testInputNotModified_char2()
[all …]
DGetSetTest.java24 private ScriptC_getset script; field in GetSetTest
44 script = new ScriptC_getset(mRS); in setUp()
46 script.set_gWidth(gWidth); in setUp()
47 script.set_gHeight(gHeight); in setUp()
96 script.set_gAlloc1DIn(in1DAlloc); in testSetup()
97 script.set_gAlloc1DOut(out1DAlloc); in testSetup()
104 script.set_gAlloc2DIn(in2DAlloc); in testSetup()
105 script.set_gAlloc2DOut(out2DAlloc); in testSetup()
112 script.set_gAlloc3DIn(in3DAlloc); in testSetup()
113 script.set_gAlloc3DOut(out3DAlloc); in testSetup()
[all …]
DTestCtxDim.java24 ScriptC_TestCtxDim script = new ScriptC_TestCtxDim(mRS); in test() local
28 script.set_gDimX(X); in test()
31 script.set_gDimY(Y); in test()
34 script.set_gDimZ(Z); in test()
39 script.forEach_check_kernel(A); in test()
40 script.invoke_check_result(); in test()
DFloat16ArithmeticTest.java185 ScriptC_float16_arithmetic script = new ScriptC_float16_arithmetic(mRS); in testFloat16Add() local
187 script.set_gInput(mInput); in testFloat16Add()
188 script.forEach_add(mF16Matrix); in testFloat16Add()
189 script.forEach_bitcast(mF16Matrix, mU16Matrix); in testFloat16Add()
206 ScriptC_float16_arithmetic script = new ScriptC_float16_arithmetic(mRS); in testFloat16Sub() local
208 script.set_gInput(mInput); in testFloat16Sub()
209 script.forEach_sub(mF16Matrix); in testFloat16Sub()
210 script.forEach_bitcast(mF16Matrix, mU16Matrix); in testFloat16Sub()
227 ScriptC_float16_arithmetic script = new ScriptC_float16_arithmetic(mRS); in testFloat16Mul() local
229 script.set_gInput(mInput); in testFloat16Mul()
[all …]
DYuvTest.java105 ScriptC_yuv script = new ScriptC_yuv(mRS); in testV17() local
106 script.invoke_makeRef(ay, au, av, aref); in testV17()
119 ScriptC_yuv script = new ScriptC_yuv(mRS); in test_NV21() local
143 script.invoke_makeRef(ay, au, av, aref); in test_NV21()
150 script.set_mInput(ta); in test_NV21()
151 script.forEach_cvt(aout); in test_NV21()
163 ScriptC_yuv script = new ScriptC_yuv(mRS); in test_YV12() local
189 script.invoke_makeRef(ay, au, av, aref); in test_YV12()
196 script.set_mInput(ta); in test_YV12()
197 script.forEach_cvt(aout); in test_YV12()
[all …]
Dclear_object.rs28 rs_script script;
32 rsClearObject( &script );
33 *out = ( NULL == script.p ? 1 : 0 );
DInitTest.java26 private ScriptC_init_test script; field in InitTest
30 script.forEach_root(mIn, mOut); in forEach()
34 script = new ScriptC_init_test(mRS); in testInitTest()
Dget_allocation.rs5 rs_script script;
15 rsForEach(script, alloc_in, alloc_out);
DVLoadTest.java24 private ScriptC_vload script; field in VLoadTest
37 script = new ScriptC_vload(mRS); in setUp()
90 script.set_gAllocIn(inAlloc); in testSetup()
91 script.set_gAllocOut(outAlloc); in testSetup()
200 script.forEach_copy2d_char(walkAlloc); in testVload_char()
208 script.forEach_copy2d_uchar(walkAlloc); in testVload_uchar()
232 script.forEach_copy2d_short(walkAlloc); in testVload_short()
240 script.forEach_copy2d_ushort(walkAlloc); in testVload_ushort()
264 script.forEach_copy2d_int(walkAlloc); in testVload_int()
272 script.forEach_copy2d_uint(walkAlloc); in testVload_uint()
[all …]
Dset_object.rs38 rs_script script;
44 rsSetObject(&dst,in->script);
45 *out = ( dst.p == in->script.p ? 1 : 0 );
DRsUnpackColor8888Test.java26 private ScriptC_rs_unpack_color_8888 script; field in RsUnpackColor8888Test
30 script.forEach_root(mIn, mOut); in forEach()
34 script = new ScriptC_rs_unpack_color_8888(mRS); in testRsUnpackColor8888RGB()
Dis_object.rs32 rs_script script;
37 *out = rsIsObject(in->script)==false ? 0 : 1;
DSetObjectTest.java35 Script script; field in SetObjectTest
48 script = new ScriptC_set_object(mRS); in setUp()
147 mItem.script = script; in testSetObjectScript()
DIsObjectTest.java36 Script script; field in IsObjectTest
49 script = new ScriptC_is_object(mRS); in setUp()
150 mItem.script = script; in testIsObjectScript()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_script.cpp62 sp<ScriptC_primitives> script = new ScriptC_primitives(mRS); in Java_android_cts_rscpp_RSScriptTest_testSet() local
63 script->set_floatTest(2.99f); // floatTest in Java_android_cts_rscpp_RSScriptTest_testSet()
64 script->set_doubleTest(3.05); // doubleTest in Java_android_cts_rscpp_RSScriptTest_testSet()
65 script->set_charTest(-16); // charTest in Java_android_cts_rscpp_RSScriptTest_testSet()
66 script->set_shortTest(-32); // shortTest in Java_android_cts_rscpp_RSScriptTest_testSet()
67 script->set_intTest(-64); // intTest in Java_android_cts_rscpp_RSScriptTest_testSet()
68 script->set_longTest(17179869185l); // longTest in Java_android_cts_rscpp_RSScriptTest_testSet()
69 script->set_longlongTest(68719476735L); //longlongTest in Java_android_cts_rscpp_RSScriptTest_testSet()
70 script->set_ulongTest(4611686018427387903L); // boolTest in Java_android_cts_rscpp_RSScriptTest_testSet()
71 script->set_uint64_tTest(117179869185l); //uint64_tTest in Java_android_cts_rscpp_RSScriptTest_testSet()
[all …]
Dclear_object.rs28 rs_script script;
32 rsClearObject( &script );
33 *out = ( NULL == script.p ? 1 : 0 );
/cts/suite/audio_quality/lib/src/
DSimpleScriptExec.cpp30 android::String8 script("test_description/conf/check_conf.py"); in checkPythonEnv() local
33 if (!runScript(script, param, result)) { in checkPythonEnv()
66 bool SimpleScriptExec::runScript(const android::String8& script, const android::String8& param, in runScript() argument
71 command.appendFormat("%s %s %s", PYTHON_PATH, script.string(), param.string()); in runScript()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
DScriptGraph.java149 for (Script<?> script : mScripts) { in execute()
150 script.execute(); in execute()
465 Script<?> script = instantiateScript(scriptClass, inputInfo, parameters); in ScriptGraph() local
466 mScripts.add(script); in ScriptGraph()
469 inputInfo = script.getOutputInfo(); in ScriptGraph()
501 Script<?> script = mScripts.get(i); in ScriptGraph() local
507 : script.getOutputInfo().createAllocation(); in ScriptGraph()
510 Log.v(TAG, "ScriptGraph() - Setting output for script " + script.getName()); in ScriptGraph()
513 script.setOutput(lastOutput); in ScriptGraph()
637 for (Script<?> script : mScripts) { in close()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestClamp.java29 private ScriptC_TestClamp script; field in TestClamp
35 script = new ScriptC_TestClamp(mRS); in setUp()
53 script.set_gAllocInMinValue(inMinValue); in checkClampFloatFloatFloatFloat()
54 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloatFloatFloatFloat()
55 script.forEach_testClampFloatFloatFloatFloat(inValue, out); in checkClampFloatFloatFloatFloat()
143 script.set_gAllocInMinValue(inMinValue); in checkClampFloat2Float2Float2Float2()
144 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloat2Float2Float2Float2()
145 script.forEach_testClampFloat2Float2Float2Float2(inValue, out); in checkClampFloat2Float2Float2Float2()
233 script.set_gAllocInMinValue(inMinValue); in checkClampFloat3Float3Float3Float3()
234 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloat3Float3Float3Float3()
[all …]
DTestRemquo.java29 private ScriptC_TestRemquo script; field in TestRemquo
35 script = new ScriptC_TestRemquo(mRS); in setUp()
52 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloatFloatIntFloat()
53 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloatFloatIntFloat()
54 script.forEach_testRemquoFloatFloatIntFloat(inNumerator, out); in checkRemquoFloatFloatIntFloat()
135 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloat2Float2Int2Float2()
136 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloat2Float2Int2Float2()
137 script.forEach_testRemquoFloat2Float2Int2Float2(inNumerator, out); in checkRemquoFloat2Float2Int2Float2()
218 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloat3Float3Int3Float3()
219 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloat3Float3Int3Float3()
[all …]
DTestFma.java29 private ScriptC_TestFma script; field in TestFma
35 script = new ScriptC_TestFma(mRS); in setUp()
52 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloatFloatFloatFloat()
53 script.set_gAllocInOffset(inOffset); in checkFmaFloatFloatFloatFloat()
54 script.forEach_testFmaFloatFloatFloatFloat(inMultiplicand1, out); in checkFmaFloatFloatFloatFloat()
141 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloat2Float2Float2Float2()
142 script.set_gAllocInOffset(inOffset); in checkFmaFloat2Float2Float2Float2()
143 script.forEach_testFmaFloat2Float2Float2Float2(inMultiplicand1, out); in checkFmaFloat2Float2Float2Float2()
230 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloat3Float3Float3Float3()
231 script.set_gAllocInOffset(inOffset); in checkFmaFloat3Float3Float3Float3()
[all …]
DTestMad.java29 private ScriptC_TestMad script; field in TestMad
35 script = new ScriptC_TestMad(mRS); in setUp()
52 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloatFloatFloatFloat()
53 script.set_gAllocInOffset(inOffset); in checkMadFloatFloatFloatFloat()
54 script.forEach_testMadFloatFloatFloatFloat(inMultiplicand1, out); in checkMadFloatFloatFloatFloat()
141 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloat2Float2Float2Float2()
142 script.set_gAllocInOffset(inOffset); in checkMadFloat2Float2Float2Float2()
143 script.forEach_testMadFloat2Float2Float2Float2(inMultiplicand1, out); in checkMadFloat2Float2Float2Float2()
230 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloat3Float3Float3Float3()
231 script.set_gAllocInOffset(inOffset); in checkMadFloat3Float3Float3Float3()
[all …]
DTestMix.java29 private ScriptC_TestMix script; field in TestMix
35 script = new ScriptC_TestMix(mRS); in setUp()
52 script.set_gAllocInStop(inStop); in checkMixFloatFloatFloatFloat()
53 script.set_gAllocInFraction(inFraction); in checkMixFloatFloatFloatFloat()
54 script.forEach_testMixFloatFloatFloatFloat(inStart, out); in checkMixFloatFloatFloatFloat()
141 script.set_gAllocInStop(inStop); in checkMixFloat2Float2Float2Float2()
142 script.set_gAllocInFraction(inFraction); in checkMixFloat2Float2Float2Float2()
143 script.forEach_testMixFloat2Float2Float2Float2(inStart, out); in checkMixFloat2Float2Float2Float2()
230 script.set_gAllocInStop(inStop); in checkMixFloat3Float3Float3Float3()
231 script.set_gAllocInFraction(inFraction); in checkMixFloat3Float3Float3Float3()
[all …]
DTestCross.java29 private ScriptC_TestCross script; field in TestCross
35 script = new ScriptC_TestCross(mRS); in setUp()
50 script.set_gAllocInRightVector(inRightVector); in checkCrossFloat3Float3Float3()
51 script.forEach_testCrossFloat3Float3Float3(inLeftVector, out); in checkCrossFloat3Float3Float3()
141 script.set_gAllocInRightVector(inRightVector); in checkCrossFloat4Float4Float4()
142 script.forEach_testCrossFloat4Float4Float4(inLeftVector, out); in checkCrossFloat4Float4Float4()
DTestCopysign.java29 private ScriptC_TestCopysign script; field in TestCopysign
35 script = new ScriptC_TestCopysign(mRS); in setUp()
50 script.set_gAllocInSignValue(inSignValue); in checkCopysignFloatFloatFloat()
51 script.forEach_testCopysignFloatFloatFloat(inMagnitudeValue, out); in checkCopysignFloatFloatFloat()
129 script.set_gAllocInSignValue(inSignValue); in checkCopysignFloat2Float2Float2()
130 script.forEach_testCopysignFloat2Float2Float2(inMagnitudeValue, out); in checkCopysignFloat2Float2Float2()
208 script.set_gAllocInSignValue(inSignValue); in checkCopysignFloat3Float3Float3()
209 script.forEach_testCopysignFloat3Float3Float3(inMagnitudeValue, out); in checkCopysignFloat3Float3Float3()
287 script.set_gAllocInSignValue(inSignValue); in checkCopysignFloat4Float4Float4()
288 script.forEach_testCopysignFloat4Float4Float4(inMagnitudeValue, out); in checkCopysignFloat4Float4Float4()

1234567