SettingsBaselineSetter
public
class
SettingsBaselineSetter
extends DeviceBaselineSetter
java.lang.Object | ||
↳ | com.android.tradefed.suite.checker.baseline.DeviceBaselineSetter | |
↳ | com.android.tradefed.suite.checker.baseline.SettingsBaselineSetter |
A common setter to handle device baseline settings via ITestDevice.setSetting.
Summary
Public constructors | |
---|---|
SettingsBaselineSetter(JSONObject object, String name)
|
Public methods | |
---|---|
boolean
|
setBaseline(ITestDevice mDevice)
Sets the baseline setting for the device. |
Public constructors
SettingsBaselineSetter
public SettingsBaselineSetter (JSONObject object, String name)
Parameters | |
---|---|
object |
JSONObject |
name |
String |
Throws | |
---|---|
JSONException |
Public methods
setBaseline
public boolean setBaseline (ITestDevice mDevice)
Sets the baseline setting for the device.
Parameters | |
---|---|
mDevice |
ITestDevice |
Returns | |
---|---|
boolean |
Throws | |
---|---|
DeviceNotAvailableException |