Home
last modified time | relevance | path

Searched refs:original (Results 1 – 25 of 49) sorted by relevance

12

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DSetSchemaResponseCtsTest.java52 SetSchemaResponse original = builder.build(); in testRebuild() local
53 assertThat(original.getDeletedTypes()).containsExactly("delete1"); in testRebuild()
54 assertThat(original.getIncompatibleTypes()).containsExactly("incompatible1"); in testRebuild()
55 assertThat(original.getMigratedTypes()).containsExactly("migrated1"); in testRebuild()
56 assertThat(original.getMigrationFailures()).containsExactly(failure1); in testRebuild()
66 assertThat(original.getDeletedTypes()).containsExactly("delete1"); in testRebuild()
67 assertThat(original.getIncompatibleTypes()).containsExactly("incompatible1"); in testRebuild()
68 assertThat(original.getMigratedTypes()).containsExactly("migrated1"); in testRebuild()
69 assertThat(original.getMigrationFailures()).containsExactly(failure1); in testRebuild()
DGetSchemaResponseCtsTest.java61 GetSchemaResponse original = builder.build(); in testRebuild() local
65 assertThat(original.getVersion()).isEqualTo(42); in testRebuild()
66 assertThat(original.getSchemas()).containsExactly(schema1); in testRebuild()
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java119 ContentInfo original = new ContentInfo.Builder(clip, SOURCE_CLIPBOARD) in testBuilder_copy() local
126 ContentInfo copy = new ContentInfo.Builder(original).build(); in testBuilder_copy()
127 assertThat(copy).isNotSameInstanceAs(original); in testBuilder_copy()
128 assertThat(copy.getClip()).isSameInstanceAs(original.getClip()); in testBuilder_copy()
129 assertThat(copy.getSource()).isEqualTo(original.getSource()); in testBuilder_copy()
130 assertThat(copy.getFlags()).isEqualTo(original.getFlags()); in testBuilder_copy()
131 assertThat(copy.getLinkUri()).isSameInstanceAs(original.getLinkUri()); in testBuilder_copy()
132 assertThat(copy.getExtras()).isSameInstanceAs(original.getExtras()); in testBuilder_copy()
138 ContentInfo original = new ContentInfo.Builder(clip1, SOURCE_CLIPBOARD) in testBuilder_copyAndUpdate() local
147 ContentInfo copy = new ContentInfo.Builder(original) in testBuilder_copyAndUpdate()
[all …]
/cts/tests/tests/libcoreapievolution/src/android/apievolution/cts/
DApiEvolutionTest.java171 Method original = null; in assertSyntheticMethodOverloadExists() local
178 original = method; in assertSyntheticMethodOverloadExists()
183 + ", returning " + originalReturnType, original); in assertSyntheticMethodOverloadExists()
188 assertFalse(original.isSynthetic()); in assertSyntheticMethodOverloadExists()
189 assertFalse(original.isBridge()); in assertSyntheticMethodOverloadExists()
193 int originalModifiers = original.getModifiers(); in assertSyntheticMethodOverloadExists()
211 original.getExceptionTypes(), synthetic.getExceptionTypes()); in assertSyntheticMethodOverloadExists()
220 Annotation[] annotations = original.getDeclaredAnnotations(); in assertSyntheticMethodOverloadExists()
223 Annotation[][] parameterAnnotations = original.getParameterAnnotations(); in assertSyntheticMethodOverloadExists()
/cts/tests/tests/keystore/src/android/keystore/cts/
DImportedKey.java32 public ImportedKey(String alias, KeyPair original, KeyPair keystoreBacked) { in ImportedKey() argument
35 mOriginalKeyPair = original; in ImportedKey()
41 public ImportedKey(String alias, SecretKey original, SecretKey keystoreBacked) { in ImportedKey() argument
46 mOriginalSecretKey = original; in ImportedKey()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextSelectionTest.java72 final TextSelection original = originalBuilder.build(); in testTextSelection() local
74 TextSelection selection = parcelizeDeparcelize(original, TextSelection.CREATOR); in testTextSelection()
117 TextSelection original = new TextSelection.Builder(START, END).build(); in testTextSelection_defaultValues() local
119 TextSelection selection = parcelizeDeparcelize(original, TextSelection.CREATOR); in testTextSelection_defaultValues()
175 final TextSelection.Request original = originalBuilder.build(); in testTextSelectionRequest() local
178 parcelizeDeparcelize(original, TextSelection.Request.CREATOR); in testTextSelectionRequest()
192 final TextSelection.Request original = in testTextSelectionRequest_nullValues() local
198 parcelizeDeparcelize(original, TextSelection.Request.CREATOR); in testTextSelectionRequest_nullValues()
205 final TextSelection.Request original = in testTextSelectionRequest_defaultValues() local
209 parcelizeDeparcelize(original, TextSelection.Request.CREATOR); in testTextSelectionRequest_defaultValues()
/cts/tests/tests/text/src/android/text/method/cts/
DSingleLineTransformationMethodTest.java83 final SpannableString original = new SpannableString("\ntest data\nb"); in testSubsequence_doesNotThrowExceptionWithParagraphSpans() local
86 original.setSpan(span, 1, original.length() - 1, Spanned.SPAN_PARAGRAPH); in testSubsequence_doesNotThrowExceptionWithParagraphSpans()
88 final CharSequence transformed = method.getTransformation(original, null); in testSubsequence_doesNotThrowExceptionWithParagraphSpans()
DReplacementTransformationMethodTest.java141 public MyReplacementTransformationMethod(char[] original, char[] replacement) { in MyReplacementTransformationMethod() argument
142 mOriginal = original; in MyReplacementTransformationMethod()
/cts/hostsidetests/appsecurity/res/pkgsigverify/
Dgenerate-apks.sh5 …igverify/v4-digest-v2-Sha256withDSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
6 …sigverify/v4-digest-v2-Sha256withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
7 …igverify/v4-digest-v2-Sha256withRSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
8 …sigverify/v4-digest-v2-Sha512withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
9 …igverify/v4-digest-v2-Sha512withRSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
12 …y/v4-digest-v2-Sha256withDSA-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
13 …fy/v4-digest-v2-Sha256withEC-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
14 …y/v4-digest-v2-Sha256withRSA-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
17 …igverify/v4-digest-v3-Sha256withDSA.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
18 …sigverify/v4-digest-v3-Sha256withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
[all …]
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderSpanTest.java62 for (String original: originals) { in testReplaceWithSpans()
64 replace(original, replacement); in testReplaceWithSpans()
69 private void replace(String original, String replacement) { in replace() argument
72 positionSet.addPosition(original.length() / 3); in replace()
73 positionSet.addPosition(2 * original.length() / 3); in replace()
74 positionSet.addPosition(original.length()); in replace()
86 replaceWithRange(original, in replace()
96 private void replaceWithRange(String original, int replaceStart, int replaceEnd, in replaceWithRange() argument
103 replaceWithSpanFlag(original, replaceStart, replaceEnd, in replaceWithRange()
108 private void replaceWithSpanFlag(String original, int replaceStart, int replaceEnd, in replaceWithSpanFlag() argument
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DMaxVisibleDatasetsRule.java53 final int original = Helper.getMaxVisibleDatasets(); in apply()
58 Helper.setMaxVisibleDatasets(original); in apply()
/cts/tests/location/location_none/src/android/location/cts/none/
DLastLocationRequestTest.java51 LastLocationRequest original = new LastLocationRequest.Builder() in testBuild_Copy() local
55 LastLocationRequest copy = new LastLocationRequest.Builder(original).build(); in testBuild_Copy()
58 assertThat(copy).isEqualTo(original); in testBuild_Copy()
DLocationRequestTest.java75 LocationRequest original = new LocationRequest.Builder(5000) in testBuild_Copy() local
85 LocationRequest copy = new LocationRequest.Builder(original).build(); in testBuild_Copy()
95 assertThat(copy).isEqualTo(original); in testBuild_Copy()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DExtractedTextRequestTest.java80 final ExtractedTextRequest original = createForTest(); in testWriteToParcel() local
81 assertTestInstance(original); in testWriteToParcel()
82 final ExtractedTextRequest copied = cloneViaParcel(original); in testWriteToParcel()
DExtractedTextTest.java131 final ExtractedText original = createForTest(); in testWriteToParcel() local
132 assertTestInstance(original); in testWriteToParcel()
133 final ExtractedText copied = cloneViaParcel(original); in testWriteToParcel()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowMetricsTestHelper.java157 private static Rect inset(Rect original, Insets insets) { in inset() argument
158 final int left = original.left + insets.left; in inset()
159 final int top = original.top + insets.top; in inset()
160 final int right = original.right - insets.right; in inset()
161 final int bottom = original.bottom - insets.bottom; in inset()
DDialogFrameTests.java266 private static Rect inset(Rect original, Insets insets) { in inset() argument
267 final int left = original.left + insets.left; in inset()
268 final int top = original.top + insets.top; in inset()
269 final int right = original.right - insets.right; in inset()
270 final int bottom = original.bottom - insets.bottom; in inset()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java53 Picture original = new Picture(); in testSaveRestoreBalance() local
54 Canvas canvas = original.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testSaveRestoreBalance()
60 Picture copy = new Picture(original); in testSaveRestoreBalance()
67 original.draw(drawDest); in testSaveRestoreBalance()
68 verifyBalance(original); in testSaveRestoreBalance()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DIcmpMessage.java44 byte[] original = new byte[length]; in IcmpMessage()
46 stream.readFully(original); in IcmpMessage()
47 if (!Arrays.equals(original, getEncoded())) { in IcmpMessage()
DIpv4Packet.java77 byte[] original = new byte[totalLength]; in Ipv4Packet()
79 stream.readFully(original); in Ipv4Packet()
80 if (!Arrays.equals(original, getEncoded())) { in Ipv4Packet()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DCtsAudioClientActivity.java71 int original = mgr.getStreamVolume(AudioManager.STREAM_MUSIC); in setVolume() local
77 return original; in setVolume()
/cts/tests/tests/content/src/android/content/cts/
DLocusIdTest.java79 private LocusId cloneThroughParcel(@NonNull LocusId original) { in cloneThroughParcel() argument
85 original.writeToParcel(parcel, 0); in cloneThroughParcel()
/cts/tests/tests/text/src/android/text/style/cts/
DSuggestionSpanTest.java179 private String getNonNullLocaleString(@Nullable final Locale original) { in getNonNullLocaleString() argument
180 if (original == null) { in getNonNullLocaleString()
183 return original.toString(); in getNonNullLocaleString()
240 SuggestionSpan cloneViaParcel(@NonNull final SuggestionSpan original) { in cloneViaParcel() argument
244 original.writeToParcel(parcel, 0); in cloneViaParcel()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DMultiUserDeviceTest.java96 final InputConnection original = super.onCreateInputConnection(editorInfo); in testConnectingToTheSameUserIme()
103 return new ReplyReceivingInputConnection(original, sessionId, resultQueue); in testConnectingToTheSameUserIme()
/cts/tests/tests/content/data/
Dreadme.txt13 …content/data/CtsPkgInstallTinyAppV1.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
14 …ent/data/CtsPkgInstallTinyAppV2V3V4.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
15 …kgInstallTinyAppV2V3V4-Sha512withEC.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk
16 …a/CtsPkgInstallTinyAppV2V3V4-Verity.apk cts/hostsidetests/appsecurity/res/pkgsigverify/original.apk

12