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<ITestDevice, FreeDeviceState> map)
整個叫用程序完成時的回呼,包括所有 |
void
|
invocationInitiated(IInvocationContext context)
啟動叫用時的回呼。 |
void
|
releaseDevices(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
與 |
公用建構函式
DeviceReleaseReporter
public DeviceReleaseReporter ()
公用方法
invocationComplete
public void invocationComplete (IInvocationContext iInvocationContext, Map<ITestDevice, FreeDeviceState> map)
整個叫用程序完成時的回呼,包括所有 ITestInvocationListener.invocationEnded(long) 事件。
invocationInitiated
public void invocationInitiated (IInvocationContext context)
啟動呼叫時的回呼。系統會在擷取任何建構作業前呼叫這個方法。
releaseDevices
public void releaseDevices (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
與 ICommandOptions.earlyDeviceRelease() 相關聯的回呼,可在裝置使用完畢後釋放裝置。