DeviceReleaseReporter
public
final
class
DeviceReleaseReporter
extends Object
implements
ICommandScheduler.IScheduledInvocationListener
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceReleaseReporter |
Trình báo cáo phát hành thiết bị xử lý việc giao tiếp với quy trình mẹ của(các) thiết bị sẽ được phát hành.
Tóm tắt
Hàm khởi tạo công khai | |
|---|---|
DeviceReleaseReporter()
|
|
Phương thức công khai | |
|---|---|
void
|
invocationComplete(IInvocationContext iInvocationContext, Map<ITestDevice, FreeDeviceState> map)
Lệnh gọi lại khi toàn bộ lệnh gọi đã hoàn tất, bao gồm tất cả sự kiện |
void
|
invocationInitiated(IInvocationContext context)
Lệnh gọi lại khi một lệnh gọi được khởi chạy. |
void
|
releaseDevices(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Lệnh gọi lại được liên kết với |
Hàm khởi tạo công khai
DeviceReleaseReporter
public DeviceReleaseReporter ()
Phương thức công khai
invocationComplete
public void invocationComplete (IInvocationContext iInvocationContext, Map<ITestDevice, FreeDeviceState> map)
Lệnh gọi lại khi toàn bộ lệnh gọi đã hoàn tất, bao gồm tất cả sự kiện ITestInvocationListener.invocationEnded(long).
invocationInitiated
public void invocationInitiated (IInvocationContext context)
Lệnh gọi lại khi một lệnh gọi được khởi chạy. Lệnh này được gọi trước khi tìm nạp bản dựng.
releaseDevices
public void releaseDevices (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Lệnh gọi lại được liên kết với ICommandOptions.earlyDeviceRelease() để phát hành
thiết bị khi bạn dùng xong.