/cts/tests/tests/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 120 IpSecManager ism, int direction, IpSecTransform transform) throws Exception; in applyTransportModeTransform() argument 181 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument 182 ism.applyTransportModeTransform(mFd, direction, transform); in applyTransportModeTransform() 262 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument 263 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform() 310 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument 311 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform() 331 IpSecManager ism, IpSecTransform transform, GenericSocket socket) throws Exception { in applyTransformBidirectionally() argument 333 socket.applyTransportModeTransform(ism, direction, transform); in applyTransformBidirectionally() 338 InetAddress localAddr, IpSecManager ism, IpSecTransform transform, boolean connected) in getNativeUdpSocketPair() argument [all …]
|
D | IpSecManagerTest.java | 141 private void checkUnconnectedUdp(IpSecTransform transform, InetAddress local, int sendCount, in checkUnconnectedUdp() argument 145 SocketPair<JavaUdpSocket> sockets = getJavaUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp() 150 getNativeUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp() 171 private void checkTcp(IpSecTransform transform, InetAddress local, int sendCount, in checkTcp() argument 175 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in checkTcp() 179 SocketPair<NativeTcpSocket> sockets = getNativeTcpSocketPair(local, mISM, transform); in checkTcp() 241 IpSecTransform transform = in testCreateTransform() local 271 localSocket, IpSecManager.DIRECTION_IN, transform); in testCreateTransform() 275 localSocket, IpSecManager.DIRECTION_OUT, transform); in testCreateTransform() 301 transform.close(); in testCreateTransform() [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | HtmlReport.java | 27 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()
|
D | NdkApiXmlReport.java | 40 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()
|
D | CtsApiCoverage.java | 49 import javax.xml.transform.TransformerException;
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_capture_result.py | 127 transform = cap_res["android.colorCorrection.transform"] 138 for t in transform] 151 assert(len(transform) == 9) 153 assert(all([t["denominator"] != 0 for t in transform])) 158 assert(any([not is_close_rational(transform[i], manual_transform[i]) 178 transform = cap_res["android.colorCorrection.transform"] 192 for t in transform] 208 assert(len(transform) == 9) 215 assert(all([is_close_rational(transform[i], manual_transform[i])
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ANativeWindowTest.java | 140 for (int transform = 0; transform <= ALL_TRANSFORM_BITS; transform++) { in testSetBuffersTransform() 141 nPushBufferWithTransform(surface, transform); in testSetBuffersTransform() 147 if ((transform & MIRROR_HORIZONTAL_BIT) != 0) { in testSetBuffersTransform() 150 if ((transform & MIRROR_VERTICAL_BIT) != 0) { in testSetBuffersTransform() 153 if ((transform & ROTATE_90_BIT) != 0) { in testSetBuffersTransform() 171 transform, in testSetBuffersTransform() 248 private static native void nPushBufferWithTransform(Surface surface, int transform); in nPushBufferWithTransform() argument
|
D | ColorSpaceTest.java | 480 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnector() 487 assertSame(r3, connector.transform(r3)); in testConnector() 499 r1 = connector.transform(source[0], source[1], source[2]); in testConnector() 506 assertSame(r3, connector.transform(r3)); in testConnector() 521 float[] r = connector.transform(source[0], source[1], source[2]); in testAdaptedConnector() 538 float[] relative = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent() 549 float[] absolute = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent() 568 float[] r = connector.transform(source[0], source[1], source[2]); in testIdentityConnector() 583 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnectorTransformIdentity() 589 assertSame(r3, connector.transform(r3)); in testConnectorTransformIdentity() [all …]
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 282 Matrix transform = new Matrix(); in renderPerspective() local 284 transform.setValues(new float[] { 1, 1, 1, 1, 1, 1, 1, 1, 1 }); in renderPerspective() 287 () -> renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, transform, in renderPerspective() 293 Matrix transform = new Matrix(); in render45degreeRotationTranslationAndScaleAndClip() local 295 transform.postRotate(45); in render45degreeRotationTranslationAndScaleAndClip() 297 transform.postTranslate(A4_WIDTH_PTS / 4, A4_HEIGHT_PTS / 4); in render45degreeRotationTranslationAndScaleAndClip() 299 transform.postScale(0.75f, 0.75f); in render45degreeRotationTranslationAndScaleAndClip() 303 renderAndCompare(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, clip, transform, in render45degreeRotationTranslationAndScaleAndClip()
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_3a_remote.py | 49 transform = cap["metadata"]["android.colorCorrection.transform"] 61 for t in transform]
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_ANativeWindowTest.cpp | 28 void pushBufferWithTransform(JNIEnv* env, jclass, jobject jSurface, jint transform) { in pushBufferWithTransform() argument 30 ANativeWindow_setBuffersTransform(window, transform); in pushBufferWithTransform()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Util.java | 7 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/view/src/android/view/cts/ |
D | TextureViewTest.java | 170 Matrix transform = new Matrix(); in testTransformScale() local 174 transform.setValues(values); in testTransformScale() 175 activity.drawFrame(transform, TextureViewTest::drawGlQuad); in testTransformScale() 322 Matrix transform = new Matrix(); in testSamplingWithTransform() local 323 transform.setValues(matrices[i]); in testSamplingWithTransform() 326 activity.drawFrame(transform, TextureViewTest::drawGlBlackWhiteLines); in testSamplingWithTransform() 347 transform.mapRect(texturePosF); in testSamplingWithTransform() 381 + Integer.toHexString(pixels[failPosition]) + " " + transform.toString(), in testSamplingWithTransform() 416 float[] expectedColor = ColorSpace.connect(srcColorSpace, dstSpace).transform(srcColor); in verify() 491 float[] outputColor = connector.transform(inputColor); in testGetBitmap()
|
D | PixelCopyTest.java | 451 final float[] intermediateRed = proPhotoToDisplayWideColorSpace.transform(1.0f, 0.0f, 0.0f); in testWideGamutWindowProducerCopyToRGBA16F() 453 .transform(0.0f, 1.0f, 0.0f); in testWideGamutWindowProducerCopyToRGBA16F() 455 .transform(0.0f, 0.0f, 1.0f); in testWideGamutWindowProducerCopyToRGBA16F() 457 .transform(1.0f, 1.0f, 0.0f); in testWideGamutWindowProducerCopyToRGBA16F() 459 final float[] expectedRed = displayWideColorSpaceToExtendedSrgb.transform(intermediateRed); in testWideGamutWindowProducerCopyToRGBA16F() 461 .transform(intermediateGreen); in testWideGamutWindowProducerCopyToRGBA16F() 463 .transform(intermediateBlue); in testWideGamutWindowProducerCopyToRGBA16F() 465 .transform(intermediateYellow); in testWideGamutWindowProducerCopyToRGBA16F()
|
D | TextureViewCtsActivity.java | 248 public void drawFrame(Matrix transform, DrawFrame callback) throws Throwable { in drawFrame() argument 251 mTextureView.setTransform(transform); in drawFrame()
|
D | ASurfaceControlTest.java | 208 int dstBottom, int transform) { in setGeometry() argument 211 dstLeft, dstTop, dstRight, dstBottom, transform); in setGeometry() 216 int transform) { in setGeometry() argument 219 dstLeft, dstTop, dstRight, dstBottom, transform); in setGeometry() 1571 int srcBottom, int dstRight, int dstTop, int dstLeft, int dstBottom, int transform); in nSurfaceTransaction_setGeometry() argument
|
/cts/tools/utils/ |
D | DescriptionGenerator.java | 29 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/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | DepthImage.java | 81 DepthTransform transform = new RangeInverseDepthTransform((float)near, (float)far); in createFromDepthmap() local 91 transform); in createFromDepthmap()
|
D | layer_info.rsh | 19 // distance transform result to be a matte value within [0,1].
|
D | layer_info_fast.rsh | 19 // distance transform result to be a matte value within [0,1].
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 513 Matrix transform = new Matrix(); in startPreview() local 518 transform.setScale(1, heightRatio/widthRatio); in startPreview() 519 transform.postTranslate(0, in startPreview() 522 transform.setScale(widthRatio/heightRatio, 1); in startPreview() 523 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio/heightRatio)/2, in startPreview() 527 mPreviewView.setTransform(transform); in startPreview()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 20 import static com.google.common.collect.Collections2.transform; 346 return joinStrings(transform(paddingModes, forMap(paddingMap, "Unknown"))); in paddingModesToString() 354 return joinStrings(transform(digests, forMap(digestMap, "Unknown"))); in digestsToString() 362 return joinStrings(transform(purposes, forMap(purposeMap, "Unknown"))); in purposesToString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 891 Matrix transform = new Matrix(); in startPreview() local 900 transform.setScale(1, heightRatio / widthRatio); in startPreview() 901 transform.postTranslate(0, in startPreview() 907 transform.setScale(widthRatio / heightRatio, 1); in startPreview() 908 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0); in startPreview() 914 mPreviewView.setTransform(transform); in startPreview()
|
/cts/tests/tests/view/jni/ |
D | android_view_cts_ASurfaceControlTest.cpp | 290 jint transform) { in SurfaceTransaction_setGeometry() argument 295 reinterpret_cast<ASurfaceControl*>(surfaceControl), src, dst, transform); in SurfaceTransaction_setGeometry()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraGLTest.java | 600 float[] transform = new float[16]; 601 mSurfaceTexture.getTransformMatrix(transform); 604 if (transform[k] != 0.f) {
|