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<ITestDeviceFreeDeviceState> map)

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

void invocationInitiated(IInvocationContext context)

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

void releaseDevices(IInvocationContext context, Map<ITestDeviceFreeDeviceState> devicesStates)

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

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

DeviceReleaseReporter

public DeviceReleaseReporter ()

パブリック メソッド

invocationComplete

public void invocationComplete (IInvocationContext iInvocationContext, 
                Map<ITestDeviceFreeDeviceState> map)

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

invocationInitiated

public void invocationInitiated (IInvocationContext context)

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

releaseDevices

public void releaseDevices (IInvocationContext context, 
                Map<ITestDeviceFreeDeviceState> devicesStates)

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