デバイスリリースレポーター
public final class DeviceReleaseReporter
extends Object
implements ICommandScheduler.IScheduledInvocationListener
java.lang.オブジェクト | |
↳ | com.android.tradefed.device.internal.DeviceReleaseReporter |
解放されるデバイスの親プロセスとの通信を処理するデバイス解放レポーター。
まとめ
パブリックコンストラクター | |
---|---|
DeviceReleaseReporter () |
パブリックメソッド | |
---|---|
void | invocationComplete ( IInvocationContext iInvocationContext, map) invocationComplete ( IInvocationContext iInvocationContext, map) すべての |
void | invocationInitiated ( IInvocationContext context) 呼び出しが開始されたときのコールバック。 |
void | releaseDevices ( IInvocationContext context, devicesStates) releaseDevices ( IInvocationContext context, devicesStates) |
パブリックコンストラクター
デバイスリリースレポーター
public DeviceReleaseReporter ()
パブリックメソッド
呼び出し完了
public void invocationComplete (IInvocationContext iInvocationContext,map)
すべてのITestInvocationListener.invocationEnded(long)
イベントを含む、呼び出し全体が完了したときのコールバック。
呼び出しが開始されました
public void invocationInitiated (IInvocationContext context)
呼び出しが開始されたときのコールバック。これは、ビルドがフェッチされる前に呼び出されます。
releaseDevices
public void releaseDevices (IInvocationContext context,devicesStates)
ICommandOptions#earlyDeviceRelease()
に関連付けられたコールバックで、デバイスの使用が完了したらデバイスを解放します。