/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 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 …]
|
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() 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 …]
|
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() 45 script.destroy(); in test()
|
D | Float16ArithmeticTest.java | 39 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 …]
|
D | YuvTest.java | 120 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 …]
|
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() 56 script.destroy(); in testInitTest()
|
D | RsUnpackColor8888Test.java | 26 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()
|
D | VLoadTest.java | 24 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 …]
|
D | clear_object.rs | 28 rs_script script; 32 rsClearObject( &script ); 33 *out = ( NULL == script.p ? 1 : 0 );
|
D | SetObjectTest.java | 35 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()
|
D | set_object.rs | 38 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/ |
D | PixelColor.java | 75 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/ |
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/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | ScriptGraph.java | 180 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/ |
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()
|
/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() 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 …]
|
D | TestRemquo.java | 30 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 …]
|
D | TestMad.java | 30 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 …]
|
D | TestFma.java | 30 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 …]
|
D | TestMix.java | 30 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 …]
|
D | TestNanHalf.java | 30 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()
|
D | TestNan.java | 30 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()
|
D | TestNativeRootn.java | 30 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 …]
|