|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.ddmlib.AllocationInfo
public class AllocationInfo
Holds an Allocation information.
| Nested Class Summary | |
|---|---|
static class |
AllocationInfo.AllocationSorter
|
static class |
AllocationInfo.SortMode
|
| Method Summary | |
|---|---|
boolean |
allocatedClassMatches(java.lang.String pattern,
java.util.Locale locale)
|
int |
compareTo(AllocationInfo otherAlloc)
|
boolean |
filter(java.lang.String filter,
boolean fullTrace,
java.util.Locale locale)
Returns true if the given filter matches case insensitively (according to the given locale) this allocation info. |
java.lang.String |
getAllocatedClass()
Returns the name of the allocated class. |
java.lang.String |
getAllocationSite()
|
int |
getAllocNumber()
Returns the allocation number. |
java.lang.String |
getFirstTraceClassName()
|
java.lang.String |
getFirstTraceMethodName()
|
java.util.List<java.lang.String> |
getMatchingStackFrames(java.lang.String filter,
boolean fullTrace,
java.util.Locale locale)
|
int |
getSize()
Returns the size of the allocation. |
java.lang.StackTraceElement[] |
getStackTrace()
Returns the stack trace. |
short |
getThreadId()
Returns the id of the thread that performed the allocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getAllocNumber()
public java.lang.String getAllocatedClass()
public int getSize()
public short getThreadId()
public java.lang.StackTraceElement[] getStackTrace()
IStackTraceInfonull.
getStackTrace in interface IStackTraceInfopublic int compareTo(AllocationInfo otherAlloc)
@Nullable public java.lang.String getAllocationSite()
public java.lang.String getFirstTraceClassName()
public java.lang.String getFirstTraceMethodName()
public boolean filter(java.lang.String filter,
boolean fullTrace,
java.util.Locale locale)
public boolean allocatedClassMatches(@NonNull
java.lang.String pattern,
@NonNull
java.util.Locale locale)
@NonNull
public java.util.List<java.lang.String> getMatchingStackFrames(@NonNull
java.lang.String filter,
boolean fullTrace,
@NonNull
java.util.Locale locale)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||