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