android 沙盒 开源,沙盒选项  |  Android 开源项目  |  Android Open Source Project

SandboxOptions

public

final

class

SandboxOptions

extends Objectjava.lang.Object

com.android.tradefed.sandbox.SandboxOptions

Class that can receive and provide options to a

Summary

Fields

public

static

final

String

public

static

final

String

public

static

final

String

public

static

final

String

public

static

final

String

public

static

final

String

public

static

final

String

public

static

final

String

public

static

final

String

Public constructors

Public methods

String

Returns the configuration to be used for the child sandbox.

The map of environment variable to pass to the java process of the sandbox.

String

Returns the branch from which to download the sandbox extras.

String

Returns the build-id from which to download the sandbox extras.

The list of options to pass the java process of the sandbox.

String

Returns the configuration which preparer should run in the parent process of the sandbox.

String

Returns the build-id forced for the sandbox to be used during the run.

File

Returns the provided directories containing the Trade Federation version to use for

sandboxing the run.

long

Returns the time we should wait for events to be processed after the sandbox is done running.

boolean

Enable a debug thread.

boolean

Returns whether or not protobuf reporting should be used.

Fields

CHILD_GLOBAL_CONFIG

public static final String CHILD_GLOBAL_CONFIG

ENABLE_DEBUG_THREAD

public static final String ENABLE_DEBUG_THREAD

EXTRA_BRANCH_TARGET

public static final String EXTRA_BRANCH_TARGET

EXTRA_BUILD_ID_TARGET

public static final String EXTRA_BUILD_ID_TARGET

PARENT_PREPARER_CONFIG

public static final String PARENT_PREPARER_CONFIG

SANDBOX_BUILD_ID

public static final String SANDBOX_BUILD_ID

TF_LOCATION

public static final String TF_LOCATION

USE_PROTO_REPORTER

public static final String USE_PROTO_REPORTER

WAIT_FOR_EVENTS_TIMEOUT

public static final String WAIT_FOR_EVENTS_TIMEOUT

Public constructors

SandboxOptions

public SandboxOptions ()

Public methods

getChildGlobalConfig

public String getChildGlobalConfig ()

Returns the configuration to be used for the child sandbox. Or null if the parent one should

be used.

Returns

String

getEnvVariables

public getEnvVariables ()

The map of environment variable to pass to the java process of the sandbox.

Returns

getExtraBranchTarget

public String getExtraBranchTarget ()

Returns the branch from which to download the sandbox extras. If null, extras will be

downloaded from the branch under tests.

Returns

String

getExtraBuildIdTarget

public String getExtraBuildIdTarget ()

Returns the build-id from which to download the sandbox extras. If null, extras will be

downloaded from the build-id under tests.

Returns

String

getJavaOptions

public getJavaOptions ()

The list of options to pass the java process of the sandbox.

Returns

getParentPreparerConfig

public String getParentPreparerConfig ()

Returns the configuration which preparer should run in the parent process of the sandbox.

Returns

String

getSandboxBuildId

public String getSandboxBuildId ()

Returns the build-id forced for the sandbox to be used during the run.

Returns

String

getSandboxTfDirectory

public File getSandboxTfDirectory ()

Returns the provided directories containing the Trade Federation version to use for

sandboxing the run.

Returns

File

getWaitForEventsTimeout

public long getWaitForEventsTimeout ()

Returns the time we should wait for events to be processed after the sandbox is done running.

Returns

long

shouldEnableDebugThread

public boolean shouldEnableDebugThread ()

Enable a debug thread.

Returns

boolean

shouldUseProtoReporter

public boolean shouldUseProtoReporter ()

Returns whether or not protobuf reporting should be used.

Returns

boolean

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值