DeviceReleaseReporter
public
final
class
DeviceReleaseReporter
extends Object
implements
ICommandScheduler.IScheduledInvocationListener
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceReleaseReporter |
Gerätefreigabe-Reporter, der die Kommunikation mit dem übergeordneten Prozess für die freizugebenden Geräte übernimmt.
Zusammenfassung
Öffentliche Konstruktoren | |
|---|---|
DeviceReleaseReporter()
|
|
Öffentliche Methoden | |
|---|---|
void
|
invocationComplete(IInvocationContext iInvocationContext, Map<ITestDevice, FreeDeviceState> map)
Callback, wenn der gesamte Aufruf abgeschlossen ist, einschließlich aller |
void
|
invocationInitiated(IInvocationContext context)
Callback, wenn ein Aufruf initiiert wird. |
void
|
releaseDevices(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Rückruf, der mit |
Öffentliche Konstruktoren
DeviceReleaseReporter
public DeviceReleaseReporter ()
Öffentliche Methoden
invocationComplete
public void invocationComplete (IInvocationContext iInvocationContext, Map<ITestDevice, FreeDeviceState> map)
Callback, wenn der gesamte Aufruf abgeschlossen ist, einschließlich aller ITestInvocationListener.invocationEnded(long)-Ereignisse.
invocationInitiated
public void invocationInitiated (IInvocationContext context)
Callback, wenn ein Aufruf initiiert wird. Diese Methode wird aufgerufen, bevor Builds abgerufen werden.
releaseDevices
public void releaseDevices (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Rückruf, der mit ICommandOptions.earlyDeviceRelease() verknüpft ist, um die Geräte freizugeben, wenn sie nicht mehr benötigt werden.