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

שדות

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

הקפצת הודעות שגיאה (throw)
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException

getDevice

protected IDevice getDevice ()

החזרות
IDevice

getOptions

protected String getOptions ()

החזרות
String

getOptions

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

פרמטרים
reInstall boolean

installOptions List

החזרות
String

getOptions

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

פרמטרים
reInstall boolean

partialInstall boolean

applicationId String

installOptions List

החזרות
String

getPrefix

protected String getPrefix ()

החזרות
String

installAbandon

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

פרמטרים
sessionId String

timeout long

unit TimeUnit

הקפצת הודעות שגיאה (throw)
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

פרמטרים
sessionId String

timeout long

unit TimeUnit

הקפצת הודעות שגיאה (throw)
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException