/cts/tests/tests/text/src/android/text/method/cts/ |
D | DigitsKeyListenerTest.java | 61 SpannableString dest = new SpannableString(destString); in testFilter1() local 63 dest, 0, dest.length())); in testFilter1() 64 assertEquals(destString, dest.toString()); in testFilter1() 68 dest, 0, dest.length())).toString()); in testFilter1() 69 assertEquals(destString, dest.toString()); in testFilter1() 73 dest, 0, dest.length())).toString()); in testFilter1() 74 assertEquals(destString, dest.toString()); in testFilter1() 78 dest, 0, dest.length())).toString()); in testFilter1() 79 assertEquals(destString, dest.toString()); in testFilter1() 85 0, spannableSource.length(), dest, 0, dest.length()); in testFilter1() [all …]
|
D | NumberKeyListenerTest.java | 52 SpannableString dest = new SpannableString("012345"); in testFilter() local 54 dest, 0, dest.length()).toString()); in testFilter() 57 dest = new SpannableString("012345"); in testFilter() 58 assertNull(mMockNumberKeyListener.filter(source, 0, source.length(), dest, 0, in testFilter() 59 dest.length())); in testFilter() 62 dest = new SpannableString("012345"); in testFilter() 63 assertNull(mMockNumberKeyListener.filter(source, 0, source.length(), dest, 0, in testFilter() 64 dest.length())); in testFilter() 67 dest = new SpannableString("012345 Android-test"); in testFilter() 69 dest, 0, dest.length()).toString()); in testFilter() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | InputFilter_LengthFilterTest.java | 29 SpannableStringBuilder dest; in testFilter() local 37 dest = new SpannableStringBuilder("abcdefgh"); in testFilter() 38 dest.setFilters(filters); in testFilter() 40 dest.insert(1, source); in testFilter() 42 assertEquals(expectedString1, dest.toString()); in testFilter() 44 dest.replace(5, 8, source); in testFilter() 46 assertEquals(expectedString2, dest.toString()); in testFilter() 48 dest.delete(1, 3); in testFilter() 50 assertEquals(expectedString3, dest.toString()); in testFilter() 53 dest = new SpannableStringBuilder("abcdefgh"); in testFilter() [all …]
|
D | InputFilter_AllCapsTest.java | 30 SpannableStringBuilder dest = new SpannableStringBuilder("AllTest"); in testFilter() local 33 dest.setFilters(filters); in testFilter() 36 dest.insert(3, source); in testFilter() 37 assertEquals(expectedString1 , dest.toString()); in testFilter() 40 dest.replace(7, 11, source); in testFilter() 41 assertEquals(expectedString2, dest.toString()); in testFilter() 43 dest.delete(0, 4); in testFilter() 45 assertEquals(expectedString3, dest.toString()); in testFilter() 51 allCaps.filter(beforeFilterSource, 2, 7, dest, 0, beforeFilterSource.length()); in testFilter()
|
D | AndroidCharacterTest.java | 33 byte[] dest = new byte[128]; in testGetDirectionalities() 35 AndroidCharacter.getDirectionalities(src, dest, count); in testGetDirectionalities() 43 for (int i = 0; i < dest.length; i++) { in testGetDirectionalities() 44 assertEquals(expected[i], dest[i]); in testGetDirectionalities() 81 byte[] dest = new byte[count]; in testGetEastAsianWidths() 82 AndroidCharacter.getEastAsianWidths(src, start, count, dest); in testGetEastAsianWidths() 84 for (int i = 0; i < dest.length; i++) { in testGetEastAsianWidths() 85 assertEquals(expected[i], dest[i]); in testGetEastAsianWidths() 88 AndroidCharacter.getEastAsianWidths(src, 24, 8, dest); in testGetEastAsianWidths() 94 AndroidCharacter.getEastAsianWidths(src, -1024, 1, dest); in testGetEastAsianWidths() [all …]
|
D | AnnotationTest.java | 67 Parcel dest = Parcel.obtain(); in testWriteToParcel() local 70 mAnnotation.writeToParcel(dest, NOFLAG); in testWriteToParcel() 71 dest.setDataPosition(0); in testWriteToParcel() 72 Annotation out = new Annotation(dest); in testWriteToParcel() 78 dest.recycle(); in testWriteToParcel()
|
D | AlteredCharSequenceTest.java | 63 char[] dest = new char[4]; in testGetChars() local 64 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars() 68 assertEquals(expected[i], dest[i]); in testGetChars() 72 dest[i] = 'a'; in testGetChars() 74 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars() 76 assertEquals('a', dest[i]); in testGetChars() 80 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyboardShortcutInfoTest.java | 61 Parcel dest = Parcel.obtain(); in testWriteToParcelAndReadCharacter() local 64 info.writeToParcel(dest, 0); in testWriteToParcelAndReadCharacter() 66 dest.setDataPosition(0); in testWriteToParcelAndReadCharacter() 67 KeyboardShortcutInfo result = KeyboardShortcutInfo.CREATOR.createFromParcel(dest); in testWriteToParcelAndReadCharacter() 76 Parcel dest = Parcel.obtain(); in testWriteToParcelAndReadKeycode() local 79 info.writeToParcel(dest, 0); in testWriteToParcelAndReadKeycode() 81 dest.setDataPosition(0); in testWriteToParcelAndReadKeycode() 82 KeyboardShortcutInfo result = KeyboardShortcutInfo.CREATOR.createFromParcel(dest); in testWriteToParcelAndReadKeycode()
|
D | PixelCopyTests.java | 78 Bitmap dest = null; in testErrors() local 87 copyHelper.request(surface, dest); in testErrors() 95 dest = Bitmap.createBitmap(5, 5, Bitmap.Config.ARGB_8888); in testErrors() 96 int result = copyHelper.request(surface, dest); in testErrors() 99 dest.recycle(); in testErrors() 101 copyHelper.request(surface, dest); in testErrors() 305 public int request(Surface source, Bitmap dest) { in request() argument 307 PixelCopy.request(source, dest, this, sHandler); in request() 312 public int request(SurfaceView source, Bitmap dest) { in request() argument 314 PixelCopy.request(source, dest, this, sHandler); in request()
|
D | AbsSavedStateTest.java | 54 Parcel dest = Parcel.obtain(); in testWriteToParcel() local 56 savedState.writeToParcel(dest, flags); in testWriteToParcel() 86 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
|
D | KeyboardShortcutGroupTest.java | 80 Parcel dest = Parcel.obtain(); in testWriteToParcelAndRead() local 82 group.writeToParcel(dest, 0); in testWriteToParcelAndRead() 84 dest.setDataPosition(0); in testWriteToParcelAndRead() 85 KeyboardShortcutGroup result = KeyboardShortcutGroup.CREATOR.createFromParcel(dest); in testWriteToParcelAndRead()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | CommandApdu.java | 44 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 45 dest.writeString(mApdu); in writeToParcel() 46 dest.writeInt(mReachable ? 1 : 0); in writeToParcel()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | IBinderParcelable.java | 33 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 34 dest.writeStrongBinder(binder); in writeToParcel()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | StrictJarFileTest.java | 199 File dest = new File(resources.toString() + "/" + file); in copyFile() local 201 if (!dest.exists()) { in copyFile() 204 FileOutputStream out = new FileOutputStream(dest); in copyFile() 211 dest.deleteOnExit(); in copyFile() 215 … "Unable to copy file from resource " + file + " to file " + dest, e); in copyFile() 218 return dest; in copyFile()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | DasmBuildStep.java | 112 File dest = new File(dest_dir); in assemble() local 113 if (!dest.exists()) { in assemble() 114 dest.mkdirs(); in assemble() 117 if (!dest.isDirectory()) { in assemble()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TimePickerTest.java | 251 MyTimePicker dest = new MyTimePicker(mContext); in testOnSaveInstanceStateAndOnRestoreInstanceState() local 252 int expectHour = (dest.getCurrentHour() + 10) % 24; in testOnSaveInstanceStateAndOnRestoreInstanceState() 253 int expectMinute = (dest.getCurrentMinute() + 10) % 60; in testOnSaveInstanceStateAndOnRestoreInstanceState() 258 dest.onRestoreInstanceState(p); in testOnSaveInstanceStateAndOnRestoreInstanceState() 260 assertEquals(Integer.valueOf(expectHour), dest.getCurrentHour()); in testOnSaveInstanceStateAndOnRestoreInstanceState() 261 assertEquals(Integer.valueOf(expectMinute), dest.getCurrentMinute()); in testOnSaveInstanceStateAndOnRestoreInstanceState()
|
/cts/tools/dasm/src/dasm/ |
D | Main.java | 137 File dest = new File(dest_dir); in assemble() local 138 if (!dest.exists()) { in assemble() 139 dest.mkdirs(); in assemble() 142 if (!dest.isDirectory()) { in assemble()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | IntentDrivenTestActivity.java | 202 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 203 dest.writeInt(mButtonText); in writeToParcel() 204 dest.writeParcelableArray(mIntents, 0); in writeToParcel() 205 dest.writeString(mIntentFactoryClassName); in writeToParcel()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AllocationCopy2DRangeTest.java | 60 private boolean compareTwoArrays(int[] src, int[] dest, int size) { in compareTwoArrays() argument 63 if (src[i] != dest[i]) { in compareTwoArrays()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | RGBZ.java | 160 private Bitmap setAlphaChannelFromBitmap(Bitmap depth, Bitmap orig, Bitmap dest) { in setAlphaChannelFromBitmap() argument 174 dest.setPixels(orig_data, 0, w, 0, 0, w, h); in setAlphaChannelFromBitmap() 175 return dest; in setAlphaChannelFromBitmap()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/ |
D | Movie.java | 102 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 103 dest.writeStringArray(new String[] {mId, in writeToParcel()
|
/cts/tests/openglperf2/jni/primitive/shaderperf/ |
D | ShaderPerfRenderer.cpp | 81 static int charCopy(const char* source, char* dest, int destStart) { in charCopy() argument 87 dest[destAddr] = current; in charCopy()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | NfcTestActivity.java | 135 Bitmap dest = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in createSampleImage() local 137 canvas.setBitmap(dest); in createSampleImage() 142 return dest; in createSampleImage()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/util/ |
D | ReportLogUtil.java | 96 String dest = destDir.getAbsolutePath(); in pull() local 98 deviceSrc, dest); in pull()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | ResultFilePuller.java | 101 private void pull(ITestDevice device, String src, String dest) { in pull() argument 102 String command = String.format("adb -s %s pull %s %s", device.getSerialNumber(), src, dest); in pull()
|