Home
last modified time | relevance | path

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

123456

/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()
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()
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()
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()
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()
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()
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()
DAES192ECBPKCS7PaddingCipherTest.java31 return KAT_KEY.clone(); in getKatKey()
41 return KAT_PLAINTEXT.clone(); in getKatPlaintext()
46 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()
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()
/cts/tests/tests/car/src/android/car/cts/
DPlatformVersionTest.java69 PlatformVersion clone = clone(version); in testTiramisu_0() local
70 expectWithMessage("TIRAMISU_0.toString() from parcel").that(clone.toString()) in testTiramisu_0()
118 PlatformVersion clone = clone(version); in testTiramisu_1() local
119 expectWithMessage("TIRAMISU_1.toString() from parcel").that(clone.toString()) in testTiramisu_1()
167 PlatformVersion clone = clone(version); in testTiramisu_2() local
168 expectWithMessage("TIRAMISU_2.toString() from parcel").that(clone.toString()) in testTiramisu_2()
216 PlatformVersion clone = clone(version); in testTiramisu_3() local
217 expectWithMessage("TIRAMISU_3.toString() from parcel").that(clone.toString()) in testTiramisu_3()
266 PlatformVersion clone = clone(version); in testUpSideDownCake_0() local
267 expectWithMessage("UPSIDE_DOWN_CAKE_0.toString() from parcel").that(clone.toString()) in testUpSideDownCake_0()
[all …]
DCarVersionTest.java68 CarVersion clone = clone(version); in testTiramisu_0() local
69 expectWithMessage("TIRAMISU_0.toString() from parcel").that(clone.toString()) in testTiramisu_0()
117 CarVersion clone = clone(version); in testTiramisu_1() local
118 expectWithMessage("TIRAMISU_1.toString() from parcel").that(clone.toString()) in testTiramisu_1()
166 CarVersion clone = clone(version); in testTiramisu_2() local
167 expectWithMessage("TIRAMISU_2.toString() from parcel").that(clone.toString()) in testTiramisu_2()
215 CarVersion clone = clone(version); in testTiramisu_3() local
216 expectWithMessage("TIRAMISU_3.toString() from parcel").that(clone.toString()) in testTiramisu_3()
265 CarVersion clone = clone(version); in testUpsideDownCake_0() local
266 expectWithMessage("UPSIDE_DOWN_CAKE_0.toString() from parcel").that(clone.toString()) in testUpsideDownCake_0()
[all …]
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DStatusBarNotificationTest.java196 StatusBarNotification clone = mSbn.clone(); in testClone() local
198 assertEquals(PKG, clone.getPackageName()); in testClone()
199 assertEquals(OP_PKG, clone.getOpPkg()); in testClone()
200 assertEquals(ID, clone.getId()); in testClone()
201 assertEquals(UID, clone.getUid()); in testClone()
202 assertEquals(TAG, clone.getTag()); in testClone()
203 assertEquals(POST_TIME, clone.getPostTime()); in testClone()
204 assertEquals(mUserHandle, clone.getUser()); in testClone()
205 assertEquals("bar", clone.getOverrideGroupKey()); in testClone()
206 Notification notification = clone.getNotification(); in testClone()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchTargetTest.java78 SearchTarget clone = cloneThroughParcel(target); in testBuilderSearchAction() local
79 assertEverythingSearchAction(clone); in testBuilderSearchAction()
99 SearchTarget clone = cloneThroughParcel(target); in testBuilderSliceUri() local
100 assertThat(clone.getSliceUri()).isEqualTo(Uri.EMPTY); in testBuilderSliceUri()
112 SearchTarget clone = cloneThroughParcel(target); in testBuilderShortcutInfo() local
113 assertThat(clone.getShortcutInfo().getId()).isEqualTo(shortcut.getId()); in testBuilderShortcutInfo()
138 final SearchTarget clone = SearchTarget.CREATOR in cloneThroughParcel() local
140 assertThat(clone).isNotNull(); in cloneThroughParcel()
141 return clone; in cloneThroughParcel()
DSearchActionTest.java92 final SearchAction clone = cloneThroughParcel(originalSearchAction); in testParcel_nullIcon() local
93 assertEverything(clone); in testParcel_nullIcon()
108 final SearchAction clone = cloneThroughParcel(originalSearchAction); in testParcel_bitmapIcon() local
109 assertEverything(clone); in testParcel_bitmapIcon()
122 final SearchAction clone = cloneThroughParcel(originalSearchAction); in testParcel_filePathIcon() local
123 assertEverything(clone); in testParcel_filePathIcon()
174 final SearchAction clone = SearchAction.CREATOR in cloneThroughParcel() local
176 assertThat(clone).isNotNull(); in cloneThroughParcel()
177 return clone; in cloneThroughParcel()
DSearchTargetEventTest.java57 final SearchTargetEvent clone = cloneThroughParcel(event); in testParcel() local
58 assertEverything(clone); in testParcel()
79 final SearchTargetEvent clone = SearchTargetEvent.CREATOR in cloneThroughParcel() local
81 assertThat(clone).isNotNull(); in cloneThroughParcel()
82 return clone; in cloneThroughParcel()
/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()

123456