Home
last modified time | relevance | path

Searched refs:dataOut (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCorrelation.java141 private boolean autocorrelation(double [] data, double [] dataOut) { in autocorrelation() argument
153 dataOut[i] = 0; in autocorrelation()
156 dataOut[i] += data[j] * data[i + j]; in autocorrelation()
158 dataOut[i] = dataOut[i] / sumsquared; in autocorrelation()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationByteBufferTest.java94 byte[] dataOut = new byte[dimX * vecWidth]; in test1DWrite()
97 alloc.copyTo(dataOut); in test1DWrite()
99 assertEquals(dataIn[i], dataOut[i]); in test1DWrite()
115 byte[] dataOut = new byte[dimX * dimY * vecWidth]; in test2DWrite()
118 alloc.copyTo(dataOut); in test2DWrite()
121 assertEquals(dataIn[j*stride + i], dataOut[j*dimX*vecWidth + i]); in test2DWrite()
DAllocationCreateAllocationsTest.java104 byte[] dataOut = new byte[dX * dY * 4]; in testMultipleIoReceive_USAGE_IO_INPUT()
110 allocArray[i].copyTo(dataOut); in testMultipleIoReceive_USAGE_IO_INPUT()
112 assertTrue("IoReceive Failed, Frame: " + i, dataIn[j] == dataOut[j]); in testMultipleIoReceive_USAGE_IO_INPUT()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java83 DataOutputStream dataOut = new DataOutputStream(outputStream); in testCreatePrivateData() local
84 dataOut.writeInt(getContext().getApplicationInfo().uid); in testCreatePrivateData()
85 dataOut.close(); in testCreatePrivateData()
/cts/tests/camera/src/android/hardware/camera2/cts/
DAllocationTest.java444 byte[] dataOut = scriptGraph.getOutputData(); in validateInputOutputNotZeroes()
446 packedSizeOut, dataOut.length); in validateInputOutputNotZeroes()
449 Log.v(TAG, "checkAllocationByConvertingToRgba - RGB data size " + dataOut.length); in validateInputOutputNotZeroes()
452 assertArrayNotAllZeroes("RGBA data was not updated", dataOut); in validateInputOutputNotZeroes()