DeviceReleaseReporter
public
final
class
DeviceReleaseReporter
extends Object
implements
ICommandScheduler.IScheduledInvocationListener
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceReleaseReporter |
כלי לדיווח על שחרור מכשירים שמטפל בתקשורת עם תהליך האב של המכשירים שצריך לשחרר.
סיכום
constructors ציבוריים | |
|---|---|
DeviceReleaseReporter()
|
|
methods ציבוריים | |
|---|---|
void
|
invocationComplete(IInvocationContext iInvocationContext, Map<ITestDevice, FreeDeviceState> map)
קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי |
void
|
invocationInitiated(IInvocationContext context)
קריאה חוזרת כשמתחילה הפעלה. |
void
|
releaseDevices(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
פונקציית ה-Callback שמשויכת ל- |
constructors ציבוריים
DeviceReleaseReporter
public DeviceReleaseReporter ()
methods ציבוריים
invocationComplete
public void invocationComplete (IInvocationContext iInvocationContext, Map<ITestDevice, FreeDeviceState> map)
קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי ITestInvocationListener.invocationEnded(long).
invocationInitiated
public void invocationInitiated (IInvocationContext context)
קריאה חוזרת כשמתחילה הפעלה. הפונקציה הזו מופעלת לפני שליפת גרסאות build.
releaseDevices
public void releaseDevices (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
פונקציית ה-Callback שמשויכת ל-ICommandOptions.earlyDeviceRelease() כדי לשחרר את המכשירים בסיום השימוש בהם.