/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_allocation.cpp | 34 static void createTypedHelper (const sp<RS> &rs, sp<const Element> e) { in createTypedHelper() argument 35 Type::Builder typeBuilder(rs, e); in createTypedHelper() 48 Allocation::createTyped(rs, typeBuilder.create()); in createTypedHelper() 61 sp<RS> rs = new RS(); in Java_android_cts_rscpp_RSAllocationTest_typedTest() local 62 rs->init(path); in Java_android_cts_rscpp_RSAllocationTest_typedTest() 65 createTypedHelper(rs, Element::A_8(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest() 66 createTypedHelper(rs, Element::RGBA_4444(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest() 67 createTypedHelper(rs, Element::RGBA_5551(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest() 68 createTypedHelper(rs, Element::RGB_565(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest() 69 createTypedHelper(rs, Element::RGB_888(rs)); in Java_android_cts_rscpp_RSAllocationTest_typedTest() [all …]
|
D | rs_jni.cpp | 53 sp<const Element> makeElement(const sp<RS> &rs, RsDataType dt, int vecSize) { in makeElement() argument 55 return Element::createVector(rs, dt, vecSize); in makeElement() 58 return Element::U8(rs); in makeElement() 60 return Element::F32(rs); in makeElement() 72 sp<RS> rs = new RS(); in Java_android_cts_rscpp_RSInitTest_initTest() local 73 r &= rs->init(path); in Java_android_cts_rscpp_RSInitTest_initTest() 93 sp<RS> rs = new RS(); in Java_android_cts_rscpp_RSBlurTest_blurTest() local 94 rs->init(path); in Java_android_cts_rscpp_RSBlurTest_blurTest() 98 e = Element::A_8(rs); in Java_android_cts_rscpp_RSBlurTest_blurTest() 100 e = Element::RGBA_8888(rs); in Java_android_cts_rscpp_RSBlurTest_blurTest() [all …]
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | ScriptC_set_target_api_13.java | 32 public ScriptC_set_target_api_13(RenderScript rs) { in ScriptC_set_target_api_13() argument 33 this(rs, in ScriptC_set_target_api_13() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_13() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_13() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_13() 40 public ScriptC_set_target_api_13(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_13() argument 41 super(rs, resources, id); in ScriptC_set_target_api_13()
|
D | ScriptC_set_target_api_18.java | 32 public ScriptC_set_target_api_18(RenderScript rs) { in ScriptC_set_target_api_18() argument 33 this(rs, in ScriptC_set_target_api_18() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_18() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_18() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_18() 40 public ScriptC_set_target_api_18(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_18() argument 41 super(rs, resources, id); in ScriptC_set_target_api_18()
|
D | ScriptC_set_target_api_too_high.java | 32 public ScriptC_set_target_api_too_high(RenderScript rs) { in ScriptC_set_target_api_too_high() argument 33 this(rs, in ScriptC_set_target_api_too_high() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_too_high() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_too_high() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_too_high() 40 public ScriptC_set_target_api_too_high(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_too_high() argument 41 super(rs, resources, id); in ScriptC_set_target_api_too_high()
|
D | ScriptC_set_target_api_16.java | 32 public ScriptC_set_target_api_16(RenderScript rs) { in ScriptC_set_target_api_16() argument 33 this(rs, in ScriptC_set_target_api_16() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_16() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_16() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_16() 40 public ScriptC_set_target_api_16(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_16() argument 41 super(rs, resources, id); in ScriptC_set_target_api_16()
|
D | ScriptC_set_target_api_19.java | 32 public ScriptC_set_target_api_19(RenderScript rs) { in ScriptC_set_target_api_19() argument 33 this(rs, in ScriptC_set_target_api_19() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_19() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_19() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_19() 40 public ScriptC_set_target_api_19(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_19() argument 41 super(rs, resources, id); in ScriptC_set_target_api_19()
|
D | ScriptC_set_target_api_15.java | 32 public ScriptC_set_target_api_15(RenderScript rs) { in ScriptC_set_target_api_15() argument 33 this(rs, in ScriptC_set_target_api_15() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_15() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_15() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_15() 40 public ScriptC_set_target_api_15(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_15() argument 41 super(rs, resources, id); in ScriptC_set_target_api_15()
|
D | ScriptC_set_target_api_11.java | 32 public ScriptC_set_target_api_11(RenderScript rs) { in ScriptC_set_target_api_11() argument 33 this(rs, in ScriptC_set_target_api_11() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_11() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_11() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_11() 40 public ScriptC_set_target_api_11(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_11() argument 41 super(rs, resources, id); in ScriptC_set_target_api_11()
|
D | ScriptC_set_target_api_12.java | 32 public ScriptC_set_target_api_12(RenderScript rs) { in ScriptC_set_target_api_12() argument 33 this(rs, in ScriptC_set_target_api_12() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_12() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_12() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_12() 40 public ScriptC_set_target_api_12(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_12() argument 41 super(rs, resources, id); in ScriptC_set_target_api_12()
|
D | ScriptC_set_target_api_14.java | 32 public ScriptC_set_target_api_14(RenderScript rs) { in ScriptC_set_target_api_14() argument 33 this(rs, in ScriptC_set_target_api_14() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_14() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_14() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_14() 40 public ScriptC_set_target_api_14(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_14() argument 41 super(rs, resources, id); in ScriptC_set_target_api_14()
|
D | ScriptC_set_target_api_17.java | 32 public ScriptC_set_target_api_17(RenderScript rs) { in ScriptC_set_target_api_17() argument 33 this(rs, in ScriptC_set_target_api_17() 34 rs.getApplicationContext().getResources(), in ScriptC_set_target_api_17() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_set_target_api_17() 37 rs.getApplicationContext().getPackageName())); in ScriptC_set_target_api_17() 40 public ScriptC_set_target_api_17(RenderScript rs, Resources resources, int id) { in ScriptC_set_target_api_17() argument 41 super(rs, resources, id); in ScriptC_set_target_api_17()
|
D | ScriptC_leak.java | 32 public ScriptC_leak(RenderScript rs) { in ScriptC_leak() argument 33 this(rs, in ScriptC_leak() 34 rs.getApplicationContext().getResources(), in ScriptC_leak() 35 rs.getApplicationContext().getResources().getIdentifier( in ScriptC_leak() 37 rs.getApplicationContext().getPackageName())); in ScriptC_leak() 40 public ScriptC_leak(RenderScript rs, Resources resources, int id) { in ScriptC_leak() argument 41 super(rs, resources, id); in ScriptC_leak()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | DebugContext.java | 184 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_Normal() 227 (RenderScript rs)-> new Type.Builder(rs, Element.I16(rs)), in testDebugContextRsAllocationCopy2D_Short_Normal() 281 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadSrcLOD() 305 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadDstLOD() 330 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadCount() 353 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadSrcOffset() 377 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), in testDebugContextRsAllocationCopy1D_Byte_BadDstOffset() 402 (RenderScript rs)-> new Type.Builder(rs, Element.I16(rs)), in testDebugContextRsAllocationCopy2D_Short_BadYCount()
|
D | RSBaseCompute.java | 76 protected Element getElement(RenderScript rs, Element.DataType dataType, int size) { in getElement() argument 80 element = Element.F64(rs); in getElement() 82 element = Element.F32(rs); in getElement() 84 element = Element.F16(rs); in getElement() 86 element = Element.I64(rs); in getElement() 88 element = Element.U64(rs); in getElement() 90 element = Element.I32(rs); in getElement() 92 element = Element.U32(rs); in getElement() 94 element = Element.I16(rs); in getElement() 96 element = Element.U16(rs); in getElement() [all …]
|
D | DoubleTest.java | 27 RenderScript rs = RenderScript.create(getContext()); in testDoubleGlobal() local 28 ScriptC_doubleglobal dc = new ScriptC_doubleglobal(rs); in testDoubleGlobal() 31 Allocation out = Allocation.createSized(rs, Element.F32(rs), big); in testDoubleGlobal()
|
D | reduce.rscript | 36 #pragma rs reduce(addint) \ 45 #pragma rs reduce(findMinAndMax) \ 98 #pragma rs reduce(findMinAndMaxHalf) \ 149 #pragma rs reduce(findMinAndMaxHalfIntoArray) \ 171 #pragma rs reduce(findMinAndMaxHalf2) \ 233 #pragma rs reduce(findMinMat) \ 266 #pragma rs reduce(findMinAndMaxMat) \ 320 #pragma rs reduce(fz) \ 337 #pragma rs reduce(fz2) \ 359 #pragma rs reduce(fz3) \ [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | BitmapUtils.java | 16 package android.hardware.camera2.cts.rs; 41 public static int[] calcHistograms(RenderScript rs, Bitmap bmap) { in calcHistograms() argument 42 ScriptIntrinsicHistogram hist = ScriptIntrinsicHistogram.create(rs, Element.U8_4(rs)); in calcHistograms() 43 Allocation sums = Allocation.createSized(rs, Element.I32_4(rs), COLOR_BIT_DEPTH); in calcHistograms() 46 Allocation input = Allocation.createFromBitmap(rs, bmap); in calcHistograms()
|
D | ScriptYuvToRgb.java | 16 package android.hardware.camera2.cts.rs; 22 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo;
|
D | ScriptYuvMeans1d.java | 17 package android.hardware.camera2.cts.rs; 23 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo;
|
D | RawConverter.java | 17 package android.hardware.camera2.cts.rs; 279 public static void convertToSRGB(RenderScript rs, int inputWidth, int inputHeight, in convertToSRGB() argument 298 convertToSRGB(rs, inputWidth, inputHeight, inputStride, cfa, blackLevelPattern, in convertToSRGB() 308 private static void convertToSRGB(RenderScript rs, int inputWidth, int inputHeight, in convertToSRGB() argument 314 if (argbOutput == null || rs == null || rawImageInput == null) { in convertToSRGB() 354 gainMap = createFloat4Allocation(rs, lsm, lensShadingMap.getColumnCount(), in convertToSRGB() 424 Allocation output = Allocation.createFromBitmap(rs, argbOutput); in convertToSRGB() 427 Type.Builder typeBuilder = new Type.Builder(rs, Element.U16(rs)); in convertToSRGB() 431 Allocation input = Allocation.createTyped(rs, inputType); in convertToSRGB() 435 ScriptC_raw_converter converterKernel = new ScriptC_raw_converter(rs); in convertToSRGB() [all …]
|
/cts/apps/CtsVerifier/jni/megaaudio/recorder/ |
D | AppCallbackAudioSink.cpp | 25 jint rs = env->GetJavaVM(&mJVM); in AppCallbackAudioSink() local 37 int rs = mJVM->AttachCurrentThread(&env, NULL); in init() local 57 int rs = mJVM->AttachCurrentThread(&env, NULL); in stop() local 76 int rs = mJVM->AttachCurrentThread(&env, NULL); in push() local
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | RefocusTest.java | 60 RenderScript rs = RenderScript.create(ctx); in refocus() local 67 RsTaskParams rsTaskParam = new RsTaskParams(rs, current_depth_options); in refocus() 69 RenderScriptTask renderScriptTask = new RenderScriptTask(rs, impl); in refocus() 84 rs.destroy(); in refocus()
|
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
D | AbstractRecognitionServiceTest.java | 146 RecognitionSupport rs = new RecognitionSupport.Builder() in testCanCheckForSupport() local 156 CtsRecognitionService.sConsumerQueue.add(c -> c.onSupportResult(rs)); in testCanCheckForSupport() 162 assertThat(supportResults).containsExactly(rs); in testCanCheckForSupport() 163 assertThat(rs.getInstalledOnDeviceLanguages()) in testCanCheckForSupport() 165 assertThat(rs.getPendingOnDeviceLanguages()) in testCanCheckForSupport() 167 assertThat(rs.getSupportedOnDeviceLanguages()) in testCanCheckForSupport() 169 assertThat(rs.getOnlineLanguages()) in testCanCheckForSupport()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestNanHalf.rscript | 17 // Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh. 20 #pragma rs java_package_name(android.renderscript.cts)
|