DeviceOwnerTargetPreparer
public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DeviceOwnerTargetPreparer |
デバイス オーナー コンポーネントを設定するITargetPreparer
。
新しいデバイス所有者が設定される前に、既存のデバイスおよびプロファイルの所有者とセカンダリ ユーザーが削除されます。
ティアダウンでは、デバイスの所有者が削除されます。
まとめ
パブリック コンストラクター | |
---|---|
DeviceOwnerTargetPreparer () |
公開メソッド | |
---|---|
void | setConfiguration ( IConfiguration configuration) 使用中の |
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e) |
パブリック コンストラクター
DeviceOwnerTargetPreparer
public DeviceOwnerTargetPreparer ()
公開メソッド
setConfiguration
public void setConfiguration (IConfiguration configuration)
使用中のIConfiguration
を挿入します。
パラメーター | |
---|---|
configuration | IConfiguration |
設定
public void setUp (TestInformation testInfo)
パラメーター | |
---|---|
testInfo | TestInformation |
スロー | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |
取り壊す
public void tearDown (TestInformation testInfo, Throwable e)
パラメーター | |
---|---|
testInfo | TestInformation |
e | Throwable |
スロー | |
---|---|
DeviceNotAvailableException |