Lines Matching refs:stack
81 StackTraceElement[] stack = entry.getValue(); in getTestName() local
82 for (int index = 0; index < stack.length; ++index) { in getTestName()
84 String methodName = stack[index].getMethodName(); in getTestName()
93 clazz = Class.forName(stack[index].getClassName()); in getTestName()
117 while (index + depth < stack.length in getTestName()
118 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
119 && stack[index + depth].getClassName().equals( in getTestName()
126 if (index + depth < stack.length) { in getTestName()
127 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
130 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
140 testName = stack[index].getClassName() + "." + testName; in getTestName()