Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 131) sorted by relevance

123456

/cts/tests/tests/rscpp/librscpptest/
Drs_jni_foreach.cpp49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
61 t = Type::create(mRS, Element::U8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
67 t = Type::create(mRS, Element::I8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
69 t = Type::create(mRS, Element::U8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
75 t = Type::create(mRS, Element::I8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
77 t = Type::create(mRS, Element::U8_4(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
83 t = Type::create(mRS, Element::I16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
85 t = Type::create(mRS, Element::U16(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
[all …]
Drs_jni_type.cpp52 result &= (b.create() != nullptr); in testTypeBuilderHelper()
122 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
133 sp<const Type> t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
140 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
146 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
152 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
157 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
163 t = b.create(); in Java_android_cts_rscpp_RSTypeTest_testGetCount()
180 sp<const Type> t = Type::create(mRS, Element::F32(mRS), 3, 4, 0); in Java_android_cts_rscpp_RSTypeTest_testGet()
190 passed &= (b.create()->hasFaces()); in Java_android_cts_rscpp_RSTypeTest_testGet()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DForEachTest.java59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach()
66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach()
78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach()
80 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach()
92 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach()
94 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach()
106 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach()
108 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach()
120 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach()
122 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach()
[all …]
DKernelTest.java59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach()
66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach()
78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach()
80 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach()
92 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach()
94 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach()
106 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach()
108 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach()
120 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach()
122 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach()
[all …]
DTypeTest.java28 b.create(); in testBuilderSizes()
93 Type t = b.create(); in testGetCount()
102 Type t = b.setX(8).setY(1).create(); in testGetCount()
106 t = b.setX(8).setY(8).create(); in testGetCount()
110 t = b.setX(8).setY(4).create(); in testGetCount()
114 t = b.setX(4).setY(8).create(); in testGetCount()
117 t = b.setX(7).setY(1).create(); in testGetCount()
121 t = b.setX(7).setY(3).create(); in testGetCount()
129 assertTrue(b.create().getElement() == Element.F32(mRS)); in testGetElement()
135 assertTrue(b.create().getX() == 3); in testGetX()
[all …]
DScriptGroupTest.java45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel()
49 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupSingleKernel()
63 group = b.create(); in testScriptGroupSingleKernel()
74 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel()
78 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
79 mColorMatrix2 = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
97 group = b.create(); in testScriptGroupDisconnectedKernel()
108 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupFieldConnection()
113 mConvolve3x3 = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection()
114 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection()
[all …]
DAllocationTest.java48 Allocation.createTyped(mRS, typeBuilder.create()); in createTypedHelper()
59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), in createTypedTextureHelper()
62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), in createTypedTextureHelper()
66 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
71 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
74 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
80 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper()
83 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(3).create(), in createTypedTextureHelper()
86 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(7).create(), in createTypedTextureHelper()
91 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper()
[all …]
DrsAllocationCopyTest.java40 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Byte()
41 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Byte()
87 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Short()
88 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Short()
134 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Int()
135 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Int()
181 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Float()
182 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Float()
229 Allocation aIn = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Long()
230 Allocation aOut = Allocation.createTyped(mRS, typeBuilder.create()); in test_rsAllocationCopy1D_Long()
[all …]
DVoidPtr.java33 Type t = typeBuilder.setX(1).create(); in setupVoidPtr()
54 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutInt()
82 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutChar()
111 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInInt()
142 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInChar()
DAllocationCopyPaddedTest.java36 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_1D()
64 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_2D()
93 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Byte3_3D()
123 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_1D_Helper()
159 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_2D_Helper()
196 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Short3_3D_Helper()
231 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_1D()
262 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_2D()
294 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Int3_3D()
324 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); in test_AllocationPadded_Float3_1D()
[all …]
DRenderScriptTest.java29 RenderScript mRS = RenderScript.create(getContext()); in testRenderScript()
40 RenderScript mRS = RenderScript.create(null); in testAPI()
45 RenderScript mRS = RenderScript.create(getContext()); in testAPI()
DSingleSourceForEachTest.java46 testInputAlloc = Allocation.createTyped(mRS, i32TypeBuilder.create()); in setUp()
47 testInputAlloc2 = Allocation.createTyped(mRS, i32TypeBuilder.create()); in setUp()
48 testOutputAlloc = Allocation.createTyped(mRS, i32TypeBuilder.create()); in setUp()
49 baselineOutputAlloc = Allocation.createTyped(mRS, i32TypeBuilder.create()); in setUp()
DThunkerCreateTest.java35 Method create = javaRS.getDeclaredMethod("create", signature); in testCreateReflection() local
37 assertTrue (create.invoke(null, args) != null); in testCreateReflection()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0()
58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0()
61 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0()
69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0()
88 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1()
89 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1()
92 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1()
99 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1()
122 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2()
123 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2()
[all …]
DRSBlurTest.java46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel()
47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel()
49 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.A_8(mRS)); in testRSBlurOneChannel()
57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel()
75 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels()
76 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels()
78 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels()
86 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels()
DRSConvolveTest.java57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
60 … ScriptIntrinsicConvolve3x3 convolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.A_8(mRS)); in testConvolve3x3()
68 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3()
105 RenderScript mRS = RenderScript.create(getContext()); in testConvolve5x5()
114 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
115 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
117 … ScriptIntrinsicConvolve5x5 convolve = ScriptIntrinsicConvolve5x5.create(mRS, Element.A_8(mRS)); in testConvolve5x5()
125 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5()
DRS3DLUTTest.java54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
62 Allocation cube = Allocation.createTyped(mRS, buildCube.create()); in testRSLUT()
64 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
72 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
DRSLUTTest.java46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
49 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
61 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT()
DRSBlendTest.java54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlend()
55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlend()
59 ScriptIntrinsicBlend blend = ScriptIntrinsicBlend.create(mRS, Element.RGBA_8888(mRS)); in testRSBlend()
113 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); in testRSBlend()
/cts/tools/utils/
Dcertificates.py52 def create(cn, issuer=None, key=None, keysize=2048, digest="sha256", member in Certificate
81 a = Certificate.create("Root A")
82 a_sha1 = Certificate.create("Root A", key=a.key, digest="sha1")
83 b = Certificate.create("Root B")
84 a_to_b = Certificate.create("Root A", b, a.key)
85 b_to_a = Certificate.create("Root B", a, b.key)
86 leaf1 = Certificate.create("Leaf", a)
87 intermediate_a = Certificate.create("intermediate", a)
88 intermediate_b = Certificate.create("intermediate", b, intermediate_a.key)
89 leaf2 = Certificate.create("Leaf 2", intermediate_a)
/cts/tests/tests/media/src/android/media/cts/
DAudioPreProcessingTest.java60 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_1NsCreateAndRelease()
86 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_2NsSetEnabledGetEnabled()
121 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_1AecCreateAndRelease()
147 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_2AecSetEnabledGetEnabled()
182 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_1AgcCreateAndRelease()
208 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_2AgcSetEnabledGetEnabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcDialogs.java42 .create(); in createNotEnabledDialog() method
57 .create();
67 .create();
82 .create();
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java133 Type a_type = builder.setX(k).setY(m).create(); in runBNNM()
134 Type b_type = builder.setX(k).setY(n).create(); in runBNNM()
135 Type c_type = builder.setX(n).setY(m).create(); in runBNNM()
145 ScriptIntrinsicBLAS blas = ScriptIntrinsicBLAS.create(mRS); in runBNNM()
451 Type a_type = builder.setX(k).setY(m).create(); in testExceptionHandling()
452 Type b_type = builder.setX(k).setY(n).create(); in testExceptionHandling()
453 Type c_type = builder.setX(n).setY(m).create(); in testExceptionHandling()
463 ScriptIntrinsicBLAS blas = ScriptIntrinsicBLAS.create(mRS); in testExceptionHandling()
/cts/tests/tests/util/src/android/util/cts/
DRangeTest.java87 Range<Float> oneHalf = Range.create(1.0f, 2.0f); in testEquals()
93 Range<Float> twoThirds2 = Range.create(2.0f, 3.0f); in testEquals()
100 Range.create(new Rational(-1, 10), new Rational(1, 10)); in testEquals()
107 Range<Integer> hundredOneTwo = Range.create(100, 200); in testInRange()
116 Range<Float> infinities = Range.create(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); in testInRange()
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java48 Typeface tf = Typeface.create(family, style); in createTypeface()
88 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate()
90 typeface = Typeface.create(MONO, Typeface.BOLD); in testCreate()
92 typeface = Typeface.create(INVALID, Typeface.ITALIC); in testCreate()
95 typeface = Typeface.create(typeface, Typeface.NORMAL); in testCreate()
97 typeface = Typeface.create(typeface, Typeface.BOLD); in testCreate()

123456