/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()
|
/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/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 | 249 public void drawFrame(Matrix transform, DrawFrame callback) throws Throwable { in drawFrame() argument 252 mTextureView.setTransform(transform); in drawFrame()
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_3a_remote.py | 49 transform = cap["metadata"]["android.colorCorrection.transform"] 61 for t in transform]
|
/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/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/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 | layered_filter_fast_d1new.rscript | 168 // The dilated_depth will then be updated in distance transform later. 169 // A valid, non-zero dilated_depth indicates distance transform is 170 // needed for the pixel. Otherwise, the distance transform will be 228 // The dilated_depth will then be updated in distance transform later. 229 // A valid, non-zero dilated_depth indicates distance transform is 230 // needed for the pixel. Otherwise, the distance transform will be 241 // Distance transform in processing layers in pass one from the back-most to 287 // Distance transform in processing layers in pass two from the front-most to 482 // transform to the active pixels is larger than dilation_radius. 536 // transform to the active pixels is larger than dilation_radius. [all …]
|
D | layered_filter_fast_f32.rscript | 190 // The dilated_depth will then be updated in distance transform later. 191 // A valid, non-zero dilated_depth indicates distance transform is 192 // needed for the pixel. Otherwise, the distance transform will be 202 // Distance transform in processing layers in pass one from the back-most to 226 // Distance transform in processing layers in pass two from the front-most to 350 // transform to the active pixels is larger than dilation_radius. 413 // transform to the active pixels is larger than dilation_radius.
|
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 | 892 Matrix transform = new Matrix(); in startPreview() local 901 transform.setScale(1, heightRatio / widthRatio); in startPreview() 902 transform.postTranslate(0, in startPreview() 908 transform.setScale(widthRatio / heightRatio, 1); in startPreview() 909 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0); in startPreview() 915 mPreviewView.setTransform(transform); in startPreview()
|
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/ |
D | IkeSessionTestBase.java | 392 (transform) -> { in awaitNextOnErrorException() 456 (transform) -> { in awaitNextCreatedIpSecTransform() 465 (transform) -> { in awaitNextDeletedIpSecTransform()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rscript | 33 rs_matrix3x3 sensorToIntermediate; // Color transform from sensor to a wide-gamut colorspace 34 rs_matrix3x3 intermediateToSRGB; // Color transform from wide-gamut colorspace to sRGB 182 // Apply a colorspace transform to the intermediate colorspace, apply 183 // a tonemapping curve, apply a colorspace transform to a final colorspace,
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | LogHelper.java | 91 Lists.transform(mFormatsLine, fl -> Integer.parseInt(fl)); in getSupportedAudioFormats()
|