Searched refs:getCaller (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
H A DAssert.java205 // Assert methods delegate to this one (see javadoc on getCaller() for details).
206 StackTraceElement caller = DebugUtils.getCaller(2);
H A DDebugUtils.java373 StackTraceElement caller = getCaller(1);
388 * go. For example, if foo() calls bar(), and bar() calls getCaller(0), it returns info about
389 * bar(). If bar() instead called getCaller(1), it would return info about foo(). And so on.
397 public static StackTraceElement getCaller(int depth) { method in class:DebugUtils
410 if ("getCaller".equals(methodName)) {

Completed in 160 milliseconds