pub struct EmulatorTools { /* private fields */ }

Implementations

List available AVDs

Search for system disk images in

Read initial system image from

Read initial vendor image from

Make system & vendor image writable after adb remount

Delay adb communication till boot completes

Write user data into

Use specific emulated kernel

Ramdisk image (default /ramdisk.img)

Obsolete, use -system instead

Same as -init-data <file>

Data image (default /userdata-qemu.img)

Read initial encryption key image from

Output file of logcat(default none)

System/data partition size in MBs

Cache partition image (default is temporary file)

Cache partition size in MBs

Disable the cache partition

Same as -no-cache

SD card image (default /sdcard.img)

Qeuit emulator after guest boots completely, or after timeout in seconds

Use the emulator in the specified dir (relative or absolute path)v

Monitor the adb messages between guest and host, default not

File that contains all state snapshots (default /snapshots.img)

Do not mount a snapshot storage file (this disables all snapshot functionality)

Name of snapshot within storage file for auto-start and auto-save (default ‘default-boot’)

Perform a full boot and do not auto-save, but qemu vmload and vmsave operate on snapstorage

Do not auto-save to snapshot on exit: abandon changed state

Do not auto-start from snapshot: perform a full boot

Show a list of available snapshots

Do not try to correct snapshot time on restore

Reset the user data image (copy it from initdata)

Use a specific android virtual device

Use a specific target architecture

Search skins in

(default /skins)

Select a given skin

Deprecated: create an AVD with no skin instead

Same as -no-skin

Physical RAM size in MBs

Run only the UI feature requested

Assign an id to this virtual device (separate from the avd name)

Set number of CPU cores to emulator

Configure emulation acceleration

Same as ‘-accel off’

Use new emulator backend instead of the classic one

Select engine. auto|classic|qemu2

Maximum network download/upload speeds

Network latency emulation

Disable network shaping

Enable code profiling

Display kernel messages

Enable root shell on current terminal

Deprecated, see dalvik_vm_checkjni

Deprecated, see dalvik_vm_checkjni

Enable dalvik.vm.checkjni

Enable logcat output with given tags

Disable audio support

Same as -no-audio

Use specific audio backend

Redirect radio modem interface to character device

TCP port that will be used for the console

TCP ports used for the console and adb bridge

Use overlay PNG image over screen

Specify onion-skin translucency

specify onion-skin rotation

Specify device’s resolution in dpi (default DEFAULT_DEVICE_DPI)

Scale emulator window (deprecated)

Connect to other emulator for WiFi forwarding

Listen to other emulator for WiFi forwarding

Make TCP connections through a HTTP/HTTPS proxy

Use this timezone instead of the host’s default

Use this language instead of the current one. Restarts the framework

Use this country instead of the current one. Restarts the framework

Use this locale instead of the current one. Restarts the framework

Use this DNS server(s) in the emulated system

Use this TAP interface for networking

Script to run when the TAP interface goes up

Script to run when the TAP interface goes down

Throttle CPU emulation

Disable animation for faster boot

Disable graphical window display

Start QT window but hide window display

Device has no SIM card

Device is a low ram device

Display emulator version number

Disable passive gps updates

Use the specified filepath to read gnss data

Use the specified port number to start grpc service to receive gnss data

Using virtio console as console

Allow running multiple instances of emulators on the same AVD, but cannot save snapshot

Specifies that this emulator was a restart, and to wait out before proceeding

Report console port to remote socket

Redirect NMEA GPS to character device

Specific character device for root shell

Capture network packets to file

Enable bootcharting

Use specific key character map

Used by Android Studio to provide parameters

Set system property on boot

Join the shared network, using IP address 10.1.2.

Set hardware OpenGLES emulation mode

Use host for vulkan emulation regardless of ‘gpu’ mode

Set emulation mode for a camera facing back

Set emulation mode for a camera facing front

Lists web cameras available for emulation

Load a png or jpeg image as a poster in the virtual scene

Set emulated screen mode

Always use 32-bit emulator

Set SELinux to either disabled or permissive mode

Add to the list of allowed Unix pipes

Use fixed 1:1 scale for the initial emulator window

Pause on launch and wait for a debugger process to attach before resuming

Skip adb authentication dialogue

Enable usage metrics and print the messages to stdout

Enable usage metrics and send them to google play

Enable usage metrics and write the messages into specified file

Enable the detection of system image hangs

Force-enable or disable (-name) the features

Use icc profile from specified file

Use SIM access rules from specified file

Sets the phone number of the emulated device

Specify acpi device proprerties (hierarchical key=value pair)

Run Fuchsia image. Bypasses android-specific setup; args after are treated as standard QEMU args

Set window size for when bypassing android-specific setup

Allows sending of audio from audio input devices. Otherwise, zeroes out audio

Allows restarting guest when it is stalled

Run periodic perf stat reporter in the background and write output to specified file

Share current video state in shared memory region

TCP ports used for the gRPC bridge

File with the private key used to enable gRPC TLS

File with the public X509 certificate used to enable gRPC TLS

File with the Certificate Authorities used to validate client certificates

Use the emulator console token for gRPC authentication

Terminate the emulator if there is no gRPC activity within seconds

Mode in which to run waterfall

Config multiple displays

API key to use with the Google Maps GUI

Disable the location UI in the extended window

Use keycode forwarding instead of host charmap translation

Screen record the emulator session

Use legacy camera HAL for the emulated fake camera

Disable high qualify edge processing for emulated camera

Use external adb executable for internal communication

Check if a snasphot is loadable

Disable HiDPI scaling of guest display on macOS devices

Do not reposition the mouse to emulator window center if mouse pointer gets out of the window

Enable guest ANGLE as system driver

Pass arguments to qemu

Same as ‘-debug-init’

Enable/disable debug messages

Print this help

About disk images

Debug tags for -debug

Character specification

Environment variables

Virtual device management

About disk images when using the SDK

About disk images when building Android

Prints all help content

Runs emulator commands and initialize emulator

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.