नेटिवपोकमैलोकडीबगएसरटर
public class NativePocMallocDebugAsserter
एक्सटेंड extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocMallocDebugAsserter |
सारांश
सार्वजनिक तरीके |
---|
static NativePocAsserter | assertNoMallocDebugErrorOnPoc (String options) एक NativePocAsserter लौटाता है जो PoC के लिए libc malloc डीबग को जोड़ता है और poc चलने के दौरान किसी भी malloc डीबग त्रुटि की जाँच करता है। |
static NativePocAsserter | assertNoMallocDebugErrorOnService (String options, String service) एक NativePocAsserter लौटाता है जो PoC को चलाने से पहले libc malloc डीबग को किसी सेवा से जोड़ता है और उस सेवा पर किसी भी malloc डीबग त्रुटि की जाँच करता है, जबकि poc चलता है। |
AutoCloseable | withAutoCloseable ( NativePoc nativePoc, ITestDevice device) PoC के चलने से पहले कॉल किया जाता है, एक AutoCloseable देता है जो PoC के खत्म होने के बाद बंद हो जाता है |
सार्वजनिक तरीके
AssertNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
एक NativePocAsserter लौटाता है जो PoC के लिए libc malloc डीबग को जोड़ता है और poc चलने के दौरान किसी भी malloc डीबग त्रुटि की जाँच करता है।
AssertNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
एक NativePocAsserter लौटाता है जो PoC को चलाने से पहले libc malloc डीबग को किसी सेवा से जोड़ता है और उस सेवा पर किसी भी malloc डीबग त्रुटि की जाँच करता है, जबकि poc चलता है।
मापदंडों |
---|
options | String |
service | String |
ऑटो क्लोजेबल के साथ
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
PoC के चलने से पहले कॉल किया जाता है, एक AutoCloseable देता है जो PoC के खत्म होने के बाद बंद हो जाता है
मापदंडों |
---|
nativePoc | NativePoc |
device | ITestDevice |