ICommandScheduler.IScheduledInvocationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener


Trình nghe các sự kiện gọi khi lệnh gọi hoàn tất.

Bản tóm tắt

Phương pháp công khai

abstract void invocationComplete ( IInvocationContext context, devicesStates) invocationComplete ( IInvocationContext context, devicesStates)

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) .

default void invocationInitiated ( IInvocationContext context)

Gọi lại khi lệnh gọi được bắt đầu.

default 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.

Phương pháp công khai

lời mờiHoàn thành

public abstract void invocationComplete (IInvocationContext context, 
                 devicesStates)

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.