À partir de 2026, pour nous aligner sur notre modèle de développement stable et garantir la stabilité de la plate-forme pour l'écosystème, nous publierons le code source sur AOSP au deuxième et au quatrième trimestre. Pour créer et contribuer à AOSP, nous vous recommandons d'utiliser android-latest-release au lieu de aosp-main. La branche de fichier manifeste android-latest-release fera toujours référence à la version la plus récente envoyée à AOSP. Pour en savoir plus, consultez Modifications apportées à AOSP.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
SplitApkInstallerBase
public
abstract
class
SplitApkInstallerBase
extends Object
| java.lang.Object
|
| ↳ |
com.android.tradefed.device.server.SplitApkInstallerBase
|
Sous-classes directes connues
|
Résumé
Méthodes protégées |
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)
|
Champs
UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS
protected static final CharMatcher UNSAFE_PM_INSTALL_SESSION_SPLIT_NAME_CHARS
Constructeurs protégés
SplitApkInstallerBase
protected SplitApkInstallerBase (IDevice device,
String options)
| Paramètres |
device |
IDevice |
options |
String |
Méthodes protégées
createMultiInstallSession
protected String createMultiInstallSession (String options,
long timeout,
TimeUnit unit)
| Paramètres |
options |
String |
timeout |
long |
unit |
TimeUnit |
getDevice
protected IDevice getDevice ()
getOptions
protected static String getOptions (boolean reInstall,
installOptions)
| Paramètres |
reInstall |
boolean |
installOptions |
|
getOptions
protected String getOptions ()
getOptions
protected static String getOptions (boolean reInstall,
boolean partialInstall,
String applicationId,
installOptions)
| Paramètres |
reInstall |
boolean |
partialInstall |
boolean |
applicationId |
String |
installOptions |
|
getPrefix
protected String getPrefix ()
installAbandon
protected void installAbandon (String sessionId,
long timeout,
TimeUnit unit)
| Paramètres |
sessionId |
String |
timeout |
long |
unit |
TimeUnit |
installCommit
protected void installCommit (String sessionId,
long timeout,
TimeUnit unit)
| Paramètres |
sessionId |
String |
timeout |
long |
unit |
TimeUnit |
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/12/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/12/04 (UTC)."],[],[]]