AllocationInfo

public class AllocationInfo
extends Object implements IStackTraceInfo

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


Bir tahsis bilgisi içerir.

Özet

İç içe yerleştirilmiş sınıflar

class AllocationInfo.AllocationSorter

 

Herkese açık yöntemler

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

Belirtilen filtrenin, büyük/küçük harfe duyarsız bir şekilde (belirtilen yerel ayara göre) bu tahsis bilgileriyle eşleşmesi durumunda doğru değerini döndürür.

int getAllocNumber()

Tahsis numarasını döndürür.

String getAllocatedClass()

Ayrılan sınıfın adını döndürür.

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

Ayırmanın boyutunu döndürür.

StackTraceElement[] getStackTrace()

Yığın izini döndürür.

short getThreadId()

Ayırmayı gerçekleştiren iş parçacığının kimliğini döndürür.

Herkese açık yöntemler

allocatedClassMatches

public boolean allocatedClassMatches (String pattern, 
                Locale locale)

Parametreler
pattern String

locale Locale

İlerlemeler
boolean

compareTo

public int compareTo (AllocationInfo otherAlloc)

Parametreler
otherAlloc AllocationInfo

İlerlemeler
int

filtre

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

Belirtilen filtrenin, büyük/küçük harfe duyarsız bir şekilde (belirtilen yerel ayara göre) bu tahsis bilgileriyle eşleşmesi durumunda doğru değerini döndürür.

Parametreler
filter String

fullTrace boolean

locale Locale

İlerlemeler
boolean

getAllocNumber

public int getAllocNumber ()

Tahsis numarasını döndürür. Tahsisler, gerçekleşme sırasına göre numaralandırılır. En son tahsis en yüksek numaraya sahiptir.

İlerlemeler
int

getAllocatedClass

public String getAllocatedClass ()

Ayrılan sınıfın adını döndürür.

İlerlemeler
String

getAllocationSite

public String getAllocationSite ()

İlerlemeler
String

getFirstTraceClassName

public String getFirstTraceClassName ()

İlerlemeler
String

getFirstTraceMethodName

public String getFirstTraceMethodName ()

İlerlemeler
String

getMatchingStackFrames

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

Parametreler
filter String

fullTrace boolean

locale Locale

İlerlemeler

getSize

public int getSize ()

Ayırmanın boyutunu döndürür.

İlerlemeler
int

getStackTrace

public StackTraceElement[] getStackTrace ()

Yığın izini döndürür. Bu işlem null.

İlerlemeler
StackTraceElement[]

getThreadId

public short getThreadId ()

Ayırmayı gerçekleştiren iş parçacığının kimliğini döndürür.

İlerlemeler
short