Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 99) 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
DAES256ECBPKCS7PaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 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()
DAES192ECBNoPaddingCipherTest.java30 return KAT_KEY.clone(); in getKatKey()
40 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
45 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()
DAES256ECBNoPaddingCipherTest.java32 return KAT_KEY.clone(); in getKatKey()
42 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
47 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()
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.java144 String[] originalBlockModes = blockModes.clone(); in testImmutabilityViaSetterParams()
154 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()
157 String[] originalEncryptionPaddings = encryptionPaddings.clone(); in testImmutabilityViaSetterParams()
160 String[] originalSignaturePaddings = signaturePaddings.clone(); in testImmutabilityViaSetterParams()
228 String[] originalBlockModes = spec.getBlockModes().clone(); in testImmutabilityViaGetterReturnValues()
232 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
236 String[] originalEncryptionPaddings = spec.getEncryptionPaddings().clone(); in testImmutabilityViaGetterReturnValues()
241 Date originalKeyValidityStartDate = (Date) spec.getKeyValidityStart().clone(); in testImmutabilityViaGetterReturnValues()
246 (Date) spec.getKeyValidityForOriginationEnd().clone(); in testImmutabilityViaGetterReturnValues()
252 (Date) spec.getKeyValidityForConsumptionEnd().clone(); in testImmutabilityViaGetterReturnValues()
[all …]
DKeyGenParameterSpecTest.java189 String[] originalBlockModes = blockModes.clone(); in testImmutabilityViaSetterParams()
203 String[] originalDigests = digests.clone(); in testImmutabilityViaSetterParams()
206 String[] originalEncryptionPaddings = encryptionPaddings.clone(); in testImmutabilityViaSetterParams()
209 String[] originalSignaturePaddings = signaturePaddings.clone(); in testImmutabilityViaSetterParams()
289 String[] originalBlockModes = spec.getBlockModes().clone(); in testImmutabilityViaGetterReturnValues()
293 Date originalCertNotBeforeDate = (Date) spec.getCertificateNotBefore().clone(); in testImmutabilityViaGetterReturnValues()
297 Date originalCertNotAfterDate = (Date) spec.getCertificateNotAfter().clone(); in testImmutabilityViaGetterReturnValues()
301 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
305 String[] originalEncryptionPaddings = spec.getEncryptionPaddings().clone(); in testImmutabilityViaGetterReturnValues()
310 Date originalKeyValidityStartDate = (Date) spec.getKeyValidityStart().clone(); in testImmutabilityViaGetterReturnValues()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java113 ArcShape clone = shape.clone(); in testClone() local
114 assertNotNull(clone); in testClone()
115 assertEquals(0.0f, clone.getStartAngle(), 0.0f); in testClone()
116 assertEquals(360.0f, clone.getSweepAngle(), 0.0f); in testClone()
DOvalShapeTest.java119 OvalShape clone = shape.clone();
120 assertNotNull(clone);
121 assertEquals(shape.getWidth(), clone.getWidth(), 0.0f);
122 assertEquals(shape.getHeight(), clone.getHeight(), 0.0f);
/cts/tests/sensor/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()
/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()

1234