AllocationInfo

public class AllocationInfo
extends Object implements IStackTraceInfo

java.lang.Object
   ↳ com.android.tradefed.device.server.AllocationInfo


มีข้อมูลการจัดสรร

สรุป

คลาสเรียนที่ซ้อนกัน

class AllocationInfo.AllocationSorter

 

เมธอดสาธารณะ

boolean allocatedClassMatches(String pattern, Locale locale)
int compareTo(AllocationInfo otherAlloc)
boolean filter(String filter, boolean fullTrace, Locale locale)

แสดงผลเป็นจริงหากตัวกรองที่ระบุตรงกันโดยไม่คำนึงถึงตัวพิมพ์เล็กและตัวพิมพ์ใหญ่ (ตามภาษาที่ระบุ) ข้อมูลการจัดสรรนี้

int getAllocNumber()

แสดงผลหมายเลขการจัดสรร

String getAllocatedClass()

แสดงผลชื่อของคลาสที่จัดสรร

String getAllocationSite()
String getFirstTraceClassName()
String getFirstTraceMethodName()
getMatchingStackFrames(String filter, boolean fullTrace, Locale locale)
int getSize()

แสดงผลขนาดของการจัดสรร

StackTraceElement[] getStackTrace()

แสดงผลสแต็กเทรซ

short getThreadId()

แสดงผลรหัสของเธรดที่ทำการจัดสรร

เมธอดสาธารณะ

allocatedClassMatches

public boolean allocatedClassMatches (String pattern, 
                Locale locale)

พารามิเตอร์
pattern String

locale Locale

คิกรีเทิร์น
boolean

compareTo

public int compareTo (AllocationInfo otherAlloc)

พารามิเตอร์
otherAlloc AllocationInfo

คิกรีเทิร์น
int

ตัวกรอง

public boolean filter (String filter, 
                boolean fullTrace, 
                Locale locale)

แสดงผลเป็นจริงหากตัวกรองที่ระบุตรงกันโดยไม่คำนึงถึงตัวพิมพ์เล็กและตัวพิมพ์ใหญ่ (ตามภาษาที่ระบุ) ข้อมูลการจัดสรรนี้

พารามิเตอร์
filter String

fullTrace boolean

locale Locale

คิกรีเทิร์น
boolean

getAllocNumber

public int getAllocNumber ()

แสดงผลหมายเลขการจัดสรร การจัดสรรจะมีหมายเลขตามลำดับ โดยการจัดสรรล่าสุดจะมีหมายเลขสูงสุด

คิกรีเทิร์น
int

getAllocatedClass

public String getAllocatedClass ()

แสดงผลชื่อของคลาสที่จัดสรร

คิกรีเทิร์น
String

getAllocationSite

public String getAllocationSite ()

คิกรีเทิร์น
String

getFirstTraceClassName

public String getFirstTraceClassName ()

คิกรีเทิร์น
String

getFirstTraceMethodName

public String getFirstTraceMethodName ()

คิกรีเทิร์น
String

getMatchingStackFrames

public  getMatchingStackFrames (String filter, 
                boolean fullTrace, 
                Locale locale)

พารามิเตอร์
filter String

fullTrace boolean

locale Locale

คิกรีเทิร์น

getSize

public int getSize ()

แสดงผลขนาดของการจัดสรร

คิกรีเทิร์น
int

getStackTrace

public StackTraceElement[] getStackTrace ()

แสดงผลสแต็กเทรซ ซึ่งอาจเป็นnull

คิกรีเทิร์น
StackTraceElement[]

getThreadId

public short getThreadId ()

แสดงผลรหัสของเธรดที่ทำการจัดสรร

คิกรีเทิร์น
short