푸시파일 준비자

public class PushFilePreparer
extends BaseTargetPreparer implements IAbiReceiver , IInvocationContextReceiver , IDiscoverDependencies

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.PushFilePreparer


모든 호스트 경로에서 모든 장치 경로로 원하는 수의 파일을 푸시하려고 시도하는 ITargetPreparer 입니다.

새 빌드가 플래시되고 *이후* DeviceSetup이 실행된 *후*에 수행되어야 합니다(활성화된 경우)

요약

공개 생성자

PushFilePreparer ()

공개 메소드

IAbi getAbi ()

final getPushSpecs ( ITestDevice device)

푸시할 파일 목록을 만듭니다.

boolean isCleanUpEnabled ()
reportDependencies ()
File resolveRelativeFilePath ( IBuildInfo buildInfo, String fileName)

IBuildInfo 및 테스트 사례 디렉터리를 통해 상대 파일 경로를 확인합니다.

void setAbi ( IAbi abi)

void setInvocationContext ( IInvocationContext invocationContext)

void setUp ( TestInformation testInfo)

boolean shouldAbortOnFailure ()

푸시 실패 시 중단할지 여부입니다.

boolean shouldRemountSystem ()
boolean shouldRemountVendor ()
void tearDown ( TestInformation testInfo, Throwable e)

공개 생성자

푸시파일 준비자

public PushFilePreparer ()

공개 메소드

getAbi

public IAbi getAbi ()

보고
IAbi

getPushSpecs

public final  getPushSpecs (ITestDevice device)

푸시할 파일 목록을 만듭니다.

매개변수
device ITestDevice

보고

던지기
TargetSetupError

isCleanUpEnabled

public boolean isCleanUpEnabled ()

보고
boolean

보고종속성

public  reportDependencies ()

보고

해결상대파일경로

public File resolveRelativeFilePath (IBuildInfo buildInfo, 
                String fileName)

IBuildInfo 및 테스트 사례 디렉터리를 통해 상대 파일 경로를 확인합니다.

매개변수
buildInfo IBuildInfo : 빌드 아티팩트 정보

fileName String : 확인할 상대 파일 경로

보고
File 빌드 정보 또는 테스트 케이스 디렉토리의 파일

setAbi

public void setAbi (IAbi abi)

매개변수
abi IAbi

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

매개변수
invocationContext IInvocationContext

설정

public void setUp (TestInformation testInfo)

매개변수
testInfo TestInformation

던지기
BuildError
DeviceNotAvailableException
TargetSetupError

실패 시 중단해야 함

public boolean shouldAbortOnFailure ()

푸시 실패 시 중단할지 여부입니다.

보고
boolean

시스템을 다시 마운트해야 함

public boolean shouldRemountSystem ()

보고
boolean

공급업체를 다시 마운트해야 합니다.

public boolean shouldRemountVendor ()

보고
boolean

분해

public void tearDown (TestInformation testInfo, 
                Throwable e)

매개변수
testInfo TestInformation

e Throwable

던지기
DeviceNotAvailableException