Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
LaunchCvdHelper
public
class
LaunchCvdHelper
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.device.cloud.LaunchCvdHelper
|
Utility helper to control Launch_cvd in the Cuttlefish VM.
Summary
Public methods |
static
|
createSimpleDeviceCommand(String username, boolean daemon)
Create the command line to start an additional device for a user.
|
static
|
createSimpleDeviceCommand(String username, boolean daemon, boolean alwaysCreateUserData, boolean blankDataImage)
Create the command line to start an additional device for a user.
|
Public constructors
LaunchCvdHelper
public LaunchCvdHelper ()
Public methods
createSimpleDeviceCommand
public static createSimpleDeviceCommand (String username,
boolean daemon)
Create the command line to start an additional device for a user.
Parameters |
username |
String : The user that will run the device. |
daemon |
boolean : Whether or not to start the device as a daemon. |
Returns |
|
The created command line;
|
createSimpleDeviceCommand
public static createSimpleDeviceCommand (String username,
boolean daemon,
boolean alwaysCreateUserData,
boolean blankDataImage)
Create the command line to start an additional device for a user.
Parameters |
username |
String : The user that will run the device. |
daemon |
boolean : Whether or not to start the device as a daemon. |
alwaysCreateUserData |
boolean : Whether or not to create the userdata partition |
blankDataImage |
boolean : whether or not to create the data image. |
Returns |
|
The created command line;
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-03 UTC."],[],[]]