/cts/tests/app/src/android/app/cts/ |
D | StatusBarNotificationTest.java | 161 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/ |
D | AES256GCMNoPaddingCipherTest.java | 38 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()
|
D | AES128GCMNoPaddingCipherTest.java | 37 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()
|
D | AES192GCMNoPaddingCipherTest.java | 37 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()
|
D | KeyInfoTest.java | 63 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()
|
D | AES256CBCPKCS7PaddingCipherTest.java | 33 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()
|
D | AES128CBCPKCS7PaddingCipherTest.java | 32 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()
|
D | AES256CBCNoPaddingCipherTest.java | 33 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()
|
D | AES192CTRNoPaddingCipherTest.java | 31 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()
|
D | AES192CBCPKCS7PaddingCipherTest.java | 32 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()
|
D | AES192CBCNoPaddingCipherTest.java | 33 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()
|
D | AES128CTRNoPaddingCipherTest.java | 32 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()
|
D | AES256CTRNoPaddingCipherTest.java | 31 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()
|
D | AES128CBCNoPaddingCipherTest.java | 32 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()
|
D | KeyProtectionTest.java | 144 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 …]
|
D | KeyGenParameterSpecTest.java | 189 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 …]
|
D | AES256ECBNoPaddingCipherTest.java | 32 return KAT_KEY.clone(); in getKatKey() 42 return KAT_PLAINTEXT.clone(); in getKatPlaintext() 47 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
|
D | AES128ECBNoPaddingCipherTest.java | 31 return KAT_KEY.clone(); in getKatKey() 41 return KAT_PLAINTEXT.clone(); in getKatPlaintext() 46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
|
D | AES192ECBPKCS7PaddingCipherTest.java | 31 return KAT_KEY.clone(); in getKatKey() 41 return KAT_PLAINTEXT.clone(); in getKatPlaintext() 46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
|
D | AES128ECBPKCS7PaddingCipherTest.java | 31 return KAT_KEY.clone(); in getKatKey() 41 return KAT_PLAINTEXT.clone(); in getKatPlaintext() 46 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
|
D | AES192ECBNoPaddingCipherTest.java | 30 return KAT_KEY.clone(); in getKatKey() 40 return KAT_PLAINTEXT.clone(); in getKatPlaintext() 45 return KAT_CIPHERTEXT.clone(); in getKatCiphertext()
|
D | AES256ECBPKCS7PaddingCipherTest.java | 31 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/ |
D | LocusIdTest.java | 51 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/ |
D | DataRemovalRequestTest.java | 88 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/ |
D | ArcShapeTest.java | 114 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()
|