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