SplitApkInstallerBase

public abstract class SplitApkInstallerBase
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.server.SplitApkInstallerBase


요약

필드

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

보호된 생성자

SplitApkInstallerBase(IDevice device, String options)

보호된 메서드

String createMultiInstallSession(String options, long timeout, TimeUnit unit)
IDevice getDevice()
static String getOptions(boolean reInstall, installOptions)
String getOptions()
static String getOptions(boolean reInstall, boolean partialInstall, String applicationId, installOptions)
String getPrefix()
void installAbandon(String sessionId, long timeout, TimeUnit unit)
void installCommit(String sessionId, long timeout, TimeUnit unit)

필드

UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

보호된 생성자

SplitApkInstallerBase

protected SplitApkInstallerBase (IDevice device, 
                String options)

매개변수
device IDevice

options String

보호된 메서드

createMultiInstallSession

protected String createMultiInstallSession (String options, 
                long timeout, 
                TimeUnit unit)

매개변수
options String

timeout long

unit TimeUnit

반환 값
String

생성 값
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

반환 값
IDevice

getOptions

protected static String getOptions (boolean reInstall, 
                 installOptions)

매개변수
reInstall boolean

installOptions

반환 값
String

getOptions

protected String getOptions ()

반환 값
String

getOptions

protected static String getOptions (boolean reInstall, 
                boolean partialInstall, 
                String applicationId, 
                 installOptions)

매개변수
reInstall boolean

partialInstall boolean

applicationId String

installOptions

반환 값
String

getPrefix

protected String getPrefix ()

반환 값
String

installAbandon

protected void installAbandon (String sessionId, 
                long timeout, 
                TimeUnit unit)

매개변수
sessionId String

timeout long

unit TimeUnit

생성 값
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

protected void installCommit (String sessionId, 
                long timeout, 
                TimeUnit unit)

매개변수
sessionId String

timeout long

unit TimeUnit

생성 값
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException