SplitApkInstallerBase

public abstract class SplitApkInstallerBase
extends 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

روش‌های محافظت‌شده

ایجاد جلسه نصب چندگانه

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

پارامترها
options String

timeout long

unit TimeUnit

بازگشت‌ها
String

پرتاب‌ها
AdbCommandRejectedException
InstallException
ShellCommandUnresponsiveException
TimeoutException

دریافت دستگاه

protected IDevice getDevice ()

بازگشت‌ها
IDevice

گزینه‌ها را دریافت کنید

protected static String getOptions (boolean reInstall, 
                 installOptions)

پارامترها
reInstall boolean

installOptions

بازگشت‌ها
String

گزینه‌ها را دریافت کنید

protected String getOptions ()

بازگشت‌ها
String

گزینه‌ها را دریافت کنید

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

پارامترها
reInstall boolean

partialInstall boolean

applicationId String

installOptions

بازگشت‌ها
String

دریافت پیشوند

protected String getPrefix ()

بازگشت‌ها
String

نصب کن

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