Home
last modified time | relevance | path

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

12345

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java169 IpSecManager ism, int direction, IpSecTransform transform) throws Exception; in applyTransportModeTransform() argument
230 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
231 ism.applyTransportModeTransform(mFd, direction, transform); in applyTransportModeTransform()
317 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
318 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
365 IpSecManager ism, int direction, IpSecTransform transform) throws Exception { in applyTransportModeTransform() argument
366 ism.applyTransportModeTransform(mSocket, direction, transform); in applyTransportModeTransform()
517 IpSecManager ism, IpSecTransform transform, GenericSocket socket) throws Exception { in applyTransformBidirectionally() argument
519 socket.applyTransportModeTransform(ism, direction, transform); in applyTransformBidirectionally()
524 InetAddress localAddr, IpSecManager ism, IpSecTransform transform, boolean connected) in getNativeUdpSocketPair() argument
[all …]
DIpSecManagerTest.java177 private void checkUnconnectedUdp(IpSecTransform transform, InetAddress local, int sendCount, in checkUnconnectedUdp() argument
181 SocketPair<JavaUdpSocket> sockets = getJavaUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp()
186 getNativeUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp()
207 private void checkTcp(IpSecTransform transform, InetAddress local, int sendCount, in checkTcp() argument
211 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in checkTcp()
215 SocketPair<NativeTcpSocket> sockets = getNativeTcpSocketPair(local, mISM, transform); in checkTcp()
277 IpSecTransform transform = in testCreateTransform() local
307 localSocket, IpSecManager.DIRECTION_IN, transform); in testCreateTransform()
311 localSocket, IpSecManager.DIRECTION_OUT, transform); in testCreateTransform()
337 transform.close(); in testCreateTransform()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java296 Transform transform = Transform.readFrom(inputBuffer); in testDecodeEncryptionTransform() local
297 assertTrue(transform instanceof EncryptionTransform); in testDecodeEncryptionTransform()
298 assertEquals(Transform.TRANSFORM_TYPE_ENCR, transform.type); in testDecodeEncryptionTransform()
299 assertEquals(SaProposal.ENCRYPTION_ALGORITHM_AES_CBC, transform.id); in testDecodeEncryptionTransform()
300 assertTrue(transform.isSupported); in testDecodeEncryptionTransform()
358 Transform transform = Transform.readFrom(inputBuffer); in testDecodePrfTransform() local
359 assertTrue(transform instanceof PrfTransform); in testDecodePrfTransform()
360 assertEquals(Transform.TRANSFORM_TYPE_PRF, transform.type); in testDecodePrfTransform()
361 assertEquals(SaProposal.PSEUDORANDOM_FUNCTION_HMAC_SHA1, transform.id); in testDecodePrfTransform()
362 assertTrue(transform.isSupported); in testDecodePrfTransform()
[all …]
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
DVideoScale.java77 Matrix transform = new Matrix(); in scaleVideoAndFillView() local
78 transform.setScale( in scaleVideoAndFillView()
86 transform.postRotate(rotationDegrees, viewWidth / 2.0f, viewHeight / 2.0f); in scaleVideoAndFillView()
88 textureView.setTransform(transform); in scaleVideoAndFillView()
135 Matrix transform = new Matrix(); in scaleVideoMaintainingAspectRatio() local
136 transform.setScale( in scaleVideoMaintainingAspectRatio()
143 textureView.setTransform(transform); in scaleVideoMaintainingAspectRatio()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DCameraCoordinateTransformer.java79 Matrix transform = new Matrix(); in cameraToPreviewTransform() local
82 transform.setScale(mirrorX ? -1 : 1, 1); in cameraToPreviewTransform()
86 transform.postRotate(displayOrientation); in cameraToPreviewTransform()
95 transform.setConcat(fill, transform); in cameraToPreviewTransform()
97 return transform; in cameraToPreviewTransform()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DMoSerializer.java30 import javax.xml.transform.OutputKeys;
31 import javax.xml.transform.Transformer;
32 import javax.xml.transform.TransformerException;
33 import javax.xml.transform.TransformerFactory;
34 import javax.xml.transform.dom.DOMSource;
35 import javax.xml.transform.stream.StreamResult;
70 transformer.transform(new DOMSource(doc), new StreamResult(writer)); in serialize()
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java275 Matrix transform = new Matrix();
276 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL);
294 transform.setRectToRect(rotatedRect, desiredBounds, Matrix.ScaleToFit.FILL);
295 transform.preRotate(270, mWidth / 2, mHeight / 2);
298 transform.setRectToRect(normalRect, desiredBounds, Matrix.ScaleToFit.FILL);
299 transform.preRotate(180, mWidth / 2, mHeight / 2);
302 transform.setRectToRect(rotatedRect, desiredBounds, Matrix.ScaleToFit.FILL);
303 transform.preRotate(90, mWidth / 2, mHeight / 2);
307 transform.setRectToRect(normalRect, desiredBounds, Matrix.ScaleToFit.FILL);
311 return transform;
/packages/apps/Camera2/src/com/android/camera/async/
DObservables.java51 public static <F, T> Observable<T> transform(final Observable<F> input, in transform() method in Observables
72 public static <T> Observable<T> transform(final List<? extends Observable<?>> inputs,
74 return ObservableCombiner.transform(inputs, output);
82 public static <F, T> Observable<T> transform(final List<? extends Observable<F>> input,
84 return ObservableCombiner.transform(input, function);
DObservableCombiner.java62 static <I, O> Observable<O> transform(final List<? extends Observable<I>> inputs, in transform() method in ObservableCombiner
76 static <O> Observable<O> transform(final List<? extends Observable<?>> inputs,
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp354 std::transform(std::begin(kQuantized8PerformanceConsistentWithP), in makeQuantized8PerformanceConsistentWithP()
679 std::transform(opPerfSupported.begin(), opPerfSupported.end(), convertedOpPerf.begin(), in convertToV1_2()
706 std::transform(capabilities.operandPerformance.begin(), capabilities.operandPerformance.end(), in convertToV1_3()
733 std::transform( in uncheckedConvertToV1_0()
742 std::transform(operations.begin(), operations.end(), result.begin(), in convertToV1_1()
788 std::transform( in compliantWith()
794 std::transform(model.main.operands.begin(), model.main.operands.end(), in compliantWith()
984 std::transform( in uncheckedConvertToV1_0()
993 std::transform( in uncheckedConvertToV1_0()
1002 std::transform( in uncheckedConvertToV1_2()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSaProposal.java180 for (Transform transform : mPseudorandomFunctions) { in getPseudorandomFunctions()
181 result.add(transform.id); in getPseudorandomFunctions()
309 for (IntegrityTransform transform : mProposedIntegrityAlgos) { in buildIntegAlgosOrThrow()
310 if ((transform.id == INTEGRITY_ALGORITHM_NONE) != mHasAead) { in buildIntegAlgosOrThrow()
328 for (DhGroupTransform transform : mProposedDhGroups) { in buildDhGroupsOrThrow()
329 if (transform.id == DH_GROUP_NONE) { in buildDhGroupsOrThrow()
DSaProposal.java414 for (EncryptionTransform transform : mEncryptionAlgorithms) { in getEncryptionAlgorithms()
415 result.add(new Pair(transform.id, transform.getSpecifiedKeyLength())); in getEncryptionAlgorithms()
428 for (Transform transform : mIntegrityAlgorithms) { in getIntegrityAlgorithms()
429 result.add(transform.id); in getIntegrityAlgorithms()
442 for (Transform transform : mDhGroups) { in getDhGroups()
443 result.add(transform.id); in getDhGroups()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java328 final Matrix transform = new Matrix(); in configureTransform() local
329 mTextureView.getTransform(transform); in configureTransform()
330 transform.setScale(scaleX * scale.getFloat(), scaleY * scale.getFloat()); in configureTransform()
331 transform.postTranslate(tx.getFloat(), ty.getFloat()); in configureTransform()
332 mTextureView.setTransform(transform); in configureTransform()
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DBlockingCommand.java74 return Futures.transform( in run()
82 return Futures.transform( in run()
102 return Futures.transform( in run()
/packages/apps/Camera2/jni/
Djpegutil.h118 inline RowIterator(Plane plane, Transform transform, int row_length);
173 jpegutil::RowIterator<ROWS>::RowIterator(Plane plane, Transform transform, in RowIterator() argument
175 : plane_(plane), transform_(transform) { in RowIterator()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java625 for (Transform transform : transformArray) { in readFrom()
626 switch (transform.type) { in readFrom()
628 encryptAlgoList.add((EncryptionTransform) transform); in readFrom()
631 prfList.add((PrfTransform) transform); in readFrom()
634 integAlgoList.add((IntegrityTransform) transform); in readFrom()
637 dhGroupList.add((DhGroupTransform) transform); in readFrom()
640 esnList.add((EsnTransform) transform); in readFrom()
674 Transform transform = Transform.readFrom(inputBuffer); in decodeTransforms() local
675 transformArray[i] = transform; in decodeTransforms()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/
DCompositePhoneLookup.java130 return Futures.transform( in combineSubMessageFutures()
183 Futures.transform( in getMostRecentInfo()
245 Futures.transform(
277 return Futures.transform(
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp93 std::transform(testSubgraph.operands.begin(), testSubgraph.operands.end(), in createSubgraph()
102 std::transform(testSubgraph.operations.begin(), testSubgraph.operations.end(), in createSubgraph()
124 std::transform(testModel.referenced.begin(), testModel.referenced.end(), in createModel()
DTestHarness.cpp171 std::transform(inputRaw, inputRaw + inputLength, inputData.begin(), in expectMultinomialDistributionWithinTolerance()
713 std::transform(data, data + numberOfElements, floatData, [&op](T val) { in convertOperandToFloat32()
717 std::transform(data, data + numberOfElements, floatData, in convertOperandToFloat32()
801 std::transform(floatData, floatData + numberOfElements, data, [op](float val) { in setDataFromFloat32Buffer()
808 std::transform(floatData, floatData + numberOfElements, data, in setDataFromFloat32Buffer()
/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/quickstep/
DOrientationTouchTransformerTest.java270 mTouchTransformer.transform(inRegion1_down); in applyTransform_taskNotFrozen_90Rotate_withTwoRegions()
272 mTouchTransformer.transform(inRegion2); in applyTransform_taskNotFrozen_90Rotate_withTwoRegions()
278 mTouchTransformer.transform(inRegion1_up); in applyTransform_taskNotFrozen_90Rotate_withTwoRegions()
332 mTouchTransformer.transform(motionEvent); in generateAndTransformMotionEvent()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DFileSampleExtractor.java115 Lists.transform(trackFormatList, tf -> createFormat(tf.mediaFormat))); in handlePrepare()
128 Iterables.concat(Iterables.transform(formats, TrackGroup::new), captionTrackGroups); in handlePrepare()
136 mSampleBuffer.init(Lists.transform(trackFormatList, tf -> tf.trackId), formats); in handlePrepare()
/packages/apps/Dialer/java/com/android/dialer/calllog/
DCallLogFramework.java80 return Futures.transform( in disable()
101 return Futures.transform( in disableDataSources()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java269 RefcountedResource<IResource> transform = in testSampleUdpEncapTranform() local
280 transform.binderDied(); in testSampleUdpEncapTranform()
286 assertResourceState(transform, -1, 1, 1, 1, 1); in testSampleUdpEncapTranform()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionTestBase.java344 (transform) -> { in awaitNextOnErrorException()
443 (transform) -> { in awaitNextCreatedIpSecTransform()
452 (transform) -> { in awaitNextMigratedIpSecTransform()
461 (transform) -> {
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOrientationTouchTransformer.java361 public void transform(MotionEvent event) { in transform() method in OrientationTouchTransformer
465 event.transform(mTmpMatrix); in applyTransform()
481 event.transform(mTmpMatrix); in applyTransform()

12345