Searched refs:stackFrames (Results 1 – 7 of 7) sorted by relevance
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | PortableThreadSampler.java | 34 StackTraceElement[] stackFrames = thread.getStackTrace(); in getStackTrace() local 35 if (stackFrames.length == 0) { in getStackTrace() 38 if (stackFrames.length > depth) { in getStackTrace() 39 stackFrames = Arrays.copyOfRange(stackFrames, 0, depth); in getStackTrace() 41 return stackFrames; in getStackTrace()
|
D | HprofData.java | 142 StackTraceElement[] stackFrames; field in HprofData.StackTrace 148 public StackTrace(int stackTraceId, int threadId, StackTraceElement[] stackFrames) { in StackTrace() argument 149 if (stackFrames == null) { in StackTrace() 154 this.stackFrames = stackFrames; in StackTrace() 162 return stackFrames; in getStackFrames() 168 result = 31 * result + Arrays.hashCode(stackFrames); in hashCode() 177 return threadId == s.threadId && Arrays.equals(stackFrames, s.stackFrames); in equals() 182 if (stackFrames.length > 0) { in toString() 184 for (StackTraceElement stackFrame : stackFrames) { in toString()
|
D | SamplingProfiler.java | 382 StackTraceElement[] stackFrames = threadSampler.getStackTrace(thread); in run() local 383 if (stackFrames == null) { in run() 386 recordStackTrace(thread, stackFrames); in run() 394 private void recordStackTrace(Thread thread, StackTraceElement[] stackFrames) { in recordStackTrace() argument 400 mutableStackTrace.stackFrames = stackFrames; in recordStackTrace() 406 StackTraceElement[] stackFramesCopy = stackFrames.clone(); in recordStackTrace()
|
D | AsciiHprofWriter.java | 65 for (StackTraceElement e : stackTrace.stackFrames) { in write() 86 stackTrace.stackFrames[0].getClassName(), in write() 87 stackTrace.stackFrames[0].getMethodName()); in write()
|
D | BinaryHprofWriter.java | 193 int frames = stackTrace.stackFrames.length; in writeStackTrace() 196 stackFrameIds[i] = writeStackFrame(stackTrace.stackFrames[i]); in writeStackTrace()
|
D | BinaryHprofReader.java | 390 StackTraceElement[] stackFrames = new StackTraceElement[frames]; in parseStackTrace() local 401 stackFrames[i] = stackFrame; in parseStackTrace() 405 = new HprofData.StackTrace(stackTraceId, threadId, stackFrames); in parseStackTrace()
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
D | SamplingProfilerTest.java | 167 StackTraceElement[] stackFrames = new Throwable().getStackTrace(); in test_HprofData_addStackTrace() local 169 StackTrace stackTrace = new StackTrace(stackTraceId, threadId, stackFrames); in test_HprofData_addStackTrace()
|