デバイス所有者ターゲット準備者
public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
java.lang.オブジェクト | ||
↳ | 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) |
パブリックコンストラクター
デバイス所有者ターゲット準備者
public DeviceOwnerTargetPreparer ()
パブリックメソッド
set構成
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 |