package android.emulation.control

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service EmulatorController

emulator_controller.proto:42

An EmulatorController service lets you control the emulator. Note that this is currently an experimental feature, and that the service definition might change without notice. Use at your own risk! We use the following rough conventions: streamXXX --> streams values XXX (usually for emulator lifetime). Values are updated as soon as they become available. getXXX --> gets a single value XXX setXXX --> sets a single value XXX, does not returning state, these usually have an observable lasting side effect. sendXXX --> send a single event XXX, possibly returning state information. android usually responds to these events.

message AudioFormat

emulator_controller.proto:684

Used as request type in: EmulatorController.streamAudio

Used as field type in: AudioPacket

enum AudioFormat.Channels

emulator_controller.proto:689

Used in: AudioFormat

enum AudioFormat.SampleFormat

emulator_controller.proto:685

Used in: AudioFormat

message BatteryState

emulator_controller.proto:526

Used as request type in: EmulatorController.setBattery

Used as response type in: EmulatorController.getBattery

enum BatteryState.BatteryCharger

emulator_controller.proto:534

Used in: BatteryState

enum BatteryState.BatteryHealth

emulator_controller.proto:540

Used in: BatteryState

enum BatteryState.BatteryStatus

emulator_controller.proto:527

Used in: BatteryState

message ClipData

emulator_controller.proto:333

Representation of a clipped data object on the clipboard.

Used as request type in: EmulatorController.setClipboard

Used as response type in: EmulatorController.getClipboard, EmulatorController.streamClipboard

message Entry

emulator_controller.proto:664

Used in: EntryList

message EntryList

emulator_controller.proto:668

Used in: EmulatorStatus

message GpsState

emulator_controller.proto:500

Used as request type in: EmulatorController.setGps

Used as response type in: EmulatorController.getGps

message Image

emulator_controller.proto:611

Used as response type in: EmulatorController.getScreenshot, EmulatorController.streamScreenshot

message ImageFormat

emulator_controller.proto:573

Used as request type in: EmulatorController.getScreenshot, EmulatorController.streamScreenshot

Used as field type in: Image

enum ImageFormat.ImgFormat

emulator_controller.proto:574

Used in: ImageFormat

message ImageTransport

emulator_controller.proto:557

An ImageTransport allows for specifying a side channel for delivering image frames versus using the standard bytes array that is returned with the gRPC request.

Used in: ImageFormat

enum ImageTransport.TransportChannel

emulator_controller.proto:558

Used in: ImageTransport

enum KeyboardEvent.KeyCodeType

emulator_controller.proto:426

Code types that the emulator can receive. Note that the emulator will do its best to translate the code to an evdev value that will be send to the emulator. This translation is based on the chromium translation tables. See (this)[https://android.googlesource.com/platform/external/qemu/+/refs/heads/emu-master-dev/android/android-grpc/android/emulation/control/keyboard/keycode_converter_data.inc] for details on the translation.

Used in: KeyboardEvent

enum KeyboardEvent.KeyEventType

emulator_controller.proto:433

Used in: KeyboardEvent

message LogMessage

emulator_controller.proto:255

Used as request type in: EmulatorController.getLogcat, EmulatorController.streamLogcat

Used as response type in: EmulatorController.getLogcat, EmulatorController.streamLogcat

enum LogMessage.LogType

emulator_controller.proto:274

Used in: LogMessage

message LogcatEntry

emulator_controller.proto:280

A parsed logcat entry.

Used in: LogMessage

enum LogcatEntry.LogLevel

emulator_controller.proto:282

The possible log levels.

Used in: LogcatEntry

message ParameterValue

emulator_controller.proto:173

Used in: PhysicalModelValue, SensorValue

enum PhoneCall.Operation

emulator_controller.proto:641

Used in: PhoneCall

message PhoneResponse

emulator_controller.proto:653

Used as response type in: EmulatorController.sendPhone, EmulatorController.sendSms

enum PhoneResponse.Response

emulator_controller.proto:654

Used in: PhoneResponse

message PhysicalModelValue

emulator_controller.proto:174

Used as request type in: EmulatorController.getPhysicalModel, EmulatorController.setPhysicalModel, EmulatorController.streamPhysicalModel

Used as response type in: EmulatorController.getPhysicalModel, EmulatorController.streamPhysicalModel

enum PhysicalModelValue.PhysicalType

emulator_controller.proto:183

Details on the sensors documentation can be found here: https://developer.android.com/reference/android/hardware/Sensor.html#TYPE_

Used in: PhysicalModelValue

enum PhysicalModelValue.State

emulator_controller.proto:175

Used in: PhysicalModelValue

message Rotation

emulator_controller.proto:627

Used in: ImageFormat

enum Rotation.SkinRotation

emulator_controller.proto:628

Used in: Rotation

message SensorValue

emulator_controller.proto:209

A single sensor value.

Used as request type in: EmulatorController.getSensor, EmulatorController.setSensor, EmulatorController.streamSensor

Used as response type in: EmulatorController.getSensor, EmulatorController.streamSensor

enum SensorValue.SensorType

emulator_controller.proto:218

These are the various sensors that can be available in an emulated devices.

Used in: SensorValue

enum SensorValue.State

emulator_controller.proto:210

Used in: SensorValue

message Touch

emulator_controller.proto:340

The Touch interface represents a single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.

Used in: TouchEvent

message VmConfiguration

emulator_controller.proto:306

Information about the hypervisor that is currently in use.

Used in: EmulatorStatus

enum VmConfiguration.VmHypervisorType

emulator_controller.proto:307

Used in: VmConfiguration

message VmRunState

emulator_controller.proto:142

A Run State that describes the state of the Virtual Machine.

Used as request type in: EmulatorController.setVmState

Used as response type in: EmulatorController.getVmState

enum VmRunState.RunState

emulator_controller.proto:143

Used in: VmRunState