SplitApkInstallerBase

public abstract class SplitApkInstallerBase
extends Object

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


Résumé

Champs

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Constructeurs protégés

SplitApkInstallerBase(IDevice device, String options)

Méthodes protégées

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)

Champs

UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Constructeurs protégés

SplitApkInstallerBase

protected SplitApkInstallerBase (IDevice device, 
                String options)

Paramètres
device IDevice

options String

Méthodes protégées

createMultiInstallSession

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

Paramètres
options String

timeout long

unit TimeUnit

Renvoie
String

Génère
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

Renvoie
IDevice

getOptions

protected static String getOptions (boolean reInstall, 
                 installOptions)

Paramètres
reInstall boolean

installOptions

Renvoie
String

getOptions

protected String getOptions ()

Renvoie
String

getOptions

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

Paramètres
reInstall boolean

partialInstall boolean

applicationId String

installOptions

Renvoie
String

getPrefix

protected String getPrefix ()

Renvoie
String

installAbandon

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

Paramètres
sessionId String

timeout long

unit TimeUnit

Génère
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

Paramètres
sessionId String

timeout long

unit TimeUnit

Génère
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException