Home
last modified time | relevance | path

Searched refs:Opcodes (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubMethodAdapter.java23 import org.objectweb.asm.Opcodes;
71 mParentVisitor.visitInsn(mIsNative ? Opcodes.ICONST_1 : Opcodes.ICONST_0); in generateInvoke()
74 mParentVisitor.visitInsn(Opcodes.ACONST_NULL); in generateInvoke()
76 mParentVisitor.visitVarInsn(Opcodes.ALOAD, 0); in generateInvoke()
82 mParentVisitor.visitMethodInsn(Opcodes.INVOKESTATIC, in generateInvoke()
87 mParentVisitor.visitInsn(Opcodes.RETURN); in generateInvoke()
94 mParentVisitor.visitMethodInsn(Opcodes.INVOKESTATIC, in generateInvoke()
102 mParentVisitor.visitJumpInsn(Opcodes.IFEQ, l1); in generateInvoke()
103 mParentVisitor.visitInsn(Opcodes.ICONST_1); in generateInvoke()
104 mParentVisitor.visitInsn(Opcodes.IRETURN); in generateInvoke()
[all …]
DTransformClassAdapter.java21 import org.objectweb.asm.Opcodes;
70 access = access & ~Opcodes.ACC_FINAL; in visit()
74 mIsInterface = ((access & Opcodes.ACC_INTERFACE) != 0); in visit()
82 access = access & ~Opcodes.ACC_FINAL; in visitInnerClass()
109 access = access & ~Opcodes.ACC_FINAL; in visitMethod()
114 ((access & (Opcodes.ACC_ABSTRACT | Opcodes.ACC_NATIVE)) != Opcodes.ACC_ABSTRACT) && in visitMethod()
116 (access & Opcodes.ACC_NATIVE) != 0) || in visitMethod()
119 boolean isStatic = (access & Opcodes.ACC_STATIC) != 0; in visitMethod()
120 boolean isNative = (access & Opcodes.ACC_NATIVE) != 0; in visitMethod()
123 access = access & ~(Opcodes.ACC_ABSTRACT | Opcodes.ACC_FINAL | Opcodes.ACC_NATIVE); in visitMethod()
DFieldInjectorAdapter.java20 import org.objectweb.asm.Opcodes;
29 super(Opcodes.ASM4, cv); in FieldInjectorAdapter()
34 super.visitField(Opcodes.ACC_PUBLIC, "mLayoutlibCallback", in visitEnd()
36 super.visitField(Opcodes.ACC_PUBLIC, "mContext", in visitEnd()
DInjectMethodRunnables.java24 import static org.objectweb.asm.Opcodes.ACC_PUBLIC;
25 import static org.objectweb.asm.Opcodes.ALOAD;
26 import static org.objectweb.asm.Opcodes.ARETURN;
27 import static org.objectweb.asm.Opcodes.INVOKEVIRTUAL;
DDelegateClassAdapter.java22 import org.objectweb.asm.Opcodes;
90 boolean isStaticMethod = (access & Opcodes.ACC_STATIC) != 0; in visitMethod()
91 boolean isNative = (access & Opcodes.ACC_NATIVE) != 0; in visitMethod()
111 access = access & ~Opcodes.ACC_NATIVE; in visitMethod()
132 access = access & ~Opcodes.ACC_PRIVATE; // If private, make it package protected. in visitMethod()
DPromoteFieldClassAdapter.java24 import static org.objectweb.asm.Opcodes.ACC_PRIVATE;
25 import static org.objectweb.asm.Opcodes.ACC_PROTECTED;
26 import static org.objectweb.asm.Opcodes.ACC_PUBLIC;
DDelegateMethodAdapter.java27 import org.objectweb.asm.Opcodes;
218 mDelWriter.visitVarInsn(Opcodes.ALOAD, 0); // var 0 = this in generateDelegateCode()
219 mDelWriter.visitFieldInsn(Opcodes.GETFIELD, in generateDelegateCode()
229 mDelWriter.visitVarInsn(Opcodes.ALOAD, 0); in generateDelegateCode()
240 mDelWriter.visitVarInsn(t.getOpcode(Opcodes.ILOAD), maxLocals); in generateDelegateCode()
253 mDelWriter.visitMethodInsn(Opcodes.INVOKESTATIC, in generateDelegateCode()
260 mDelWriter.visitInsn(returnType.getOpcode(Opcodes.IRETURN)); in generateDelegateCode()
DClassHasNativeVisitor.java27 import org.objectweb.asm.Opcodes;
86 if ((access & Opcodes.ACC_NATIVE) != 0) { in visitMethod()
DMain.java19 import org.objectweb.asm.Opcodes;
57 public static final int ASM_VERSION = Opcodes.ASM5;
DReplaceMethodCallsAdapter.java24 import org.objectweb.asm.Opcodes;
90 mi.opcode = Opcodes.INVOKESTATIC; in METHOD_REPLACERS.add()
179 mi.opcode = Opcodes.INVOKESTATIC; in METHOD_REPLACERS.add()
/frameworks/base/services/net/java/android/net/apf/
DApfGenerator.java39 private enum Opcodes { enum in ApfGenerator
65 private Opcodes(int value) { in Opcodes() method in ApfGenerator.Opcodes
112 Instruction(Opcodes opcode, Register register) { in Instruction()
117 Instruction(Opcodes opcode) { in Instruction()
140 if (mOpcode != Opcodes.LABEL.value) { in setLabel()
153 if (mOpcode != Opcodes.JNEBS.value) { in setCompareBytes()
163 if (mOpcode == Opcodes.LABEL.value) { in size()
234 if (mOpcode == Opcodes.LABEL.value) { in generate()
360 private final Instruction mDropLabel = new Instruction(Opcodes.LABEL);
361 private final Instruction mPassLabel = new Instruction(Opcodes.LABEL);
[all …]
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DStubMethodAdapterTest.java27 import org.objectweb.asm.Opcodes;
98 boolean isStatic = (access & Opcodes.ACC_STATIC) != 0; in visitMethod()
99 boolean isNative = (access & Opcodes.ACC_NATIVE) != 0; in visitMethod()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt39220 public abstract interface Opcodes {
/frameworks/base/api/
Dcurrent.txt48393 public abstract interface Opcodes {
Dtest-current.txt48473 public abstract interface Opcodes {
Dsystem-current.txt51750 public abstract interface Opcodes {