/cts/tests/tests/libcoreapievolution/src/android/apievolution/cts/ |
D | ApiEvolutionTest.java | 171 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/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 62 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 …]
|
D | SpannableStringTest.java | 223 final SpannableStringBuilder original = new SpannableStringBuilder("\ntest data\nb"); in testCopyConstructorDoesNotEnforceParagraphStyleConstraint() local 226 original.setSpan(span, 1, original.length() - 1, Spanned.SPAN_PARAGRAPH); in testCopyConstructorDoesNotEnforceParagraphStyleConstraint() 229 SpannableString copied = new SpannableString(original); in testCopyConstructorDoesNotEnforceParagraphStyleConstraint() 237 final CharSequence transformed = transformation.getTransformation(original, null); in testCopyConstructorDoesNotEnforceParagraphStyleConstraint()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | ImportedKey.java | 32 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/text/src/android/text/method/cts/ |
D | SingleLineTransformationMethodTest.java | 83 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()
|
D | ReplacementTransformationMethodTest.java | 141 public MyReplacementTransformationMethod(char[] original, char[] replacement) { in MyReplacementTransformationMethod() argument 142 mOriginal = original; in MyReplacementTransformationMethod()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PictureTest.java | 53 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()
|
D | BitmapFactoryTest.java | 532 Bitmap original = BitmapFactory.decodeResource(mRes, R.drawable.robot, options); in testDecodeReuseScaling() local 533 int originalSize = original.getByteCount(); in testDecodeReuseScaling() 534 assertEquals(originalSize, original.getAllocationByteCount()); in testDecodeReuseScaling() 536 options.inBitmap = original; in testDecodeReuseScaling() 540 assertSame(original, reduced); in testDecodeReuseScaling() 551 Bitmap original = BitmapFactory.decodeResource(mRes, R.drawable.robot, options); in testDecodeReuseDoubleScaling() local 552 int originalSize = original.getByteCount(); in testDecodeReuseDoubleScaling() 555 options.inBitmap = original; in testDecodeReuseDoubleScaling() 562 assertSame(original, doubleScaled); in testDecodeReuseDoubleScaling()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | IcmpMessage.java | 44 byte[] original = new byte[length]; in IcmpMessage() 46 stream.readFully(original); in IcmpMessage() 47 if (!Arrays.equals(original, getEncoded())) { in IcmpMessage()
|
D | Ipv4Packet.java | 77 byte[] original = new byte[totalLength]; in Ipv4Packet() 79 stream.readFully(original); in Ipv4Packet() 80 if (!Arrays.equals(original, getEncoded())) { in Ipv4Packet()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | SuggestionSpanTest.java | 179 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()
|
D | LocaleSpanTest.java | 61 LocaleSpan cloneViaParcel(@NonNull final LocaleSpan original) { in cloneViaParcel() argument 65 original.writeToParcel(parcel, 0); in cloneViaParcel()
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | CtsAudioClientActivity.java | 71 int original = mgr.getStreamVolume(AudioManager.STREAM_MUSIC); in setVolume() local 77 return original; in setVolume()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | InputMethodTestActivity.java | 49 final InputConnection original = super.onCreateInputConnection(outAttrs); in onCreate() 51 return new InputConnectionWrapper(original, false) { in onCreate()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | LocusIdTest.java | 79 private LocusId cloneThroughParcel(@NonNull LocusId original) { in cloneThroughParcel() argument 85 original.writeToParcel(parcel, 0); in cloneThroughParcel()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | MultiUserDeviceTest.java | 96 final InputConnection original = super.onCreateInputConnection(editorInfo); in testConnectingToTheSameUserIme() 103 return new ReplyReceivingInputConnection(original, sessionId, resultQueue); in testConnectingToTheSameUserIme()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SystemUpdatePolicyTest.java | 329 private void assertFreezePeriodListsEqual(List<FreezePeriod> original, in assertFreezePeriodListsEqual() argument 331 assertThat(original).isNotNull(); in assertFreezePeriodListsEqual() 333 assertThat(original.size()).isEqualTo(copy.size()); in assertFreezePeriodListsEqual() 334 for (FreezePeriod period1 : original) { in assertFreezePeriodListsEqual() 340 assertFreezePeriodListContains(original, period1); in assertFreezePeriodListsEqual()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureSurfaceView.java | 182 int original = mBaseTexture.getPixel(x, y); in comparePixel() local 184 int deltaR = Math.abs(R - Color.red(original)); in comparePixel() 185 int deltaG = Math.abs(G - Color.green(original)); in comparePixel() 186 int deltaB = Math.abs(B - Color.blue(original)); in comparePixel()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocaleListTest.java | 313 LocaleList original = LocaleList.forLanguageTags("en-PH,en-US"); in testParcelable() local 314 assertEquals(original, cloneViaParcel(original)); in testParcelable() 345 private static LocaleList cloneViaParcel(final LocaleList original) { in cloneViaParcel() argument 349 original.writeToParcel(parcel, 0); in cloneViaParcel()
|
/cts/tests/app/src/android/app/cts/ |
D | PersonTest.java | 63 Person original = in testToBuilder() local 72 Person result = original.toBuilder().build(); in testToBuilder()
|
D | WearableExtenderTest.java | 141 WearableExtender original = new WearableExtender() in testWearableExtender_clone() local 151 WearableExtender clone = original.clone(); in testWearableExtender_clone() 153 original.clearActions(); in testWearableExtender_clone()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustAndVerify.java | 198 ParcelFileDescriptor original = printJob.getDocument().getData(); in adjustPageRangeAndVerifyPages() 204 try (FileInputStream in = new FileInputStream(original.getFileDescriptor()); in adjustPageRangeAndVerifyPages() 217 original.close(); in adjustPageRangeAndVerifyPages()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | image_and_kernel.rsh | 9 // The dimension of the original unpadded image is
|
/cts/tests/jdwp/runner/host-side/ |
D | Android.bp | 17 // a test to retain the test_suites from the original Android.mk.
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 1477 AMediaFormat *original = AMediaFormat_new(); in Java_android_media_cts_NativeDecoderTest_testMediaFormatNative() local 1481 AMediaFormat_setInt64(original, AMEDIAFORMAT_KEY_DURATION, 1234ll); in Java_android_media_cts_NativeDecoderTest_testMediaFormatNative() 1483 if (!AMediaFormat_getInt64(original, AMEDIAFORMAT_KEY_DURATION, &value) || value != 1234) { in Java_android_media_cts_NativeDecoderTest_testMediaFormatNative() 1487 AMediaFormat_copy(copy, original); in Java_android_media_cts_NativeDecoderTest_testMediaFormatNative() 1493 AMediaFormat_clear(original); in Java_android_media_cts_NativeDecoderTest_testMediaFormatNative() 1494 if (AMediaFormat_getInt64(original, AMEDIAFORMAT_KEY_DURATION, &value)) { in Java_android_media_cts_NativeDecoderTest_testMediaFormatNative() 1506 AMediaFormat_delete(original); in Java_android_media_cts_NativeDecoderTest_testMediaFormatNative()
|