NativePocMallocDebugAsserter
public
class
NativePocMallocDebugAsserter
extends Object
implements
NativePocAsserter
java.lang.Object | |
↳ | com.android.sts.common.NativePocMallocDebugAsserter |
खास जानकारी
सार्वजनिक तरीके | |
---|---|
static
NativePocAsserter
|
assertNoMallocDebugErrorOnPoc(String options)
यह ऐसा NativePocAsserter देता है, जो पीओसी में libc मैलक डीबग को जोड़ता है और किसी पीओसी चलने के दौरान, मैलक डीबग की गड़बड़ी हुई. |
static
NativePocAsserter
|
assertNoMallocDebugErrorOnService(String options, String service)
एक ऐसा NativePocAsserter देता है, जो किसी पीओसी और पीओसी चलने के दौरान, यह सेवा किसी मैलक डीबग की गड़बड़ी की जांच करती है. |
AutoCloseable
|
withAutoCloseable(NativePoc nativePoc, ITestDevice device)
POC के चलने से पहले कॉल किया जाता है और पीओसी खत्म होने के बाद बंद होने वाला ऑटो-क्लोज़ेबल दिखाता है |
सार्वजनिक तरीके
AssetNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
यह ऐसा NativePocAsserter देता है, जो पीओसी में libc मैलक डीबग को जोड़ता है और किसी पीओसी चलने के दौरान, मैलक डीबग की गड़बड़ी हुई.
पैरामीटर | |
---|---|
options |
String |
रिटर्न | |
---|---|
NativePocAsserter |
{/7}NoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options, String service)
एक ऐसा NativePocAsserter देता है, जो किसी पीओसी और पीओसी चलने के दौरान, यह सेवा किसी मैलक डीबग की गड़बड़ी की जांच करती है.
पैरामीटर | |
---|---|
options |
String |
service |
String |
रिटर्न | |
---|---|
NativePocAsserter |
अपने-आप बंद होने की सुविधा के साथ
public AutoCloseable withAutoCloseable (NativePoc nativePoc, ITestDevice device)
POC के चलने से पहले कॉल किया जाता है और पीओसी खत्म होने के बाद बंद होने वाला ऑटो-क्लोज़ेबल दिखाता है
पैरामीटर | |
---|---|
nativePoc |
NativePoc |
device |
ITestDevice |
रिटर्न | |
---|---|
AutoCloseable |
थ्रो | |
---|---|
DeviceNotAvailableException |
|
TimeoutException |
|
ProcessUtil.KillException |