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

طُرق وضع التصميم المحمية

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

عمليات الطرح
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException

installCommit

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

المعلَمات
sessionId String

timeout long

unit TimeUnit

عمليات الطرح
AdbCommandRejectedException
IOException
InstallException
ShellCommandUnresponsiveException
TimeoutException