SplitApkInstallerBase

public abstract class SplitApkInstallerBase
extends Object

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


סיכום

שדות

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

‫constructors מוגנים

SplitApkInstallerBase(IDevice device, String options)

שיטות מוגנות

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)

שדות

UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS

‫constructors מוגנים

SplitApkInstallerBase

protected SplitApkInstallerBase (IDevice device, 
                String options)

פרמטרים
device IDevice

options String

שיטות מוגנות

createMultiInstallSession

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

פרמטרים
options String

timeout long

unit TimeUnit

החזרות
String

זריקות
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

החזרות
IDevice

getOptions

protected static String getOptions (boolean reInstall, 
                 installOptions)

פרמטרים
reInstall boolean

installOptions

החזרות
String

getOptions

protected String getOptions ()

החזרות
String

getOptions

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

פרמטרים
reInstall boolean

partialInstall boolean

applicationId String

installOptions

החזרות
String

getPrefix

protected String getPrefix ()

החזרות
String

installAbandon

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

פרמטרים
sessionId String

timeout long

unit TimeUnit

זריקות
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

פרמטרים
sessionId String

timeout long

unit TimeUnit

זריקות
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException