RestartSystemServerTargetPreparer
public
class
RestartSystemServerTargetPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RestartSystemServerTargetPreparer |
Target preparer that restarts the system server without rebooting the device.
Summary
Public constructors | |
---|---|
RestartSystemServerTargetPreparer()
|
Public methods | |
---|---|
void
|
setUp(TestInformation testInformation)
|
void
|
tearDown(TestInformation testInformation, Throwable e)
|
Public constructors
RestartSystemServerTargetPreparer
public RestartSystemServerTargetPreparer ()
Public methods
setUp
public void setUp (TestInformation testInformation)
Parameters | |
---|---|
testInformation |
TestInformation |
Throws | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInformation, Throwable e)
Parameters | |
---|---|
testInformation |
TestInformation |
e |
Throwable |
Throws | |
---|---|
DeviceNotAvailableException |