Uses of Class
hudson.plugins.android_emulator.sdk.AndroidSdk
Packages that use AndroidSdk
Package
Description
-
Uses of AndroidSdk in hudson.plugins.android_emulator
Methods in hudson.plugins.android_emulator that return AndroidSdkModifier and TypeMethodDescriptionstatic AndroidSdk
SdkInstaller.install
(Launcher launcher, BuildListener listener, String androidSdkHome) Downloads and installs the Android SDK on the machine we're executing on.AndroidEmulatorContext.sdk()
Methods in hudson.plugins.android_emulator with parameters of type AndroidSdkModifier and TypeMethodDescriptionstatic void
SdkInstaller.installPlatform
(PrintStream logger, Launcher launcher, AndroidSdk sdk, String platform, String abi, boolean skipSystemImageInstall) Installs the given platform and its dependencies into the given installation, if necessary.static boolean
Constants.isLatestVersion
(AndroidSdk sdk) Constructors in hudson.plugins.android_emulator with parameters of type AndroidSdkModifierConstructorDescriptionAndroidEmulatorContext
(AbstractBuild<?, ?> build_, Launcher launcher_, BuildListener listener_, AndroidSdk sdk_) -
Uses of AndroidSdk in hudson.plugins.android_emulator.builder
Methods in hudson.plugins.android_emulator.builder that return AndroidSdkModifier and TypeMethodDescriptionprotected static AndroidSdk
AbstractBuilder.getAndroidSdk
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Gets an Android SDK instance, ready for use.Methods in hudson.plugins.android_emulator.builder with parameters of type AndroidSdkModifier and TypeMethodDescriptionprotected static boolean
AbstractBuilder.uninstallApk
(AbstractBuild<?, ?> build, Launcher launcher, PrintStream logger, AndroidSdk androidSdk, String deviceIdentifier, FilePath apkPath) Uninstalls the Android package corresponding to the given APK file from an Android device.protected static boolean
AbstractBuilder.uninstallApk
(AbstractBuild<?, ?> build, Launcher launcher, PrintStream logger, AndroidSdk androidSdk, String deviceIdentifier, String packageId) Uninstalls the given Android package ID from the given Android device.protected boolean
AbstractBuilder.waitForCoreProcess
(AbstractBuild<?, ?> build, Launcher launcher, AndroidSdk androidSdk, String deviceIdentifier) Waits for the "android.process.acore" process to start, as this is a prerequisite for using the package manager. -
Uses of AndroidSdk in hudson.plugins.android_emulator.sdk
Methods in hudson.plugins.android_emulator.sdk with parameters of type AndroidSdk -
Uses of AndroidSdk in hudson.plugins.android_emulator.sdk.cli
Methods in hudson.plugins.android_emulator.sdk.cli with parameters of type AndroidSdkModifier and TypeMethodDescriptionstatic SdkToolsCommands
SdkCliCommandFactory.getCommandsForSdk
(AndroidSdk androidSdk) Retrieve the correctSdkCommands
for the given Android SDK. -
Uses of AndroidSdk in hudson.plugins.android_emulator.util
Methods in hudson.plugins.android_emulator.util that return AndroidSdkModifier and TypeMethodDescriptionstatic AndroidSdk
Utils.getAndroidSdk
(Launcher launcher, Node node, EnvVars envVars, boolean checkPreferredOnly, String androidSdkRootPreferred, String androidSdkHome) Tries to validate the given Android SDK root directory; otherwise tries to locate a copy of the SDK by checking for the auto-install directory and for common environment variables.static AndroidSdk
Utils.getAndroidSdk
(Launcher launcher, Node node, EnvVars envVars, String androidSdkRootPreferred, String androidSdkHome) Tries to validate the given Android SDK root directory; otherwise tries to locate a copy of the SDK by checking for the auto-install directory and for common environment variables.static AndroidSdk
Utils.getAndroidSdk
(Launcher launcher, String androidSdkRootPreferred, String androidSdkHome) Tries to validate the given Android SDK root directory.Methods in hudson.plugins.android_emulator.util with parameters of type AndroidSdkModifier and TypeMethodDescriptionstatic ArgumentListBuilder
Utils.getToolCommand
(AndroidSdk androidSdk, boolean isUnix, SdkCliCommand sdkCmd) Generates a ready-to-use ArgumentListBuilder for one of the Android SDK tools.static void
Utils.runAndroidTool
(Launcher launcher, EnvVars env, OutputStream stdout, OutputStream stderr, AndroidSdk androidSdk, SdkCliCommand sdkCmd, FilePath workingDirectory) static void
Utils.runAndroidTool
(Launcher launcher, EnvVars env, OutputStream stdout, OutputStream stderr, AndroidSdk androidSdk, SdkCliCommand sdkCmd, FilePath workingDirectory, long timeoutMs) static void
Utils.runAndroidTool
(Launcher launcher, OutputStream stdout, OutputStream stderr, AndroidSdk androidSdk, SdkCliCommand sdkCmd, FilePath workingDirectory) Runs an Android tool on the remote build node and waits for completion before returning.