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

קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי ITestInvocationListener.invocationEnded(long).

void invocationInitiated(IInvocationContext context)

קריאה חוזרת כשמתחילה הפעלה.

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

פונקציית ה-Callback שמשויכת ל-ICommandOptions.earlyDeviceRelease() כדי לשחרר את המכשירים בסיום השימוש בהם.

‫constructors ציבוריים

DeviceReleaseReporter

public DeviceReleaseReporter ()

‫methods ציבוריים

invocationComplete

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

קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי ITestInvocationListener.invocationEnded(long).

invocationInitiated

public void invocationInitiated (IInvocationContext context)

קריאה חוזרת כשמתחילה הפעלה. הפונקציה הזו מופעלת לפני שליפת גרסאות build.

releaseDevices

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

פונקציית ה-Callback שמשויכת ל-ICommandOptions.earlyDeviceRelease() כדי לשחרר את המכשירים בסיום השימוש בהם.