AdbStopServerPreparer

public class AdbStopServerPreparer
extends BaseTargetPreparer

java.lang.ऑब्जेक्ट
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.adb.AdbStopServerPreparer


एडीबी परीक्षण चलाने से पहले और बाद में होस्ट पर एडीबी सर्वर को रोकने के लिए लक्ष्य तैयारकर्ता।

इस प्रिपेयरर का उपयोग सावधानी से किया जाना चाहिए क्योंकि यह मेजबानों पर एडीबी को रोकता है और पुनः आरंभ करता है। अन्य परीक्षणों को एक ही समय में चलने से रोकने के लिए इसे आमतौर पर SemaphoreTokenTargetPreparer के साथ कड़ा होना चाहिए।

सारांश

खेत

public static final String ADB_BINARY_KEY

सार्वजनिक निर्माणकर्ता

AdbStopServerPreparer ()

सार्वजनिक तरीके

void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

संरक्षित तरीके

File findAdbLog ()

खेत

ADB_BINARY_KEY

public static final String ADB_BINARY_KEY

सार्वजनिक निर्माणकर्ता

AdbStopServerPreparer

public AdbStopServerPreparer ()

सार्वजनिक तरीके

स्थापित करना

public void setUp (TestInformation testInfo)

पैरामीटर
testInfo TestInformation

फेंकता
BuildError
DeviceNotAvailableException
TargetSetupError

चीथड़े कर दो

public void tearDown (TestInformation testInfo, 
                Throwable e)

पैरामीटर
testInfo TestInformation

e Throwable

फेंकता
DeviceNotAvailableException

संरक्षित तरीके

adbलॉग ढूंढें

protected File findAdbLog ()

रिटर्न
File