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

الدوال الإنشائية المحمية

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

الدوال الإنشائية المحمية

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