Home
last modified time | relevance | path

Searched refs:transform (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java104 IpSecManager ism, int direction, IpSecTransform transform) throws Exception; in applyTransportModeTransform() argument
165 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
166 ism.applyTransportModeTransform(mFd, direction, transform); in applyTransportModeTransform()
235 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
236 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
283 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
284 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
304 IpSecManager ism, IpSecTransform transform, GenericSocket socket) throws Exception { in applyTransformBidirectionally() argument
306 socket.applyTransportModeTransform(ism, direction, transform); in applyTransformBidirectionally()
311 InetAddress localAddr, IpSecManager ism, IpSecTransform transform, boolean connected) in getNativeUdpSocketPair() argument
[all …]
DIpSecManagerTest.java147 private void checkUnconnectedUdp(IpSecTransform transform, InetAddress local, int sendCount, in checkUnconnectedUdp() argument
151 SocketPair<JavaUdpSocket> sockets = getJavaUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp()
156 getNativeUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp()
177 private void checkTcp(IpSecTransform transform, InetAddress local, int sendCount, in checkTcp() argument
181 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in checkTcp()
185 SocketPair<NativeTcpSocket> sockets = getNativeTcpSocketPair(local, mISM, transform); in checkTcp()
246 IpSecTransform transform = in testCreateTransform() local
276 localSocket, IpSecManager.DIRECTION_IN, transform); in testCreateTransform()
280 localSocket, IpSecManager.DIRECTION_OUT, transform); in testCreateTransform()
306 transform.close(); in testCreateTransform()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DHtmlReport.java27 import javax.xml.transform.Transformer;
28 import javax.xml.transform.TransformerException;
29 import javax.xml.transform.TransformerFactory;
30 import javax.xml.transform.stream.StreamResult;
31 import javax.xml.transform.stream.StreamSource;
69 transformer.transform(xmlSource, result); in printHtmlReport()
DNdkApiXmlReport.java40 import javax.xml.transform.OutputKeys;
41 import javax.xml.transform.Transformer;
42 import javax.xml.transform.TransformerException;
43 import javax.xml.transform.TransformerFactory;
44 import javax.xml.transform.dom.DOMSource;
45 import javax.xml.transform.stream.StreamResult;
164 tr.transform( in main()
270 tr.transform(new DOMSource(dom), new StreamResult(new FileOutputStream(xml))); in saveToXML()
DCtsApiCoverage.java49 import javax.xml.transform.TransformerException;
/cts/apps/CameraITS/tests/scene1/
Dtest_capture_result.py115 transform = cap_res["android.colorCorrection.transform"]
126 for t in transform]
139 assert(len(transform) == 9)
141 assert(all([t["denominator"] != 0 for t in transform]))
146 assert(any([not is_close_rational(transform[i], manual_transform[i])
165 transform = cap_res["android.colorCorrection.transform"]
179 for t in transform]
195 assert(len(transform) == 9)
202 assert(all([is_close_rational(transform[i], manual_transform[i])
/cts/tests/tests/graphics/src/android/graphics/cts/
DANativeWindowTest.java139 for (int transform = 0; transform <= ALL_TRANSFORM_BITS; transform++) { in testSetBuffersTransform()
140 nPushBufferWithTransform(surface, transform); in testSetBuffersTransform()
146 if ((transform & MIRROR_HORIZONTAL_BIT) != 0) { in testSetBuffersTransform()
149 if ((transform & MIRROR_VERTICAL_BIT) != 0) { in testSetBuffersTransform()
152 if ((transform & ROTATE_90_BIT) != 0) { in testSetBuffersTransform()
170 transform, in testSetBuffersTransform()
247 private static native void nPushBufferWithTransform(Surface surface, int transform); in nPushBufferWithTransform() argument
DColorSpaceTest.java477 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnector()
484 assertSame(r3, connector.transform(r3)); in testConnector()
496 r1 = connector.transform(source[0], source[1], source[2]); in testConnector()
503 assertSame(r3, connector.transform(r3)); in testConnector()
518 float[] r = connector.transform(source[0], source[1], source[2]); in testAdaptedConnector()
535 float[] relative = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent()
546 float[] absolute = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent()
565 float[] r = connector.transform(source[0], source[1], source[2]); in testIdentityConnector()
580 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnectorTransformIdentity()
586 assertSame(r3, connector.transform(r3)); in testConnectorTransformIdentity()
[all …]
DPathTest.java146 path.transform(new Matrix(), dst); in testTransform1()
/cts/apps/CameraITS/tests/inprog/
Dtest_3a_remote.py49 transform = cap["metadata"]["android.colorCorrection.transform"]
61 for t in transform]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ANativeWindowTest.cpp28 void pushBufferWithTransform(JNIEnv* env, jclass, jobject jSurface, jint transform) { in pushBufferWithTransform() argument
30 ANativeWindow_setBuffersTransform(window, transform); in pushBufferWithTransform()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java283 Matrix transform = new Matrix(); in renderPerspective() local
285 transform.setValues(new float[] { 1, 1, 1, 1, 1, 1, 1, 1, 1 }); in renderPerspective()
288 () -> renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, transform, in renderPerspective()
294 Matrix transform = new Matrix(); in render45degreeRotationTranslationAndScaleAndClip() local
296 transform.postRotate(45); in render45degreeRotationTranslationAndScaleAndClip()
298 transform.postTranslate(A4_WIDTH_PTS / 4, A4_HEIGHT_PTS / 4); in render45degreeRotationTranslationAndScaleAndClip()
300 transform.postScale(0.75f, 0.75f); in render45degreeRotationTranslationAndScaleAndClip()
304 renderAndCompare(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, clip, transform, in render45degreeRotationTranslationAndScaleAndClip()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java7 import org.apache.commons.math.transform.FastFourierTransformer;
69 Complex[] data1Fft = fft.transform(padZeros(data1, n)); in computeCrossCorrelation()
70 Complex[] data2Fft = fft.transform(padZeros(data2, n)); in computeCrossCorrelation()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DDepthImage.java81 DepthTransform transform = new RangeInverseDepthTransform((float)near, (float)far); in createFromDepthmap() local
91 transform); in createFromDepthmap()
Dlayer_info.rsh19 // distance transform result to be a matte value within [0,1].
Dlayer_info_fast.rsh19 // distance transform result to be a matte value within [0,1].
/cts/tools/utils/
DDescriptionGenerator.java29 import javax.xml.transform.Transformer;
30 import javax.xml.transform.TransformerException;
31 import javax.xml.transform.TransformerFactory;
32 import javax.xml.transform.TransformerFactoryConfigurationError;
33 import javax.xml.transform.dom.DOMSource;
34 import javax.xml.transform.stream.StreamResult;
297 t.transform(new DOMSource(mDoc), in dump()
/cts/hostsidetests/jvmti/run-tests/
DAndroid.mk73 src/932-transform-saves/src/art/Test932.java \
77 src/944-transform-classloaders/src/art/Test944.java \
82 src/983-source-transform-verify/src/art/Test983.java \
107 src/1910-transform-with-default/src/art/Test1910.java \
130 src/1937-transform-soft-fail/src/art/Test1937.java \
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java452 Matrix transform = new Matrix(); in startPreview() local
457 transform.setScale(1, heightRatio/widthRatio); in startPreview()
458 transform.postTranslate(0, in startPreview()
461 transform.setScale(widthRatio/heightRatio, 1); in startPreview()
462 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio/heightRatio)/2, in startPreview()
466 mPreviewView.setTransform(transform); in startPreview()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java20 import static com.google.common.collect.Collections2.transform;
324 return joinStrings(transform(paddingModes, forMap(paddingMap, "Unknown"))); in paddingModesToString()
332 return joinStrings(transform(digests, forMap(digestMap, "Unknown"))); in digestsToString()
340 return joinStrings(transform(purposes, forMap(purposeMap, "Unknown"))); in purposesToString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java802 Matrix transform = new Matrix(); in startPreview() local
811 transform.setScale(1, heightRatio / widthRatio); in startPreview()
812 transform.postTranslate(0, in startPreview()
818 transform.setScale(widthRatio / heightRatio, 1); in startPreview()
819 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0); in startPreview()
825 mPreviewView.setTransform(transform); in startPreview()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java248 public void drawFrame(Matrix transform, DrawFrame callback) throws Throwable { in drawFrame() argument
251 mTextureView.setTransform(transform); in drawFrame()
DTextureViewTest.java196 float[] expectedColor = ColorSpace.connect(srcSpace, dstSpace).transform(srcColor); in verify()
DMotionEventTest.java581 mMotionEvent1.transform(null); in testTransformShouldThrowWhenMatrixIsNull()
630 event.transform(matrix); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java598 float[] transform = new float[16];
599 mSurfaceTexture.getTransformMatrix(transform);
602 if (transform[k] != 0.f) {

12