/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | KernelInputTest.java | 60 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 …]
|
D | GetSetTest.java | 24 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 …]
|
D | Float16ArithmeticTest.java | 120 ScriptC_float16_arithmetic script = new ScriptC_float16_arithmetic(mRS); in testFloat16Add() local 122 script.set_gInput(mInput); in testFloat16Add() 123 script.forEach_add(mF16Matrix); in testFloat16Add() 124 script.forEach_bitcast(mF16Matrix, mU16Matrix); in testFloat16Add() 141 ScriptC_float16_arithmetic script = new ScriptC_float16_arithmetic(mRS); in testFloat16Sub() local 143 script.set_gInput(mInput); in testFloat16Sub() 144 script.forEach_sub(mF16Matrix); in testFloat16Sub() 145 script.forEach_bitcast(mF16Matrix, mU16Matrix); in testFloat16Sub() 162 ScriptC_float16_arithmetic script = new ScriptC_float16_arithmetic(mRS); in testFloat16Mul() local 164 script.set_gInput(mInput); in testFloat16Mul() [all …]
|
D | TestCtxDim.java | 24 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()
|
D | YuvTest.java | 105 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 …]
|
D | clear_object.rs | 28 rs_script script; 32 rsClearObject( &script ); 33 *out = ( NULL == script.p ? 1 : 0 );
|
D | VLoadTest.java | 24 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 …]
|
D | InitTest.java | 26 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()
|
D | set_object.rs | 38 rs_script script; 44 rsSetObject(&dst,in->script); 45 *out = ( dst.p == in->script.p ? 1 : 0 );
|
D | RsUnpackColor8888Test.java | 26 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()
|
D | is_object.rs | 32 rs_script script; 37 *out = rsIsObject(in->script)==false ? 0 : 1;
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_script.cpp | 62 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 …]
|
D | clear_object.rs | 28 rs_script script; 32 rsClearObject( &script ); 33 *out = ( NULL == script.p ? 1 : 0 );
|
/cts/suite/audio_quality/lib/src/ |
D | SimpleScriptExec.cpp | 30 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/ |
D | RenderScriptTask.java | 38 enum script{f32, d1new}; enum in RenderScriptTask 42 private script mScript = script.d1new; 83 public RenderScriptTask(RenderScript renderScript, script sChoice) { in RenderScriptTask()
|
D | RefocusTest.java | 41 refocus(RenderScriptTask.script.f32, Double.POSITIVE_INFINITY); in testOriginalRefocus() 50 refocus(RenderScriptTask.script.d1new, 45); in testNewRefocus() 57 private void refocus(RenderScriptTask.script impl, double minimumPSNR) { in refocus()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | ScriptGraph.java | 149 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/ |
D | TestClamp.java | 30 private ScriptC_TestClamp script; field in TestClamp 36 script = new ScriptC_TestClamp(mRS); in setUp() 54 script.set_gAllocInMinValue(inMinValue); in checkClampFloatFloatFloatFloat() 55 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloatFloatFloatFloat() 56 script.forEach_testClampFloatFloatFloatFloat(inValue, out); in checkClampFloatFloatFloatFloat() 144 script.set_gAllocInMinValue(inMinValue); in checkClampFloat2Float2Float2Float2() 145 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloat2Float2Float2Float2() 146 script.forEach_testClampFloat2Float2Float2Float2(inValue, out); in checkClampFloat2Float2Float2Float2() 234 script.set_gAllocInMinValue(inMinValue); in checkClampFloat3Float3Float3Float3() 235 script.set_gAllocInMaxValue(inMaxValue); in checkClampFloat3Float3Float3Float3() [all …]
|
D | TestRemquo.java | 30 private ScriptC_TestRemquo script; field in TestRemquo 36 script = new ScriptC_TestRemquo(mRS); in setUp() 53 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloatFloatIntFloat() 54 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloatFloatIntFloat() 55 script.forEach_testRemquoFloatFloatIntFloat(inNumerator, out); in checkRemquoFloatFloatIntFloat() 136 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloat2Float2Int2Float2() 137 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloat2Float2Int2Float2() 138 script.forEach_testRemquoFloat2Float2Int2Float2(inNumerator, out); in checkRemquoFloat2Float2Int2Float2() 219 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloat3Float3Int3Float3() 220 script.set_gAllocOutQuotient(outQuotient); in checkRemquoFloat3Float3Int3Float3() [all …]
|
D | TestFma.java | 30 private ScriptC_TestFma script; field in TestFma 36 script = new ScriptC_TestFma(mRS); in setUp() 53 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloatFloatFloatFloat() 54 script.set_gAllocInOffset(inOffset); in checkFmaFloatFloatFloatFloat() 55 script.forEach_testFmaFloatFloatFloatFloat(inMultiplicand1, out); in checkFmaFloatFloatFloatFloat() 142 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloat2Float2Float2Float2() 143 script.set_gAllocInOffset(inOffset); in checkFmaFloat2Float2Float2Float2() 144 script.forEach_testFmaFloat2Float2Float2Float2(inMultiplicand1, out); in checkFmaFloat2Float2Float2Float2() 231 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkFmaFloat3Float3Float3Float3() 232 script.set_gAllocInOffset(inOffset); in checkFmaFloat3Float3Float3Float3() [all …]
|
D | TestMad.java | 30 private ScriptC_TestMad script; field in TestMad 36 script = new ScriptC_TestMad(mRS); in setUp() 53 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloatFloatFloatFloat() 54 script.set_gAllocInOffset(inOffset); in checkMadFloatFloatFloatFloat() 55 script.forEach_testMadFloatFloatFloatFloat(inMultiplicand1, out); in checkMadFloatFloatFloatFloat() 142 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloat2Float2Float2Float2() 143 script.set_gAllocInOffset(inOffset); in checkMadFloat2Float2Float2Float2() 144 script.forEach_testMadFloat2Float2Float2Float2(inMultiplicand1, out); in checkMadFloat2Float2Float2Float2() 231 script.set_gAllocInMultiplicand2(inMultiplicand2); in checkMadFloat3Float3Float3Float3() 232 script.set_gAllocInOffset(inOffset); in checkMadFloat3Float3Float3Float3() [all …]
|
D | TestMix.java | 30 private ScriptC_TestMix script; field in TestMix 36 script = new ScriptC_TestMix(mRS); in setUp() 53 script.set_gAllocInStop(inStop); in checkMixFloatFloatFloatFloat() 54 script.set_gAllocInFraction(inFraction); in checkMixFloatFloatFloatFloat() 55 script.forEach_testMixFloatFloatFloatFloat(inStart, out); in checkMixFloatFloatFloatFloat() 142 script.set_gAllocInStop(inStop); in checkMixFloat2Float2Float2Float2() 143 script.set_gAllocInFraction(inFraction); in checkMixFloat2Float2Float2Float2() 144 script.forEach_testMixFloat2Float2Float2Float2(inStart, out); in checkMixFloat2Float2Float2Float2() 231 script.set_gAllocInStop(inStop); in checkMixFloat3Float3Float3Float3() 232 script.set_gAllocInFraction(inFraction); in checkMixFloat3Float3Float3Float3() [all …]
|
D | TestLdexp.java | 30 private ScriptC_TestLdexp script; field in TestLdexp 36 script = new ScriptC_TestLdexp(mRS); in setUp() 51 script.set_gAllocInExponent(inExponent); in checkLdexpFloatIntFloat() 52 script.forEach_testLdexpFloatIntFloat(inMantissa, out); in checkLdexpFloatIntFloat() 130 script.set_gAllocInExponent(inExponent); in checkLdexpFloat2Int2Float2() 131 script.forEach_testLdexpFloat2Int2Float2(inMantissa, out); in checkLdexpFloat2Int2Float2() 209 script.set_gAllocInExponent(inExponent); in checkLdexpFloat3Int3Float3() 210 script.forEach_testLdexpFloat3Int3Float3(inMantissa, out); in checkLdexpFloat3Int3Float3() 288 script.set_gAllocInExponent(inExponent); in checkLdexpFloat4Int4Float4() 289 script.forEach_testLdexpFloat4Int4Float4(inMantissa, out); in checkLdexpFloat4Int4Float4() [all …]
|
D | TestNativeRootn.java | 30 private ScriptC_TestNativeRootn script; field in TestNativeRootn 36 script = new ScriptC_TestNativeRootn(mRS); in setUp() 51 script.set_gAllocInN(inN); in checkNativeRootnFloatIntFloat() 52 script.forEach_testNativeRootnFloatIntFloat(inV, out); in checkNativeRootnFloatIntFloat() 130 script.set_gAllocInN(inN); in checkNativeRootnFloat2Int2Float2() 131 script.forEach_testNativeRootnFloat2Int2Float2(inV, out); in checkNativeRootnFloat2Int2Float2() 209 script.set_gAllocInN(inN); in checkNativeRootnFloat3Int3Float3() 210 script.forEach_testNativeRootnFloat3Int3Float3(inV, out); in checkNativeRootnFloat3Int3Float3() 288 script.set_gAllocInN(inN); in checkNativeRootnFloat4Int4Float4() 289 script.forEach_testNativeRootnFloat4Int4Float4(inV, out); in checkNativeRootnFloat4Int4Float4()
|
D | TestRootn.java | 30 private ScriptC_TestRootn script; field in TestRootn 36 script = new ScriptC_TestRootn(mRS); in setUp() 51 script.set_gAllocInN(inN); in checkRootnFloatIntFloat() 52 script.forEach_testRootnFloatIntFloat(inV, out); in checkRootnFloatIntFloat() 130 script.set_gAllocInN(inN); in checkRootnFloat2Int2Float2() 131 script.forEach_testRootnFloat2Int2Float2(inV, out); in checkRootnFloat2Int2Float2() 209 script.set_gAllocInN(inN); in checkRootnFloat3Int3Float3() 210 script.forEach_testRootnFloat3Int3Float3(inV, out); in checkRootnFloat3Int3Float3() 288 script.set_gAllocInN(inN); in checkRootnFloat4Int4Float4() 289 script.forEach_testRootnFloat4Int4Float4(inV, out); in checkRootnFloat4Int4Float4()
|