Searched refs:dexMaker (Results 1 – 5 of 5) sorted by relevance
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | DexMakerTest.java | 57 private DexMaker dexMaker; field in DexMakerTest 78 dexMaker = new DexMaker(); in reset() 79 dexMaker.declare(GENERATED, "Generated.java", PUBLIC, TypeId.OBJECT); in reset() 102 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); in testNewInstance() 132 Code code = dexMaker.declare(methodId, PUBLIC); in testVoidNoArgMemberMethod() 152 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); in testInvokeStatic() 172 Code code = dexMaker.declare(methodId, PUBLIC); in testCreateLocalMethodAsNull() 199 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); in testInvokeVirtual() 231 Code directCode = dexMaker.declare(directMethodId, PRIVATE); in testInvokeDirect() 238 Code code = dexMaker.declare(methodId, PUBLIC | STATIC); in testInvokeDirect() [all …]
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/ |
D | HelloWorldMaker.java | 33 DexMaker dexMaker = new DexMaker(); in main() local 37 dexMaker.declare(helloWorld, "HelloWorld.generated", Modifier.PUBLIC, TypeId.OBJECT); in main() 38 generateHelloMethod(dexMaker, helloWorld); in main() 42 ClassLoader loader = dexMaker.generateAndLoad(HelloWorldMaker.class.getClassLoader(), in main() 61 private static void generateHelloMethod(DexMaker dexMaker, TypeId<?> declaringType) { in generateHelloMethod() argument 71 Code code = dexMaker.declare(hello, Modifier.STATIC | Modifier.PUBLIC); in generateHelloMethod()
|
D | FibonacciMaker.java | 37 DexMaker dexMaker = new DexMaker(); in main() local 38 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT); in main() 41 Code code = dexMaker.declare(fib, Modifier.PUBLIC | Modifier.STATIC); in main() 65 ClassLoader loader = dexMaker.generateAndLoad( in main()
|
/external/dexmaker/ |
D | README.md | 33 DexMaker dexMaker = new DexMaker(); 37 dexMaker.declare(helloWorld, "HelloWorld.generated", Modifier.PUBLIC, TypeId.OBJECT); 38 generateHelloMethod(dexMaker, helloWorld); 42 ClassLoader loader = dexMaker.generateAndLoad(HelloWorldMaker.class.getClassLoader(), 61 private static void generateHelloMethod(DexMaker dexMaker, TypeId<?> declaringType) { 69 // Declare that method on the dexMaker. Use the returned Code instance 71 Code code = dexMaker.declare(hello, Modifier.STATIC | Modifier.PUBLIC);
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/ |
D | ProxyBuilder.java | 268 DexMaker dexMaker = new DexMaker(); in buildProxyClass() local 272 generateConstructorsAndFields(dexMaker, generatedType, superType, baseClass); in buildProxyClass() 274 generateCodeForAllMethods(dexMaker, generatedType, methodsToProxy, superType); in buildProxyClass() 275 …dexMaker.declare(generatedType, generatedName + ".generated", PUBLIC, superType, getInterfacesAsTy… in buildProxyClass() 276 ClassLoader classLoader = dexMaker.generateAndLoad(baseClass.getClassLoader(), in buildProxyClass() 386 private static <T, G extends T> void generateCodeForAllMethods(DexMaker dexMaker, in generateCodeForAllMethods() argument 453 Code code = dexMaker.declare(methodId, PUBLIC); in generateCodeForAllMethods() 525 Code superCode = dexMaker.declare(callsSuperMethod, PUBLIC); in generateCodeForAllMethods() 583 private static <T, G extends T> void generateConstructorsAndFields(DexMaker dexMaker, in generateConstructorsAndFields() argument 589 dexMaker.declare(handlerField, PRIVATE, null); in generateConstructorsAndFields() [all …]
|