HomeSort by relevance Sort by last modified time
    Searched refs:smaliMethod (Results 1 - 10 of 10) sorted by null

  /external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliMethodTest.java 58 SmaliMethod methodElement = (SmaliMethod)leafElement.getParent();
78 SmaliMethod methodElement = (SmaliMethod)leafElement.getParent();
95 SmaliMethod smaliMethod = smaliClass.getMethods()[0];
97 Assert.assertEquals(127, smaliMethod.getRegisterCount());
98 Assert.assertEquals(4, smaliMethod.getParameterRegisterCount());
100 Assert.assertEquals(0, smaliMethod.getParameterList().getParameters()[0].getParameterRegisterNumber());
101 Assert.assertEquals(123, smaliMethod.getParameterList().getParameters()[0].getRegisterNumber())
    [all...]
  /external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
SmalideaSparseSwitchPayload.java 53 SmaliMethod smaliMethod = psiInstruction.getParentMethod();
55 smaliMethod, Opcode.SPARSE_SWITCH, psiInstruction.getOffset());
SmalideaPackedSwitchPayload.java 54 SmaliMethod smaliMethod = psiInstruction.getParentMethod();
56 smaliMethod, Opcode.PACKED_SWITCH, psiInstruction.getOffset());
  /external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
SmaliCodeFragmentFactory.java 60 import org.jf.smalidea.psi.impl.SmaliMethod;
125 PsiMatchers.hasClass(SmaliMethod.class));
130 PsiMatchers.hasClass(SmaliMethod.class));
136 final SmaliMethod containingMethod = currentInstruction.getParentMethod();
277 public static Value evaluateRegister(EvaluationContext context, final SmaliMethod smaliMethod,
304 for (SmaliInstruction instruction: smaliMethod.getInstructions()) {
311 mapRegister(frameProxy.getStackFrame().virtualMachine(), smaliMethod, registerNum),
328 private static int mapRegister(final VirtualMachine vm, final SmaliMethod smaliMethod, final int register)
    [all...]
SmaliPositionManager.java 49 import org.jf.smalidea.psi.impl.SmaliMethod;
72 for (SmaliMethod smaliMethod: smaliClass.getMethods()) {
73 if (smaliMethod.getName().equals(methodName) &&
74 smaliMethod.getMethodPrototype().getText().equals(methodSignature)) {
75 return smaliMethod.getSourcePositionForCodeOffset(codeIndex * 2);
  /external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
SmalideaMethod.java 52 import org.jf.smalidea.psi.impl.SmaliMethod;
88 if (psiMethod instanceof SmaliMethod) {
89 return ((SmaliMethod)psiMethod).getModifierList().getAccessFlags();
148 if (psiMethod instanceof SmaliMethod) {
149 final SmaliMethod smaliMethod = (SmaliMethod)this.psiMethod;
151 List<SmaliInstruction> instructions = smaliMethod.getInstructions();
159 return smaliMethod.getRegisterCount();
163 return Lists.transform(smaliMethod.getInstructions()
    [all...]
  /external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
SmaliInstruction.java 66 @NotNull public SmaliMethod getParentMethod() {
67 SmaliMethod smaliMethod = findAncestorByClass(SmaliMethod.class);
68 assert smaliMethod != null;
69 return smaliMethod;
197 SmaliMethod method = getParentMethod();
SmaliMethodParameter.java 153 @NotNull public SmaliMethod getParentMethod() {
154 SmaliMethod smaliMethod = findStubOrPsiAncestorOfType(SmaliMethod.class);
155 assert smaliMethod != null;
156 return smaliMethod;
177 SmaliMethod parentMethod = getParentMethod();
184 SmaliMethod parentMethod = getParentMethod();
SmaliClass.java 184 @NotNull @Override public SmaliMethod[] getMethods() {
185 return getStubOrPsiChildren(SmaliElementTypes.METHOD, new SmaliMethod[0]);
389 SmaliMethod[] smaliMethods = findChildrenByType(SmaliElementTypes.METHOD, SmaliMethod.class);
391 for (SmaliMethod smaliMethod: smaliMethods) {
393 int offset = smaliMethod.getOffsetForLine(position.getLine());
395 List<Method> methods = type.methodsByName(smaliMethod.getName(),
396 smaliMethod.getMethodPrototype().getText());
  /external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/
SmalideaMethodTest.java 50 import org.jf.smalidea.psi.impl.SmaliMethod;
92 SmaliMethod smaliMethod = smaliClass.getMethods()[0];
94 SmalideaMethod method = new SmalideaMethod(smaliMethod);
346 SmaliMethod smaliMethod = smaliClass.getMethods()[0];
348 SmalideaMethod method = new SmalideaMethod(smaliMethod);
418 SmaliMethod smaliMethod = smaliClass.getMethods()[0];
420 SmalideaMethod method = new SmalideaMethod(smaliMethod);
    [all...]

Completed in 215 milliseconds