Searched refs:elements (Results 1 – 4 of 4) sorted by relevance
47 StackTraceElement[] elements = Thread.currentThread().getStackTrace(); in getTestCallerClassMethodName() local49 for (int i = 0; i < elements.length; i++) { in getTestCallerClassMethodName()50 if (elements[i].getClassName().endsWith(TEST_POSTFIX)) { in getTestCallerClassMethodName()51 return buildClassMethodName(elements, i, includeLineNumber); in getTestCallerClassMethodName()56 return buildClassMethodName(elements, SAFETY_DEPTH, includeLineNumber); in getTestCallerClassMethodName()60 StackTraceElement[] elements, int depth, boolean includeLineNumber) { in buildClassMethodName() argument61 depth = Math.min(depth, elements.length - 1); in buildClassMethodName()63 builder.append(elements[depth].getClassName()).append("#") in buildClassMethodName()64 .append(elements[depth].getMethodName()); in buildClassMethodName()66 builder.append(":").append(elements[depth].getLineNumber()); in buildClassMethodName()
3 All elements in this package are shared between the Android codebase and7 of this package must not rely on Java or Android specific elements.
61 StackTraceElement[] elements = e.getStackTrace(); in updateWithException() local63 for (StackTraceElement element: elements) { in updateWithException()
11 * System elements not appearing (e.g., nav and status bar or split screen divider)