Home
last modified time | relevance | path

Searched refs:script (Results 1 – 25 of 160) 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 script.destroy(); in testInputNotModified_char()
85 ScriptC_kernel_input script = new ScriptC_kernel_input(mRS); in testInputNotModified_char2() local
89 script.set_initial_value_char2(new Byte2((byte) 127, (byte) 3)); 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()
75 script.destroy(); in tearDown()
122 script.set_gAlloc1DIn(in1DAlloc); in testSetup()
123 script.set_gAlloc1DOut(out1DAlloc); in testSetup()
130 script.set_gAlloc2DIn(in2DAlloc); in testSetup()
131 script.set_gAlloc2DOut(out2DAlloc); in testSetup()
138 script.set_gAlloc3DIn(in3DAlloc); 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()
45 script.destroy(); in test()
DFloat16ArithmeticTest.java39 private ScriptC_float16_arithmetic script; field in Float16ArithmeticTest
67 script = new ScriptC_float16_arithmetic(mRS); in setUp()
75 script.destroy(); in tearDown()
135 script.set_gInput(mInput); in testFloat16Add()
136 script.forEach_add(mF16Matrix); in testFloat16Add()
137 script.forEach_bitcast(mF16Matrix, mU16Matrix); in testFloat16Add()
153 script.set_gInput(mInput); in testFloat16Sub()
154 script.forEach_sub(mF16Matrix); in testFloat16Sub()
155 script.forEach_bitcast(mF16Matrix, mU16Matrix); in testFloat16Sub()
171 script.set_gInput(mInput); in testFloat16Mul()
[all …]
DYuvTest.java120 ScriptC_yuv script = new ScriptC_yuv(mRS); in testV17() local
121 script.invoke_makeRef(ay, au, av, aref); in testV17()
131 script.destroy(); in testV17()
139 ScriptC_yuv script = new ScriptC_yuv(mRS); in test_NV21() local
163 script.invoke_makeRef(ay, au, av, aref); in test_NV21()
170 script.set_mInput(ta); in test_NV21()
171 script.forEach_cvt(aout); in test_NV21()
181 script.destroy(); in test_NV21()
190 ScriptC_yuv script = new ScriptC_yuv(mRS); in test_YV12() local
216 script.invoke_makeRef(ay, au, av, aref); in test_YV12()
[all …]
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()
56 script.destroy(); in testInitTest()
DRsUnpackColor8888Test.java26 private ScriptC_rs_unpack_color_8888 script; field in RsUnpackColor8888Test
30 if (script != null) { in tearDown()
31 script.destroy(); in tearDown()
38 script.forEach_root(mIn, mOut); in forEach()
42 script = new ScriptC_rs_unpack_color_8888(mRS); in testRsUnpackColor8888RGB()
DVLoadTest.java24 private ScriptC_vload script; field in VLoadTest
37 script = new ScriptC_vload(mRS); in setUp()
52 script.destroy(); in tearDown()
104 script.set_gAllocIn(inAlloc); in testSetup()
105 script.set_gAllocOut(outAlloc); in testSetup()
214 script.forEach_copy2d_char(walkAlloc); in testVload_char()
222 script.forEach_copy2d_uchar(walkAlloc); in testVload_uchar()
246 script.forEach_copy2d_short(walkAlloc); in testVload_short()
254 script.forEach_copy2d_ushort(walkAlloc); in testVload_ushort()
278 script.forEach_copy2d_int(walkAlloc); in testVload_int()
[all …]
Dclear_object.rs28 rs_script script;
32 rsClearObject( &script );
33 *out = ( NULL == script.p ? 1 : 0 );
DSetObjectTest.java35 Script script; field in SetObjectTest
48 script = new ScriptC_set_object(mRS); in setUp()
63 script.destroy(); in tearDown()
162 mItem.script = script; in testSetObjectScript()
Dset_object.rs38 rs_script script;
44 rsSetObject(&dst,in->script);
45 *out = ( dst.p == in->script.p ? 1 : 0 );
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java75 public void addToPixelCounter(ScriptC_PixelCounter script) { in addToPixelCounter() argument
76 script.set_MIN_ALPHA(mMinAlpha); in addToPixelCounter()
77 script.set_MAX_ALPHA(mMaxAlpha); in addToPixelCounter()
78 script.set_MIN_RED(mMinRed); in addToPixelCounter()
79 script.set_MAX_RED(mMaxRed); in addToPixelCounter()
80 script.set_MIN_BLUE(mMinBlue); in addToPixelCounter()
81 script.set_MAX_BLUE(mMaxBlue); in addToPixelCounter()
82 script.set_MIN_GREEN(mMinGreen); in addToPixelCounter()
83 script.set_MAX_GREEN(mMaxGreen); in addToPixelCounter()
/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/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptGraph.java180 for (Script<?> script : mScripts) { in execute()
181 script.execute(); in execute()
496 Script<?> script = instantiateScript(scriptClass, inputInfo, parameters); in ScriptGraph() local
497 mScripts.add(script); in ScriptGraph()
500 inputInfo = script.getOutputInfo(); in ScriptGraph()
532 Script<?> script = mScripts.get(i); in ScriptGraph() local
538 : script.getOutputInfo().createAllocation(); in ScriptGraph()
541 Log.v(TAG, "ScriptGraph() - Setting output for script " + script.getName()); in ScriptGraph()
544 script.setOutput(lastOutput); in ScriptGraph()
668 for (Script<?> script : mScripts) { in close()
[all …]
/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/renderscript/src/android/renderscript/cts/refocus/
DRenderScriptTask.java38 enum script{f32, d1new}; enum in RenderScriptTask
42 private script mScript = script.d1new;
83 public RenderScriptTask(RenderScript renderScript, script sChoice) { in RenderScriptTask()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestClamp.java30 private ScriptC_TestClamp script; field in TestClamp
36 script = new ScriptC_TestClamp(mRS); in setUp()
42 script.destroy(); in tearDown()
61 script.set_gAllocInMinValue(inMinValue); in checkClampFloatFloatFloatFloat()
62 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloatFloatFloatFloat()
63 script.forEach_testClampFloatFloatFloatFloat(inValue, out); in checkClampFloatFloatFloatFloat()
156 script.set_gAllocInMinValue(inMinValue); in checkClampFloat2Float2Float2Float2()
157 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloat2Float2Float2Float2()
158 script.forEach_testClampFloat2Float2Float2Float2(inValue, out); in checkClampFloat2Float2Float2Float2()
251 script.set_gAllocInMinValue(inMinValue); in checkClampFloat3Float3Float3Float3()
[all …]
DTestRemquo.java30 private ScriptC_TestRemquo script; field in TestRemquo
36 script = new ScriptC_TestRemquo(mRS); in setUp()
42 script.destroy(); in tearDown()
60 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloatFloatIntFloat()
61 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloatFloatIntFloat()
62 script.forEach_testRemquoFloatFloatIntFloat(inNumerator, out); in checkRemquoFloatFloatIntFloat()
149 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloat2Float2Int2Float2()
150 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloat2Float2Int2Float2()
151 script.forEach_testRemquoFloat2Float2Int2Float2(inNumerator, out); in checkRemquoFloat2Float2Int2Float2()
238 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloat3Float3Int3Float3()
[all …]
DTestMad.java30 private ScriptC_TestMad script; field in TestMad
36 script = new ScriptC_TestMad(mRS); in setUp()
42 script.destroy(); in tearDown()
60 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloatFloatFloatFloat()
61 script.set_gAllocInOffset(inOffset); in checkMadFloatFloatFloatFloat()
62 script.forEach_testMadFloatFloatFloatFloat(inMultiplicand1, out); in checkMadFloatFloatFloatFloat()
154 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloat2Float2Float2Float2()
155 script.set_gAllocInOffset(inOffset); in checkMadFloat2Float2Float2Float2()
156 script.forEach_testMadFloat2Float2Float2Float2(inMultiplicand1, out); in checkMadFloat2Float2Float2Float2()
248 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloat3Float3Float3Float3()
[all …]
DTestFma.java30 private ScriptC_TestFma script; field in TestFma
36 script = new ScriptC_TestFma(mRS); in setUp()
42 script.destroy(); in tearDown()
60 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloatFloatFloatFloat()
61 script.set_gAllocInOffset(inOffset); in checkFmaFloatFloatFloatFloat()
62 script.forEach_testFmaFloatFloatFloatFloat(inMultiplicand1, out); in checkFmaFloatFloatFloatFloat()
154 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloat2Float2Float2Float2()
155 script.set_gAllocInOffset(inOffset); in checkFmaFloat2Float2Float2Float2()
156 script.forEach_testFmaFloat2Float2Float2Float2(inMultiplicand1, out); in checkFmaFloat2Float2Float2Float2()
248 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloat3Float3Float3Float3()
[all …]
DTestMix.java30 private ScriptC_TestMix script; field in TestMix
36 script = new ScriptC_TestMix(mRS); in setUp()
42 script.destroy(); in tearDown()
60 script.set_gAllocInStop(inStop); in checkMixFloatFloatFloatFloat()
61 script.set_gAllocInFraction(inFraction); in checkMixFloatFloatFloatFloat()
62 script.forEach_testMixFloatFloatFloatFloat(inStart, out); in checkMixFloatFloatFloatFloat()
154 script.set_gAllocInStop(inStop); in checkMixFloat2Float2Float2Float2()
155 script.set_gAllocInFraction(inFraction); in checkMixFloat2Float2Float2Float2()
156 script.forEach_testMixFloat2Float2Float2Float2(inStart, out); in checkMixFloat2Float2Float2Float2()
248 script.set_gAllocInStop(inStop); in checkMixFloat3Float3Float3Float3()
[all …]
DTestNanHalf.java30 private ScriptC_TestNanHalf script; field in TestNanHalf
36 script = new ScriptC_TestNanHalf(mRS); in setUp()
42 script.destroy(); in tearDown()
54 script.forEach_testNanHalfHalf(out); in checkNanHalfHalf()
DTestNan.java30 private ScriptC_TestNan script; field in TestNan
36 script = new ScriptC_TestNan(mRS); in setUp()
42 script.destroy(); in tearDown()
56 script.forEach_testNanUintFloat(inV, out); in checkNanUintFloat()
DTestNativeRootn.java30 private ScriptC_TestNativeRootn script; field in TestNativeRootn
36 script = new ScriptC_TestNativeRootn(mRS); in setUp()
42 script.destroy(); in tearDown()
58 script.set_gAllocInN(inN); in checkNativeRootnFloatIntFloat()
59 script.forEach_testNativeRootnFloatIntFloat(inV, out); in checkNativeRootnFloatIntFloat()
141 script.set_gAllocInN(inN); in checkNativeRootnFloat2Int2Float2()
142 script.forEach_testNativeRootnFloat2Int2Float2(inV, out); in checkNativeRootnFloat2Int2Float2()
224 script.set_gAllocInN(inN); in checkNativeRootnFloat3Int3Float3()
225 script.forEach_testNativeRootnFloat3Int3Float3(inV, out); in checkNativeRootnFloat3Int3Float3()
307 script.set_gAllocInN(inN); in checkNativeRootnFloat4Int4Float4()
[all …]

1234567