Home
last modified time | relevance | path

Searched refs:mOut (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DClearObjectTest.java42 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
45 ms_clear.forEach_clear_element(mOut); in forEach()
48 ms_clear.forEach_clear_type(mOut); in forEach()
51 ms_clear.forEach_clear_allocation(mOut); in forEach()
54 ms_clear.forEach_clear_sampler(mOut); in forEach()
57 ms_clear.forEach_clear_script(mOut); in forEach()
65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testClearObjectElement() local
68 forEach(TEST_ID_ELEMENT, mIn, mOut); in testClearObjectElement()
72 mOut.copyTo(tmpArray); in testClearObjectElement()
78 mOut.destroy(); in testClearObjectElement()
[all …]
DIsObjectTest.java30 private Allocation mOut; field in IsObjectTest
58 if (mOut != null) { in tearDown()
59 mOut.destroy(); in tearDown()
78 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectElement()
80 ms_is_object.forEach_is_object_element(mIn, mOut); in testIsObjectElement()
85 mOut.copyTo(tmpArray); in testIsObjectElement()
98 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectType()
101 ms_is_object.forEach_is_object_type(mIn, mOut); in testIsObjectType()
106 mOut.copyTo(tmpArray); in testIsObjectType()
122 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testIsObjectAllocation()
[all …]
DSetObjectTest.java29 private Allocation mOut; field in SetObjectTest
59 if (mOut != null) { in tearDown()
60 mOut.destroy(); in tearDown()
79 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectElement()
81 ms_set.forEach_set_object_element(mIn, mOut); in testSetObjectElement()
86 mOut.copyTo(tmpArray); in testSetObjectElement()
99 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectType()
102 ms_set.forEach_set_object_type(mIn, mOut); in testSetObjectType()
107 mOut.copyTo(tmpArray); in testSetObjectType()
122 mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); in testSetObjectAllocation()
[all …]
DGetElementAt.java28 private Allocation mOut; field in GetElementAt
37 if (mOut != null) { in tearDown()
38 mOut.destroy(); in tearDown()
53 public void forEach(int testId, Allocation mOut) throws RSRuntimeException { in forEach() argument
56 script_x.forEach_root(mOut); in forEach()
59 script_xy.forEach_root(mOut); in forEach()
78 mOut = Allocation.createTyped(mRS, gIn.getType()); in testX()
81 forEach(TEST_ID_X, mOut); in testX()
84 mOut.copyTo(out); in testX()
99 mOut = Allocation.createTyped(mRS, gIn.getType()); in testXY()
[all …]
DInitTest.java25 private Allocation mOut; field in InitTest
29 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
30 script.forEach_root(mIn, mOut); in forEach()
39 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE); in testInitTest()
48 forEach(0, mIn, mOut); in testInitTest()
51 mOut.copyTo(out); in testInitTest()
55 mOut.destroy(); in testInitTest()
DAllocationResize.java27 private Allocation mOut; field in AllocationResize
31 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
32 mScript.forEach_root(mIn, mOut); in forEach()
42 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2); in testResize()
44 mOut.resize(INPUTSIZE); in testResize()
55 forEach(0, mIn, mOut); in testResize()
59 mOut.copyTo(outArray); in testResize()
DLaunchClip.java30 int[] mOut; field in LaunchClip
86 mOut = new int[t.getCount()]; in setup()
200 mAout.copyTo(mOut); in testWrite1D()
202 verifyRange(sc, mOut); in testWrite1D()
212 mAout.copyTo(mOut); in testWrite1DAdapter1D()
214 verifyRange(sc, mOut); in testWrite1DAdapter1D()
225 mAout.copyTo(mOut); in testWrite2D()
227 verifyRange(sc, mOut); in testWrite2D()
238 mAout.copyTo(mOut); in testWrite2DAdapter1D()
240 verifyRange(sc, mOut); in testWrite2DAdapter1D()
[all …]
DGetAllocationTest.java37 Allocation mOut = Allocation.createTyped(mRS, mTemp.getType()); in testGetAllocation() local
40 ms.set_alloc_out(mOut); in testGetAllocation()
44 mOut.copyTo(out); in testGetAllocation()
52 mOut.destroy(); in testGetAllocation()
DallocationCopy2DRange.rs8 rs_allocation mOut;
11 rsAllocationCopy2DRange(mOut, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X,
DRsPackColorTo8888Test.java41 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
44 script_f32.forEach_pack_color_to_8888_rgb(mIn, mOut); in forEach()
47 script_f32.forEach_pack_color_to_8888_rgba(mIn, mOut); in forEach()
50 script_f32.forEach_pack_color_to_8888_f32_3(mIn, mOut); in forEach()
53 script_f32.forEach_pack_color_to_8888_f32_4(mIn, mOut); in forEach()
DRsUnpackColor8888Test.java37 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
38 script.forEach_root(mIn, mOut); in forEach()
DRSBaseCompute.java408 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { in forEach() argument
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_object.cpp50 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() local
52 ms_clear->forEach_clear_element(mOut); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement()
55 mOut->copy1DTo(tmpArray); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement()
78 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() local
80 ms_clear->forEach_clear_type(mOut); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType()
83 mOut->copy1DTo(tmpArray); in Java_android_cts_rscpp_RSObjectTest_testClearObjectType()
105 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation() local
109 ms_clear->forEach_clear_allocation(mOut); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
112 mOut->copy1DTo(tmpArray); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
136 sp<Allocation> mOut = Allocation::createSized(mRS, Element::I32(mRS), ObjectNum); in Java_android_cts_rscpp_RSObjectTest_testClearObjectSampler() local
[all …]
/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java33 private FileOutputStream mOut; field in FileObserverTest
66 if (mOut != null) { in tearDown()
67 mOut.close(); in tearDown()
98 mOut = new FileOutputStream(mTestFile); in testFileObserver()
100 mOut.write(FILE_DATA); // modify, open, write, modify in testFileObserver()
101 mOut.close(); // close_write in testFileObserver()
119 mOut.close(); in testFileObserver()
120 mOut = null; in testFileObserver()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java1471 private final UsbEndpoint mOut; field in UsbDeviceTestActivity.ReceiverThread
1494 mOut = out; in ReceiverThread()
1534 if (!request.getEndpoint().equals(mOut)) { in run()
1556 if (request.getEndpoint().equals(mOut)) { in run()