Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
Used in:
Clear cache for last selected random activity.
Used in:
(message has no fields)
Used in:
Disables all Android animations.
Used in:
(message has no fields)
Used in:
Force stop last selected random activity.
Used in:
(message has no fields)
Used in:
Possible values listed at https://developer.android.com/reference/android/Manifest.permission To query an app's required permissions, use the following adb command: > adb shell dumpsys package <package> The output will contain things like android.permission.WRITE_SECURE_SETTINGS
Installs an APK into the simulator.
Used in:
A location in the filesystem.
Used in:
Used in:
Used in:
Used in:
Used in:
0 degrees counter-clockwise.
90 degrees counter-clockwise.
180 degrees counter-clockwise.
270 degrees counter-clockwise.
Used in:
Fully qualified class name of the Accessibility Service.
Used in:
Used in:
Starts and wait for a randomly chosen activity in the list.
Used in:
Pins the given activity to the screen. This essentially locks the user into a single app mode (aka "Kiosk mode").
Used in:
Used in:
NOTE: These are absolute coordinates in the range of the screen resolution. They are NOT floats in [0,1].
Used in:
An AppScreen identifies a unique configuration that we can observe on the screen of a device.
Used in: ,
Fully-qualified name of the activity.
A list of regexes to match at each level of the current view hierarchy. The environment uses this list to determine whether the agent has "exited" this current task. Example: [ "^DecorView@.*\[MainActivity\]$", "^android.widget.LinearLayout\{.*\}$", "^android.widget.FrameLayout\{.*android\:id\/content\}", "^android.widget.RelativeLayout\{.*\}", "^android.widget.FrameLayout\{.*app\:id\/fragment_holder\}", "^android.widget.RelativeLayout\{.*\}", "^com.google.example.games.nostalgicracer.views.RaceView3D\{.*app\:id\/gameplay_screen_3d\}", ],
Used in:
An identifier for this ArraySpec.
The shape of the multi-dimensional values associated with this ArraySpec,
Data type of elements we expect to see in an array of this spec.
Used in:
Used in:
Maximum time in seconds to wait.
message `EventSlot` {{{ -
Used in: ,
only when all the prerequisites have ever been triggered, this event can be triggered
Python statement that could be evaluated by `exec` function. Use `x` to indicate the input variable and `y` for the output variable. e.g., use "y = x" to indicate the identity transformation e.g., use expression like "y = 3" to indicate the constant transformation NOTE: for `and`, use `x[i]` to indicate the input from the i-th event NOTE: for `or`, use `x` to represent the input from the exclusive active event
will cache the value and state for a while and not clear them until all the waited events are set simultaneously; -1 for never cleared and 0 for nothing waiting
Used in:
Used in:
Used in:
zdy message `EventSource` {{{
Used in:
EventGroup and = 1; EventGroup or = 2;
bool default_event = 11;
repeated int32 prerequisite=13;
string transformation = 15;
match to the given icon
Used in:
recognize the icon of the given class
Used in:
Used in:
Used in: ,
floats in range [0, 1]
Used in: , ,
Used in:
Used in:
recognize the given text
Used in:
Specified as (EBNF) path = class-regex [ "@" id-regex ] ; If there is "@" in the regex literal, escape it by "\@". repeated string view_hierarchy_path = 1;
Used in:
Mobile-Env-customized CSS selector several customized syntax: * #"com.wikihow.wikihowapp:id/search_src_text" -> [resource-id="com.wikihow.wikihowapp:id/search_src_text"] * #$"search_src_text" -> [resource-id$=search_src_text] * ."android.widget.EditText" -> [class="android.widget.EditText"] * .$"EditText" -> [class$=EditText] * $"com.wikihow.wikihowapp" -> [package="com.wikihow.wikihowapp"] * @2 -> [index="2"], somewhat the same as :nth-child(3) (index attribute starts from 0) multiple strings will be concatenated by ", ", i.e., selector: ["abc", "def", '."class">@3'] is the same as a group of css selectors selector: 'abc, def, ."class">@3'
Used in:
Used in:
A reinforcement learning (RL) observation which agents can use to build their internal state. This comes straight from the Android Emulator.
The moment this RawObservation was generated.
The screenshot representing this raw observation.
A visual image represented as pixels.
Used in:
The width in pixels of this image.
The height in pixels of this image.
The number of channels (e.g. 3 in RGB) per pixel.
The binary data associated with this image.
Used in:
Used in:
Used in:
Description of a reinforcement learning task to be solved by an agent.
A globally unique identifier for this task.
A human readable name for this task.
A description of the task.
AndroidEnv resets the episode after `max_duration_sec` is passed since the last reset(). Note that this is real time as measured by AndroidEnv and is independent of the speed of simulation of Android. If <= 0.0, this logic is disabled.
The maximum number of interactions in a single episode between the environment and an agent. This setting is appropriate for tasks that are not time-dependent or when the performance of the simulation varies dramatically between runs. If <= 0, this logic is disabled.
zdy Defines parameters for parsing messages from logcat. LogParsingConfig log_parsing_config = 9;
(Optional): The task may also define extras to help the RL agent. An Extra in AndroidEnv is any information that apps may send to aid the understanding of the task. The type of information sent through this channel is usually something difficult to obtain from raw pixels and may include things such as: - The current board configuration (e.g. of a chess game or a tetris game) - The position of the avatar in a map - Events (e.g. whether a button was pressed or a checkpoint was achieved) Notice that these are entirely optional and may not be available at all. This specification ensures that only extras specified in the Task definition will be passed to the agent, everything else is excluded. The name of an extra must be unique across all extras.
zdy
Used in:
Waits for `app_screen` to be the current app screen shown to the user.
Used in:
Maximum time in seconds to wait for the activity to become the current one.
Used in: