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ý giao tiếp với quy trình gốc (các) thiết bị sẽ được phát hành.

Bản tóm tắt

nhà thầu công cộng

DeviceReleaseReporter ()

Phương thức công khai

void invocationComplete ( IInvocationContext iInvocationContext, map) invocationComplete ( IInvocationContext iInvocationContext, map)

Gọi lại khi toàn bộ lệnh gọi đã hoàn thành, bao gồm tất cả các sự kiện ITestInvocationListener.invocationEnded(long) .

void invocationInitiated ( IInvocationContext context)

Gọi lại khi một lời gọi được bắt đầu.

void releaseDevices ( IInvocationContext context, devicesStates) releaseDevices ( IInvocationContext context, devicesStates)

Gọi lại được liên kết với ICommandOptions#earlyDeviceRelease() để giải phóng thiết bị khi thực hiện xong với chúng.

nhà thầu công cộng

DeviceReleaseReporter

public DeviceReleaseReporter ()

Phương thức công khai

lời gọiHoàn thành

public void invocationComplete (IInvocationContext iInvocationContext, 
                 map)

Gọi lại khi toàn bộ lệnh gọi đã hoàn thành, bao gồm tất cả các sự kiện ITestInvocationListener.invocationEnded(long) .

triệu tậpKhởi xướng

public void invocationInitiated (IInvocationContext context)

Gọi lại khi một lời gọi được bắt đầu. Điều này được gọi trước khi bất kỳ bản dựng nào được tìm nạp.

phát hànhThiết bị

public void releaseDevices (IInvocationContext context, 
                 devicesStates)

Gọi lại được liên kết với ICommandOptions#earlyDeviceRelease() để giải phóng thiết bị khi thực hiện xong với chúng.