Home
last modified time | relevance | path

Searched refs:JavaSource (Results 1 – 7 of 7) sorted by relevance

/cts/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java33 import dex.reader.util.JavaSource;
49 JavaSource A = new JavaSource("a.b.c.A",
63 JavaSource T0 = new JavaSource("T0",
109 JavaSource T1 = new JavaSource( "T1","public class T1 extends T0 {}" );
112 private static Set<JavaSource> toSet(JavaSource...javaSources){ in toSet()
113 return new HashSet<JavaSource>(Arrays.asList(javaSources)); in toSet()
116 private static Set<String> toStringSet(JavaSource... javaSources) { in toStringSet()
118 for (JavaSource javaSource : javaSources) { in toStringSet()
162 static final JavaSource A0 = new JavaSource("A0",
183 static final JavaSource T3 = new JavaSource("T3",
[all …]
DLargeDexTests.java20 import dex.reader.util.JavaSource;
44 JavaSource source = new JavaSource(CLASS_NAME, b.toString()); in testManyFields()
/cts/tools/signature-tools/test/signature/converter/dex/
DDexTestConverter.java19 import dex.reader.util.JavaSource;
38 Set<JavaSource> sources = new HashSet<JavaSource>(); in convert()
40 sources.add(new JavaSource(unit.getName(), unit.getSource())); in convert()
DDexUtilTest.java21 import dex.reader.util.JavaSource;
73 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); in hasGenericSignatureTest()
77 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); in hasGenericSignatureTest()
84 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); in getGenericSignatureTest()
88 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); in getGenericSignatureTest()
DGenericSignatureParserTest.java22 import dex.reader.util.JavaSource;
53 DexFile dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); in getGenericSignatureTest()
/cts/tools/dex-tools/test/dex/reader/util/
DJavaSourceToDexUtil.java43 public dex.structure.DexFile getFrom(JavaSource source) throws IOException{ in getFrom()
47 public dex.structure.DexFile getFrom(JavaSource... source) throws IOException{ in getFrom()
48 return getAllFrom(new HashSet<JavaSource>(Arrays.asList(source))); in getFrom()
51 public dex.structure.DexFile getAllFrom(Set<JavaSource> sources) throws IOException{ in getAllFrom()
62 public dex.structure.DexFile getFrom(Set<JavaSource> sources, in getFrom()
86 public Set<MemoryByteCode> compileToByteCode(Set<JavaSource> source) { in compileToByteCode()
DJavaSource.java29 public class JavaSource extends SimpleJavaFileObject { class
33 public JavaSource(String sourceName, String sourceCode) { in JavaSource() method in JavaSource