/cts/tools/signature-tools/test/signature/converter/util/ |
H A D | CompilationUnit.java | 23 private String source; field in class:CompilationUnit 25 public CompilationUnit(String name, String source) { argument 27 this.source = source; 35 return source;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
H A D | TextView_SaveStateTest.java | 40 Parcel source = creatTestParcel(0, 0, true, "This is content"); 41 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); 45 source = creatTestParcel(5, 10, false, "This is another content"); 46 state = TextView.SavedState.CREATOR.createFromParcel(source); 57 Parcel source = creatTestParcel(0, 0, true, "This is content"); 58 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); 72 Parcel source = Parcel.obtain(); 74 source.writeParcelable(AbsSavedState.EMPTY_STATE, 0); 75 source.writeInt(start); 76 source [all...] |
/cts/tests/src/android/app/cts/ |
H A D | IBinderParcelable.java | 25 public IBinderParcelable(IBinder source) { argument 26 binder = source; 40 public IBinderParcelable createFromParcel(Parcel source) { 41 return new IBinderParcelable(source); 49 private IBinderParcelable(Parcel source) { argument 50 binder = source.readStrongBinder();
|
/cts/tests/tests/text/src/android/text/method/cts/ |
H A D | DigitsKeyListenerTest.java | 95 String source = "123456"; 100 assertNull(digitsKeyListener.filter(source, 0, source.length(), 104 source = "a1b2c3d"; 105 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(), 109 source = "-a1.b2c3d"; 110 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(), 115 Spannable spannableSource = new SpannableString(source); [all...] |
H A D | NumberKeyListenerTest.java | 80 String source = "Android test"; 82 assertEquals("", mNumberKeyListener.filter(source, 0, source.length(), 85 source = "12345"; 87 assertNull(mNumberKeyListener.filter(source, 0, source.length(), dest, 0, dest.length())); 89 source = ""; 91 assertNull(mNumberKeyListener.filter(source, 0, source.length(), dest, 0, dest.length())); 93 source [all...] |
/cts/tests/src/android/provider/cts/ |
H A D | FileCopyHelper.java | 60 InputStream source = null; 64 source = mContext.getResources().openRawResource(resId); 68 for (int len = source.read(buffer); len > 0; len = source.read(buffer)) { 75 if (source != null) { 76 source.close();
|
/cts/tests/tests/text/src/android/text/cts/ |
H A D | AlteredCharSequenceTest.java | 40 CharSequence source = "abcdefgh"; 41 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 45 // chars in source. 109 CharSequence source = SOURCE_STR; 111 source = source + "a"; 112 mAlteredCharSequence = AlteredCharSequence.make(source, sub, 0, sub.length); 113 assertEquals(source.length(), mAlteredCharSequence.length()); 126 CharSequence source = SOURCE_STR; 127 mAlteredCharSequence = AlteredCharSequence.make(source, su [all...] |
H A D | Editable_FactoryTest.java | 34 notes = "Test newEditable(CharSequence source)", 40 CharSequence source = "abc"; 42 Editable expected = new SpannableStringBuilder(source); 46 Editable actual = mFactory.newEditable(source);
|
H A D | InputFilter_LengthFilterTest.java | 46 CharSequence source; 53 // cut off the source CharSequence from beginning to fit the filter length. 54 source = "abc"; 58 dest.insert(1, source); 62 dest.replace(5, 8, source);
|
H A D | InputFilter_AllCapsTest.java | 41 CharSequence source = "Caps"; 48 dest.insert(3, source); 52 dest.replace(7, 11, source);
|
/cts/tests/tests/view/src/android/view/cts/ |
H A D | AbsSavedStateTest.java | 59 Parcel source = Parcel.obtain(); 60 new MockAbsSavedState(source); 62 MockAbsSavedState savedState = new MockAbsSavedState(source); 107 public MockAbsSavedState(Parcel source) { argument 108 super(source);
|
/cts/tools/dex-tools/test/dex/reader/ |
H A D | LargeDexTests.java | 44 JavaSource source = new JavaSource(CLASS_NAME, b.toString()); 45 DexFile dexFile = javaToDexUtil.getFrom(source);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
H A D | DateFormatTest.java | 140 String source = dateFormat.format(date); 141 Date parseDate = dateFormat.parse(source); 148 source = dateFormat.format(date); 149 assertTrue(source.indexOf("December") >= 0); 152 source = dateFormat.format(date); 153 assertTrue(source.indexOf("Dec") >= 0); 154 assertTrue(source.indexOf("December") < 0); 156 source = dateFormat.format(date); 157 assertTrue(source.indexOf("5") >= 0); 158 assertTrue(source [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/return_object/d/ |
H A D | TestStubs.d | 15 .source TestStubs.java 18 .source TestStubs.java 29 .source TestStubs.java 39 .source TestStubs.java 50 .source TestStubs.java
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
H A D | BitmapDrawableTest.java | 136 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); 137 BitmapDrawable bitmapDrawable = new BitmapDrawable(source); 157 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); 158 BitmapDrawable bitmapDrawable = new BitmapDrawable(source); 175 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); 176 BitmapDrawable bitmapDrawable = new BitmapDrawable(source); 193 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); 194 BitmapDrawable bitmapDrawable = new BitmapDrawable(source); 234 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); 235 BitmapDrawable bitmapDrawable = new BitmapDrawable(source); [all...] |
/cts/tools/dex-tools/test/dex/reader/util/ |
H A D | JavaSourceToDexUtil.java | 43 public dex.structure.DexFile getFrom(JavaSource source) throws IOException{ argument 44 return getAllFrom(Collections.singleton(source)); 47 public dex.structure.DexFile getFrom(JavaSource... source) throws IOException{ argument 48 return getAllFrom(new HashSet<JavaSource>(Arrays.asList(source))); 56 * Converts java source code to a {@link dex.structure.DexFile} loaded by 86 public Set<MemoryByteCode> compileToByteCode(Set<JavaSource> source) { argument 94 .asList(new String[] {"-classpath", "."}), null, source);
|
/cts/tools/signature-tools/test/signature/converter/ |
H A D | ConvertWildcardTest.java | 42 String source = 47 IApi api = convert(new CompilationUnit("a.A", source)); 71 String source = 76 IApi api = convert(new CompilationUnit("a.A", source));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/new_instance/d/ |
H A D | TestAbstractClass.d | 15 .source TestAbstractClass.java 19 .source TestAbstractClass.java
|
/cts/tools/vm-tests/src/dot/junit/opcodes/if_eq/d/ |
H A D | T_if_eq_1.d | 1 .source T_if_eq_1.java
|
H A D | T_if_eq_10.d | 1 .source T_if_eq_10.java
|
H A D | T_if_eq_11.d | 1 .source T_if_eq_11.java
|
H A D | T_if_eq_12.d | 1 .source T_if_eq_12.java
|
H A D | T_if_eq_2.d | 1 .source T_if_eq_2.java
|
H A D | T_if_eq_4.d | 1 .source T_if_eq_4.java
|
H A D | T_if_eq_5.d | 1 .source T_if_eq_5.java
|