Get desktop application:
View/edit binary Protocol Buffers messages
The AvdService can be used to inspect and retrieve general information about the running avd
Get general information about the running avd.
for the Android build system case
The target string in rootIni.
for the normal virtual device case
These two might not be needed.
UNUSED?
UNUSED?
virtual device's config.ini, NULL if missing
skin-specific hardware.ini
for both
For preview releases where we don't know the exact API level this flag indicates that at least we know it's M+ (for some code that needs to select either legacy or modern operation mode.
skin name
skin directory
core hardware.ini path
core snapshot.lock path
build.prop file
boot.prop file
image files
skip checks
A car service is a service that forwards events to and from the android car hal
Listen for events in the service as they arive.
Send an event to the car hal
Send a series of events directly to the car hal.
A Modem service allows you to interact with the emulated modem. The emulated modem can be used to receive sms, phone calls, and to modify the cellular information. This service is supported for API > 31
Creates a new call object, this usually results in the emulator receiving a new incoming call.
Removes the active call, this will disconnect the call.
Gets the current cell info. Note: this is not fully implemented yet.
Lists all the calls that are currently active in the modem
Listen for events in the service as they arive.
Type of event that was received.
List of active calls.
The emulator will receive an sms message. Returns: - INVALID_ARGUMENT: The text message was longer than 1024 characters - INVALID_ARGUMENT: The phone number provided was invalid. - INVALID_ARGUMENT: The text message contains invalid characters - INVALID_ARGUMENT: The encoded message contains invalid hex values - INVALID_ARGUMENT: Trying to receive both text and encoded message.
The source number where this message came from. The adnumberdress should be a valid GSM-formatted address as specified by 3GPP 23.040 Sec 9.1.2.5. For example: +3106225412 or (650) 555-1221
A utf8 encoded text message of at most 1024 characters. You can use the following special symbols: \n for a newline \xNN where NN are two hexadecimal numbers \uNNNN where NNNN are four hexadecimal numbers \\ to send a '\' character"
A PDU encoded message as a hex string. See the spec: https://www.etsi.org/deliver/etsi_gts/07/0705/05.01.00_60/gsmts_0705v050100p.pdf for details on how to use this.
Set the current cell info, returning the active cell info state.
Updates the state of the given call. The unique number indentifying the call must exist.
Update the modem clock. This will likely disappear
This service is responsible for interacting with the sensor module of the emulator. It provides methods to set, get, and stream sensor data as well as the physical model.
gets the sensor value.
Receive a message whenever the physical model value subscribed to changes Note that you can receive spurious events. (i.e the same event 2x)
Receive a message whenever the sensor value subscribed to changes Note that you can receive spurious events. (i.e the same event 2x)
sets the value. The value will eventually be set, an immediate get might not read the value that has just been set. This can result in an event if it changes an existing physical value.
sets the value. The value will eventually be set, an immediate get might not read the value that has just been set. This can result in an event if it changes an existing sensor value.
* Get the current animation state of the virtual scene. @param Empty request. @return The current animation state, including whether the TV is on or off.
* List all the posters currently set in the virtual scene. @param Empty request. @return The list of posters with their respective details.
* Set the animation state of the virtual scene. @param The new animation state, such as turning the TV on or off. @return The updated animation state.
* Set the poster for a specific position in the virtual scene. @param The poster details including name, image, filename, width, and scale. @return The updated poster details.
Used as response type in: Modem.listCalls
Used as field type in:
Used as request type in: VirtualSceneService.setAnimationState
Used as response type in: VirtualSceneService.getAnimationState, VirtualSceneService.setAnimationState
Used in:
A voice call that can be made
Used as request type in: Modem.createCall, Modem.deleteCall, Modem.updateCall
Used as response type in: Modem.createCall, Modem.updateCall
Used as field type in:
[Output only]
The number should be a valid GSM-formatted address as specified by 3GPP 23.040 Sec 9.1.2.5. Note that this number uniquely identifies this call.
Used in:
Used in:
Used in:
Used as request type in: CarService.sendCarEvent, CarService.sendCarEvents
Used as response type in: CarService.receiveCarEvents
CellIdentity represents the identity of a unique cell.
Used in:
The long alpha tag associated with the current scan result (may be the operator name string or extended operator name string). May be empty (not set) if unknown.
The short alpha tag associated with the current scan result (may be the operator name string or extended operator name string). May be empty (not set) if unknown.
Used as request type in: Modem.setCellInfo
Used as response type in: Modem.getCellInfo, Modem.setCellInfo
The connection status of this cell. [INPUT ONLY]: Currently unable to read the active cell standard.
The identity of this cell.
Voice status
Data status
The signal strength of this cell [INPUT ONLY]: Currently unable to read the signal strength.
Metering status
Status of the sim
Used in:
Used in:
Used in:
Used in:
Used in:
The rssi of the signal. (Must be between 0-31)
The abstract level value for the overall signal quality.
Represents the general signal quality.
Used in:
Used in:
unlocked
must be locked
locked
locked and empty
copied to temp file (no lock needed)
Used in: ,
Used in:
Used as request type in: SensorService.getPhysicalModel, SensorService.receivePhysicalModelEvents, SensorService.setPhysicalModel
Used as response type in: SensorService.getPhysicalModel, SensorService.receivePhysicalModelEvents
[Output Only]
Value interpretation depends on sensor.
Used in:
Used in:
Used in:
Unknown sensor (should not happen)
qemud service is not available/initiated.
Details on the sensors documentation can be found here: https://developer.android.com/reference/android/hardware/Sensor.html#TYPE_ The types must follow the order defined in "external/qemu/android/hw-sensors.h"
Used in:
Indicates all in case of events.
All values are angles in degrees. values = [x,y,z]
Temperature in °C
Proximity sensor distance measured in centimeters
Ambient light level in SI lux units
Atmospheric pressure in hPa (millibar)
Relative ambient air humidity in percent
Describing a hinge angle sensor in degrees.
Describing the device posture; the value should be an enum defined in Posture::PostureValue.
Heart rate in bpm
Ambient RGBC light intensity. Values are in order (Red, Green, Blue, Clear).
Wrist tilt gesture (1 = gaze, 0 = ungaze)
Used in:
Used as request type in: VirtualSceneService.setPoster
Used as response type in: VirtualSceneService.setPoster
Used as field type in:
Name of the poster position, such as "wall" or "table".
The image bytes either PNG or JPEG, or none if no new image is being loaded.
Optional filename.
The poster position's minimum width, in meters.
The poster position's maximum width, in meters.
The poster scale, a value between 0 and 1.
Used as request type in: ScreenRecording.ListRecordings, ScreenRecording.StartRecording, ScreenRecording.StopRecording
Used as response type in: ScreenRecording.ReceiveRecordingEvents, ScreenRecording.StartRecording, ScreenRecording.StopRecording
Used as field type in:
The current state of the recorder
The file_name where the recording should be written to Note: This currently needs to have the .webm extension
Width of the recording, or default if not present
Height of the recording, or default if not present
Bit rate of the recording in bits per second, or default if not present. The bit rate should be between 100,000 - 25,000,000
The time limit in seconds. Defaults to 180 seconds.
The desired frame rate. Defaults to 24.
The (desired) display id of the device. Setting this to 0 (or omitting) indicates the main display.
Used in:
A single sensor value.
Used as request type in: SensorService.getSensor, SensorService.receiveSensorEvents, SensorService.setSensor
Used as response type in: SensorService.getSensor, SensorService.receiveSensorEvents
Type of sensor
[Output Only]
Value interpretation depends on sensor enum.
Used in:
Unknown sensor (should not happen)
Sensor is disabled.
qemud service is not available/initiated.
These are the various sensors that can be available in an emulated devices.
Used in:
Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), including the force of gravity.
Measures a device's rate of rotation in rad/s around each of the three physical axes (x, y, and z).
Measures the ambient geomagnetic field for all three physical axes (x, y, z) in μT.
Measures degrees of rotation that a device makes around all three physical axes (x, y, z)
Measures the temperature of the device in degrees Celsius (°C).
Measures the proximity of an object in cm relative to the view screen of a device. This sensor is typically used to determine whether a handset is being held up to a person's ear.
Measures the ambient light level (illumination) in lx.
Measures the ambient air pressure in hPa or mbar.
Measures the relative ambient humidity in percent (%).
Measures the heart rate in bpm.
Measures the ambient RGBC light intensity. Values are in order (Red, Green, Blue, Clear).
WIRST_TILT (16) is skipped; clients should use get/setPhysicalModel() instead. Measures acceleration force and provides bias data.