Home
last modified time | relevance | path

Searched refs:Transform (Results 1 – 13 of 13) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java69 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.Transform;
163 private Transform[] mValidNegotiatedTransformSet;
187 Transform.setAttributeDecoder(mMockedAttributeDecoder); in setUp()
205 new Transform[] { in setUp()
270 Transform.resetAttributeDecoder(); in tearDown()
305 Transform transform = Transform.readFrom(inputBuffer); in testDecodeEncryptionTransform()
307 assertEquals(Transform.TRANSFORM_TYPE_ENCR, transform.type); in testDecodeEncryptionTransform()
324 Transform.readFrom(inputBuffer); in testDecodeEncryptionTransformWithInvalidKeyLength()
367 Transform transform = Transform.readFrom(inputBuffer); in testDecodePrfTransform()
369 assertEquals(Transform.TRANSFORM_TYPE_PRF, transform.type); in testDecodePrfTransform()
[all …]
/packages/apps/Camera2/jni/
Djpegutil.cpp48 jpegutil::Transform::Transform(int orig_x, int orig_y, int one_x, int one_y) in Transform() function in jpegutil::Transform
94 jpegutil::Transform jpegutil::Transform::ForCropFollowedByRotation( in ForCropFollowedByRotation()
108 return Transform(cropXLow, cropYLow, cropXHigh + 1, cropYHigh + 1); in ForCropFollowedByRotation()
110 return Transform(cropXHigh, cropYLow, cropXLow - 1, cropYHigh + 1); in ForCropFollowedByRotation()
112 return Transform(cropXHigh, cropYHigh, cropXLow - 1, cropYLow - 1); in ForCropFollowedByRotation()
114 return Transform(cropXLow, cropYHigh, cropXHigh + 1, cropYLow - 1); in ForCropFollowedByRotation()
117 return Transform(cropXLow, cropYLow, cropXHigh + 1, cropYHigh + 1); in ForCropFollowedByRotation()
120 bool jpegutil::Transform::operator==(const Transform& other) const { in operator ==()
131 void jpegutil::Transform::Map(int x, int y, int* x_out, int* y_out) const { in Map()
351 Transform yTrans = Transform::ForCropFollowedByRotation( in Compress()
[all …]
Djpegutil.h31 class Transform; variable
47 class Transform {
49 Transform(int orig_x, int orig_y, int one_x, int one_y);
51 static Transform ForCropFollowedByRotation(int cropLeft, int cropTop,
59 bool operator==(const Transform& other) const;
118 inline RowIterator(Plane plane, Transform transform, int row_length);
132 Transform transform_;
173 jpegutil::RowIterator<ROWS>::RowIterator(Plane plane, Transform transform, in RowIterator()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java582 Transform[] decodeTransforms(int count, ByteBuffer inputBuffer) throws IkeProtocolException; in decodeTransforms()
679 Transform[] transformArray = in readFrom()
692 for (Transform transform : transformArray) { in readFrom()
694 case Transform.TRANSFORM_TYPE_ENCR: in readFrom()
697 case Transform.TRANSFORM_TYPE_PRF: in readFrom()
700 case Transform.TRANSFORM_TYPE_INTEG: in readFrom()
703 case Transform.TRANSFORM_TYPE_DH: in readFrom()
706 case Transform.TRANSFORM_TYPE_ESN: in readFrom()
737 public Transform[] decodeTransforms(int count, ByteBuffer inputBuffer) in decodeTransforms()
739 Transform[] transformArray = new Transform[count]; in decodeTransforms()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DSaProposalTest.java43 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.Transform;
353 assertTrue(SaProposal.isTransformSelectedFrom(new Transform[0], new Transform[0])); in testIsTransformSelectedFrom()
356 new Transform[] {mEncryptionAesGcm8Transform}, in testIsTransformSelectedFrom()
357 new Transform[] { in testIsTransformSelectedFrom()
362 new Transform[] {mIntegrityNoneTransform}, in testIsTransformSelectedFrom()
363 new Transform[] {mIntegrityNoneTransform})); in testIsTransformSelectedFrom()
368 new Transform[0], new Transform[] {mEncryptionAesGcm8Transform})); in testIsTransformSelectedFrom()
373 new Transform[] {mPrfAes128XCbcTransform}, new Transform[0])); in testIsTransformSelectedFrom()
378 new Transform[] {mEncryptionAesGcm8Transform, mEncryptionAesGcm12Transform}, in testIsTransformSelectedFrom()
379 new Transform[] { in testIsTransformSelectedFrom()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DSaProposal.java30 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.Transform;
348 static boolean isTransformSelectedFrom(Transform[] selected, Transform[] selectFrom) { in isTransformSelectedFrom()
428 for (Transform transform : mIntegrityAlgorithms) { in getIntegrityAlgorithms()
442 for (Transform transform : mDhGroups) { in getDhGroups()
464 protected List<Transform> getAllTransformsAsList() { in getAllTransformsAsList()
465 List<Transform> transformList = new LinkedList<>(); in getAllTransformsAsList()
483 public abstract Transform[] getAllTransforms(); in getAllTransforms()
DIkeSaProposal.java29 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.Transform;
180 for (Transform transform : mPseudorandomFunctions) { in getPseudorandomFunctions()
197 public Transform[] getAllTransforms() { in getAllTransforms()
198 List<Transform> transformList = getAllTransformsAsList(); in getAllTransforms()
201 return transformList.toArray(new Transform[transformList.size()]); in getAllTransforms()
DChildSaProposal.java34 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.Transform;
241 public Transform[] getAllTransforms() { in getAllTransforms()
242 List<Transform> transformList = getAllTransformsAsList(); in getAllTransforms()
245 return transformList.toArray(new Transform[transformList.size()]); in getAllTransforms()
/packages/providers/MediaProvider/jni/
DMediaProviderWrapper.h230 bool Transform(const std::string& src, const std::string& dst, int transforms,
DMediaProviderWrapper.cpp493 bool MediaProviderWrapper::Transform(const std::string& src, const std::string& dst, int transforms, in Transform() function in mediaprovider::fuse::MediaProviderWrapper
DFuseDaemon.cpp1714 if (!fuse->mp->Transform(node->BuildPath(), node->GetIoPath(), node->GetTransforms(), in pf_read()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec3220 * Transform axis-aligned bounding box proposals using bounding box deltas.
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt5190 Landroid/icu/text/Transform;->transform(Ljava/lang/Object;)Ljava/lang/Object;