SplitApkInstallerBase

public abstract class SplitApkInstallerBase
extends Object

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


Zusammenfassung

Felder

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Geschützte Konstruktoren

SplitApkInstallerBase(IDevice device, String options)

Geschützte Methoden

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)

Felder

UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

Geschützte Konstruktoren

SplitApkInstallerBase

protected SplitApkInstallerBase (IDevice device, 
                String options)

Parameter
device IDevice

options String

Geschützte Methoden

createMultiInstallSession

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

Parameter
options String

timeout long

unit TimeUnit

Returns
String

Ausgabe
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

Returns
IDevice

getOptions

protected static String getOptions (boolean reInstall, 
                 installOptions)

Parameter
reInstall boolean

installOptions

Returns
String

getOptions

protected String getOptions ()

Returns
String

getOptions

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

Parameter
reInstall boolean

partialInstall boolean

applicationId String

installOptions

Returns
String

getPrefix

protected String getPrefix ()

Returns
String

installAbandon

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

Parameter
sessionId String

timeout long

unit TimeUnit

Ausgabe
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

Parameter
sessionId String

timeout long

unit TimeUnit

Ausgabe
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException