Home
last modified time | relevance | path

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

12345

/cts/tests/app/src/android/app/cts/
DStatusBarNotificationTest.java161 StatusBarNotification clone = mSbn.clone(); in testClone() local
163 assertEquals(PKG, clone.getPackageName()); in testClone()
164 assertEquals(OP_PKG, clone.getOpPkg()); in testClone()
165 assertEquals(ID, clone.getId()); in testClone()
166 assertEquals(UID, clone.getUid()); in testClone()
167 assertEquals(TAG, clone.getTag()); in testClone()
168 assertEquals(POST_TIME, clone.getPostTime()); in testClone()
169 assertEquals(mUserHandle, clone.getUser()); in testClone()
170 assertEquals("bar", clone.getOverrideGroupKey()); in testClone()
171 Notification notification = clone.getNotification(); in testClone()
/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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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 …]
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()
DAES192ECBPKCS7PaddingCipherTest.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()
DAES192ECBNoPaddingCipherTest.java30 return KAT_KEY.clone(); in getKatKey()
40 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
45 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()
/cts/tests/tests/content/src/android/content/cts/
DLocusIdTest.java51 final LocusId clone = cloneThroughParcel(new LocusId(ID)); in testParcel() local
52 assertThat(clone.getId()).isEqualTo(ID); in testParcel()
89 final LocusId clone = LocusId.CREATOR.createFromParcel(parcel); in cloneThroughParcel() local
90 assertThat(clone).isNotNull(); in cloneThroughParcel()
91 return clone; in cloneThroughParcel()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DDataRemovalRequestTest.java88 final DataRemovalRequest clone = cloneThroughParcel(request); in testBuild_validForEverything_parcel() local
89 assertForEverything(clone); in testBuild_validForEverything_parcel()
107 final DataRemovalRequest clone = cloneThroughParcel(request); in testBuild_validForIds_parcel() local
108 assertForIds(clone); in testBuild_validForIds_parcel()
162 final DataRemovalRequest clone = DataRemovalRequest.CREATOR in cloneThroughParcel() local
164 assertThat(clone).isNotNull(); in cloneThroughParcel()
165 return clone; in cloneThroughParcel()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java114 ArcShape clone = shape.clone(); in testClone() local
115 assertNotNull(clone); in testClone()
116 assertEquals(0.0f, clone.getStartAngle(), 0.0f); in testClone()
117 assertEquals(360.0f, clone.getSweepAngle(), 0.0f); in testClone()

12345