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