CommandBaselineSetter

public class CommandBaselineSetter
extends DeviceBaselineSetter

java.lang.Object
   ↳ com.android.tradefed.suite.checker.baseline.DeviceBaselineSetter
     ↳ com.android.tradefed.suite.checker.baseline.CommandBaselineSetter


A common setter to handle device baseline settings via adb shell commands.

Summary

Public constructors

CommandBaselineSetter(JSONObject object, String name)

Public methods

boolean setBaseline(ITestDevice mDevice)

Sets the baseline setting for the device.

Public constructors

CommandBaselineSetter

public CommandBaselineSetter (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