SplitApkInstallerBase

public abstract class SplitApkInstallerBase
extends Object

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


Podsumowanie

Fieldsem

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Konstruktory chronione

SplitApkInstallerBase(IDevice device, String options)

Metody chronione

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)

Fieldsem

UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Konstruktory chronione

SplitApkInstallerBase

protected SplitApkInstallerBase (IDevice device, 
                String options)

Parametry
device IDevice

options String

Metody chronione

createMultiInstallSession

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

Parametry
options String

timeout long

unit TimeUnit

Zwroty
String

Zgłasza
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

Zwroty
IDevice

getOptions

protected static String getOptions (boolean reInstall, 
                 installOptions)

Parametry
reInstall boolean

installOptions

Zwroty
String

getOptions

protected String getOptions ()

Zwroty
String

getOptions

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

Parametry
reInstall boolean

partialInstall boolean

applicationId String

installOptions

Zwroty
String

getPrefix

protected String getPrefix ()

Zwroty
String

installAbandon

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

Parametry
sessionId String

timeout long

unit TimeUnit

Zgłasza
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

Parametry
sessionId String

timeout long

unit TimeUnit

Zgłasza
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException