Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 82) sorted by relevance

1234

/cts/tests/tests/keystore/src/android/keystore/cts/
DAES256GCMNoPaddingCipherTest.java38 return KAT_KEY.clone(); in getKatKey()
43 return KAT_IV.clone(); in getKatIv()
48 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
53 return KAT_CIPHERTEXT_WITHOUT_AAD.clone(); in getKatCiphertext()
58 return KAT_AAD.clone(); in getKatAad()
63 return KAT_CIPHERTEXT_WITH_AAD.clone(); in getKatCiphertextWhenKatAadPresent()
DAES128GCMNoPaddingCipherTest.java37 return KAT_KEY.clone(); in getKatKey()
42 return KAT_IV.clone(); in getKatIv()
47 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
52 return KAT_CIPHERTEXT_WITHOUT_AAD.clone(); in getKatCiphertext()
57 return KAT_AAD.clone(); in getKatAad()
62 return KAT_CIPHERTEXT_WITH_AAD.clone(); in getKatCiphertextWhenKatAadPresent()
DAES192GCMNoPaddingCipherTest.java37 return KAT_KEY.clone(); in getKatKey()
42 return KAT_IV.clone(); in getKatIv()
47 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
52 return KAT_CIPHERTEXT_WITHOUT_AAD.clone(); in getKatCiphertext()
57 return KAT_AAD.clone(); in getKatAad()
62 return KAT_CIPHERTEXT_WITH_AAD.clone(); in getKatCiphertextWhenKatAadPresent()
DAES128CBCNoPaddingCipherTest.java32 return KAT_KEY.clone(); in getKatKey()
37 return KAT_IV.clone(); in getKatIv()
42 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
47 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES256CTRNoPaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
36 return KAT_IV.clone(); in getKatIv()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES192CBCPKCS7PaddingCipherTest.java32 return KAT_KEY.clone(); in getKatKey()
37 return KAT_IV.clone(); in getKatIv()
42 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
47 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES128CTRNoPaddingCipherTest.java32 return KAT_KEY.clone(); in getKatKey()
37 return KAT_IV.clone(); in getKatIv()
42 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
47 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES256CBCNoPaddingCipherTest.java33 return KAT_KEY.clone(); in getKatKey()
38 return KAT_IV.clone(); in getKatIv()
43 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
48 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES128CBCPKCS7PaddingCipherTest.java32 return KAT_KEY.clone(); in getKatKey()
37 return KAT_IV.clone(); in getKatIv()
42 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
47 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES192CBCNoPaddingCipherTest.java33 return KAT_KEY.clone(); in getKatKey()
38 return KAT_IV.clone(); in getKatIv()
43 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
48 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES192CTRNoPaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
36 return KAT_IV.clone(); in getKatIv()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES256CBCPKCS7PaddingCipherTest.java33 return KAT_KEY.clone(); in getKatKey()
38 return KAT_IV.clone(); in getKatIv()
43 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
48 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES256ECBPKCS7PaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES256ECBNoPaddingCipherTest.java32 return KAT_KEY.clone(); in getKatKey()
42 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
47 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES192ECBNoPaddingCipherTest.java30 return KAT_KEY.clone(); in getKatKey()
40 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
45 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES192ECBPKCS7PaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES128ECBNoPaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DAES128ECBPKCS7PaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
DKeyInfoTest.java63 Date originalKeyValidityStartDate = (Date) info.getKeyValidityStart().clone(); in testImmutabilityViaGetterReturnValues()
68 (Date) info.getKeyValidityForOriginationEnd().clone(); in testImmutabilityViaGetterReturnValues()
74 (Date) info.getKeyValidityForConsumptionEnd().clone(); in testImmutabilityViaGetterReturnValues()
79 String[] originalEncryptionPaddings = info.getEncryptionPaddings().clone(); in testImmutabilityViaGetterReturnValues()
84 String[] originalSignaturePaddings = info.getSignaturePaddings().clone(); in testImmutabilityViaGetterReturnValues()
89 String[] originalDigests = info.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
93 String[] originalBlockModes = info.getBlockModes().clone(); in testImmutabilityViaGetterReturnValues()
DKeyProtectionTest.java137 String[] originalBlockModes = blockModes.clone(); in testImmutabilityViaSetterParams()
147 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()
150 String[] originalEncryptionPaddings = encryptionPaddings.clone(); in testImmutabilityViaSetterParams()
153 String[] originalSignaturePaddings = signaturePaddings.clone(); in testImmutabilityViaSetterParams()
221 String[] originalBlockModes = spec.getBlockModes().clone(); in testImmutabilityViaGetterReturnValues()
225 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
229 String[] originalEncryptionPaddings = spec.getEncryptionPaddings().clone(); in testImmutabilityViaGetterReturnValues()
234 Date originalKeyValidityStartDate = (Date) spec.getKeyValidityStart().clone(); in testImmutabilityViaGetterReturnValues()
239 (Date) spec.getKeyValidityForOriginationEnd().clone(); in testImmutabilityViaGetterReturnValues()
245 (Date) spec.getKeyValidityForConsumptionEnd().clone(); in testImmutabilityViaGetterReturnValues()
[all …]
DKeyGenParameterSpecTest.java186 String[] originalBlockModes = blockModes.clone(); in testImmutabilityViaSetterParams()
200 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()
203 String[] originalEncryptionPaddings = encryptionPaddings.clone(); in testImmutabilityViaSetterParams()
206 String[] originalSignaturePaddings = signaturePaddings.clone(); in testImmutabilityViaSetterParams()
286 String[] originalBlockModes = spec.getBlockModes().clone(); in testImmutabilityViaGetterReturnValues()
290 Date originalCertNotBeforeDate = (Date) spec.getCertificateNotBefore().clone(); in testImmutabilityViaGetterReturnValues()
294 Date originalCertNotAfterDate = (Date) spec.getCertificateNotAfter().clone(); in testImmutabilityViaGetterReturnValues()
298 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
302 String[] originalEncryptionPaddings = spec.getEncryptionPaddings().clone(); in testImmutabilityViaGetterReturnValues()
307 Date originalKeyValidityStartDate = (Date) spec.getKeyValidityStart().clone(); in testImmutabilityViaGetterReturnValues()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DRepeatingSensorOperation.java55 SensorOperation operation = mOperation.clone(); in execute()
72 public RepeatingSensorOperation clone() { in clone() method in RepeatingSensorOperation
73 return new RepeatingSensorOperation(mOperation.clone(), mIterations); in clone()
DDelaySensorOperation.java60 public DelaySensorOperation clone() { in clone() method in DelaySensorOperation
61 return new DelaySensorOperation(mOperation.clone(), mDelay, mTimeUnit); in clone()
/cts/tools/dasm/src/java_cup/
Dterminal_set.java32 _elements = (BitSet)other._elements.clone(); in terminal_set()
104 BitSet copy_other = (BitSet)other._elements.clone(); in is_subset_of()
172 BitSet copy = (BitSet)_elements.clone(); in add()
192 BitSet copy = (BitSet)other._elements.clone(); in intersects()
/cts/tests/tests/animation/src/android/animation/cts/
DKeyframeTest.java78 Keyframe clone = keyFrame.clone(); in testClone() local
79 assertEquals(keyFrame.getFraction(), clone.getFraction()); in testClone()

1234