Trình báo cáo phát hành thiết bị

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 thiết bị gốc xử lý (các) thiết bị sẽ được phát hành.

Bản tóm tắt

Nhà thầu xây dựng công cộng

DeviceReleaseReporter ()

Phương pháp 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 tất, bao gồm tất cả các sự kiện ITestInvocationListener.invocationEnded(long) .

void invocationInitiated ( IInvocationContext context)

Gọi lại khi lệnh 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 xây dựng công cộng

Trình báo cáo phát hành thiết bị

public DeviceReleaseReporter ()

Phương pháp công khai

lời mờiHoàn thành

public void invocationComplete (IInvocationContext iInvocationContext, 
                 map)

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

lời mời được bắt đầu

public void invocationInitiated (IInvocationContext context)

Gọi lại khi lệnh 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.

thiết bị phát hành

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.