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()
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)

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

Gibt Folgendes zurück:
String

Löst aus
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

Gibt Folgendes zurück:
IDevice

getOptions

protected String getOptions ()

Gibt Folgendes zurück:
String

getOptions

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

Parameter
reInstall boolean

installOptions List

Gibt Folgendes zurück:
String

getOptions

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

Parameter
reInstall boolean

partialInstall boolean

applicationId String

installOptions List

Gibt Folgendes zurück:
String

getPrefix

protected String getPrefix ()

Gibt Folgendes zurück:
String

installAbandon

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

Parameter
sessionId String

timeout long

unit TimeUnit

Löst aus
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

Parameter
sessionId String

timeout long

unit TimeUnit

Löst aus
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException