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()
List<String> 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 List<String> getMatchingStackFrames (String filter, 
                boolean fullTrace, 
                Locale locale)

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

fullTrace boolean

locale Locale

การคืนสินค้า
List<String>

getSize

public int getSize ()

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

การคืนสินค้า
int

getStackTrace

public StackTraceElement[] getStackTrace ()

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

การคืนสินค้า
StackTraceElement[]

getThreadId

public short getThreadId ()

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

การคืนสินค้า
short