SplitApkInstallerBase

public abstract class SplitApkInstallerBase
extends Object

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


Riepilogo

Campi

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Scuderie protette

SplitApkInstallerBase(IDevice device, String options)

Metodi protetti

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

Campi

UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Scuderie protette

SplitApkInstallerBase

protected SplitApkInstallerBase (IDevice device, 
                String options)

Parametri
device IDevice

options String

Metodi protetti

createMultiInstallSession

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

Parametri
options String

timeout long

unit TimeUnit

Resi
String

Genera
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

Resi
IDevice

getOptions

protected String getOptions ()

Resi
String

getOptions

protected static String getOptions (boolean reInstall, 
                List<String> installOptions)

Parametri
reInstall boolean

installOptions List

Resi
String

getOptions

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

Parametri
reInstall boolean

partialInstall boolean

applicationId String

installOptions List

Resi
String

getPrefix

protected String getPrefix ()

Resi
String

installAbandon

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

Parametri
sessionId String

timeout long

unit TimeUnit

Genera
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

Parametri
sessionId String

timeout long

unit TimeUnit

Genera
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException