DeviceReleaseReporter

public final class DeviceReleaseReporter
extends Object implements ICommandScheduler.IScheduledInvocationListener

java.lang.Object
com.android.tradefed.device.internal.DeviceReleaseReporter


解放するデバイスの親プロセスとの通信を処理するデバイス リリース レポーター。

まとめ

パブリック コンストラクター

DeviceReleaseReporter ()

公開メソッド

void invocationComplete ( IInvocationContext iInvocationContext, map) invocationComplete ( IInvocationContext iInvocationContext, map)

すべてのITestInvocationListener.invocationEnded(long)イベントを含む呼び出し全体が完了したときのコールバック。

void invocationInitiated ( IInvocationContext context)

呼び出しが開始されたときのコールバック。

void releaseDevices ( IInvocationContext context, devicesStates) releaseDevices ( IInvocationContext context, devicesStates)

ICommandOptions#earlyDeviceRelease()に関連付けられたコールバックで、デバイスの使用が終了したときにデバイスを解放します。

パブリック コンストラクター

DeviceReleaseReporter

public DeviceReleaseReporter ()

公開メソッド

呼び出し完了

public void invocationComplete (IInvocationContext iInvocationContext, 
                 map)

すべてのITestInvocationListener.invocationEnded(long)イベントを含む呼び出し全体が完了したときのコールバック。

呼び出しが開始されました

public void invocationInitiated (IInvocationContext context)

呼び出しが開始されたときのコールバック。これは、ビルドがフェッチされる前に呼び出されます。

リリースデバイス

public void releaseDevices (IInvocationContext context, 
                 devicesStates)

ICommandOptions#earlyDeviceRelease()に関連付けられたコールバックで、デバイスの使用が終了したときにデバイスを解放します。