android-env 1.2.1__py3-none-any.whl → 1.2.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. android_env/__init__.py +1 -1
  2. android_env/components/__init__.py +1 -1
  3. android_env/components/a11y/__init__.py +15 -0
  4. android_env/components/a11y/a11y_events.py +118 -0
  5. android_env/components/a11y/a11y_events_test.py +173 -0
  6. android_env/components/a11y/a11y_forests.py +128 -0
  7. android_env/components/a11y/a11y_forests_test.py +237 -0
  8. android_env/components/a11y/a11y_servicer.py +199 -0
  9. android_env/components/a11y/a11y_servicer_test.py +224 -0
  10. android_env/components/action_fns.py +132 -0
  11. android_env/components/action_fns_test.py +227 -0
  12. android_env/components/action_type.py +26 -3
  13. android_env/components/adb_call_parser.py +239 -196
  14. android_env/components/adb_call_parser_test.py +179 -209
  15. android_env/components/adb_controller.py +90 -52
  16. android_env/components/adb_controller_test.py +187 -16
  17. android_env/components/adb_log_stream.py +17 -5
  18. android_env/components/adb_log_stream_test.py +17 -3
  19. android_env/components/app_screen_checker.py +17 -15
  20. android_env/components/app_screen_checker_test.py +7 -8
  21. android_env/components/config_classes.py +203 -0
  22. android_env/components/coordinator.py +102 -338
  23. android_env/components/coordinator_test.py +59 -199
  24. android_env/components/device_settings.py +174 -0
  25. android_env/components/device_settings_test.py +228 -0
  26. android_env/components/dumpsys_thread.py +3 -4
  27. android_env/components/dumpsys_thread_test.py +1 -1
  28. android_env/components/errors.py +52 -10
  29. android_env/components/errors_test.py +110 -0
  30. android_env/components/log_stream.py +7 -5
  31. android_env/components/log_stream_test.py +1 -1
  32. android_env/components/logcat_thread.py +9 -8
  33. android_env/components/logcat_thread_test.py +3 -4
  34. android_env/components/{utils.py → pixel_fns.py} +20 -20
  35. android_env/components/{utils_test.py → pixel_fns_test.py} +20 -15
  36. android_env/components/setup_step_interpreter.py +47 -39
  37. android_env/components/setup_step_interpreter_test.py +4 -4
  38. android_env/components/simulators/__init__.py +1 -1
  39. android_env/components/simulators/base_simulator.py +116 -44
  40. android_env/components/simulators/base_simulator_test.py +131 -9
  41. android_env/components/simulators/emulator/__init__.py +1 -1
  42. android_env/components/simulators/emulator/emulator_launcher.py +67 -77
  43. android_env/components/simulators/emulator/emulator_launcher_test.py +153 -49
  44. android_env/components/simulators/emulator/emulator_simulator.py +276 -95
  45. android_env/components/simulators/emulator/emulator_simulator_test.py +314 -89
  46. android_env/components/simulators/fake/__init__.py +1 -1
  47. android_env/components/simulators/fake/fake_simulator.py +17 -25
  48. android_env/components/simulators/fake/fake_simulator_test.py +29 -12
  49. android_env/components/specs.py +18 -28
  50. android_env/components/specs_test.py +1 -44
  51. android_env/components/task_manager.py +48 -48
  52. android_env/components/task_manager_test.py +71 -60
  53. android_env/env_interface.py +37 -23
  54. android_env/environment.py +83 -51
  55. android_env/environment_test.py +68 -29
  56. android_env/loader.py +57 -43
  57. android_env/loader_test.py +115 -35
  58. android_env/proto/__init__.py +1 -1
  59. android_env/proto/a11y/__init__.py +15 -0
  60. android_env/proto/a11y/a11y.proto +75 -0
  61. android_env/proto/a11y/a11y_pb2.py +54 -0
  62. android_env/proto/a11y/a11y_pb2.pyi +49 -0
  63. android_env/proto/a11y/a11y_pb2_grpc.py +202 -0
  64. android_env/proto/a11y/android_accessibility_action.proto +32 -0
  65. android_env/proto/a11y/android_accessibility_action_pb2.py +37 -0
  66. android_env/proto/a11y/android_accessibility_action_pb2.pyi +13 -0
  67. android_env/proto/a11y/android_accessibility_action_pb2_grpc.py +24 -0
  68. android_env/proto/a11y/android_accessibility_forest.proto +29 -0
  69. android_env/proto/a11y/android_accessibility_forest_pb2.py +38 -0
  70. android_env/proto/a11y/android_accessibility_forest_pb2.pyi +13 -0
  71. android_env/proto/a11y/android_accessibility_forest_pb2_grpc.py +24 -0
  72. android_env/proto/a11y/android_accessibility_node_info.proto +122 -0
  73. android_env/proto/a11y/android_accessibility_node_info_clickable_span.proto +49 -0
  74. android_env/proto/a11y/android_accessibility_node_info_clickable_span_pb2.py +39 -0
  75. android_env/proto/a11y/android_accessibility_node_info_clickable_span_pb2.pyi +28 -0
  76. android_env/proto/a11y/android_accessibility_node_info_clickable_span_pb2_grpc.py +24 -0
  77. android_env/proto/a11y/android_accessibility_node_info_pb2.py +42 -0
  78. android_env/proto/a11y/android_accessibility_node_info_pb2.pyi +75 -0
  79. android_env/proto/a11y/android_accessibility_node_info_pb2_grpc.py +24 -0
  80. android_env/proto/a11y/android_accessibility_tree.proto +29 -0
  81. android_env/proto/a11y/android_accessibility_tree_pb2.py +38 -0
  82. android_env/proto/a11y/android_accessibility_tree_pb2.pyi +13 -0
  83. android_env/proto/a11y/android_accessibility_tree_pb2_grpc.py +24 -0
  84. android_env/proto/a11y/android_accessibility_window_info.proto +84 -0
  85. android_env/proto/a11y/android_accessibility_window_info_pb2.py +41 -0
  86. android_env/proto/a11y/android_accessibility_window_info_pb2.pyi +48 -0
  87. android_env/proto/a11y/android_accessibility_window_info_pb2_grpc.py +24 -0
  88. android_env/proto/a11y/rect.proto +30 -0
  89. android_env/proto/a11y/rect_pb2.py +37 -0
  90. android_env/proto/a11y/rect_pb2.pyi +17 -0
  91. android_env/proto/a11y/rect_pb2_grpc.py +24 -0
  92. android_env/proto/adb.proto +17 -6
  93. android_env/proto/adb_pb2.py +120 -107
  94. android_env/proto/adb_pb2.pyi +396 -0
  95. android_env/proto/adb_pb2_grpc.py +20 -0
  96. android_env/proto/emulator_controller.proto +68 -63
  97. android_env/proto/emulator_controller_pb2.py +142 -131
  98. android_env/proto/emulator_controller_pb2.pyi +672 -0
  99. android_env/proto/emulator_controller_pb2_grpc.py +505 -142
  100. android_env/proto/snapshot.proto +169 -0
  101. android_env/proto/snapshot_pb2.py +47 -0
  102. android_env/proto/snapshot_pb2.pyi +117 -0
  103. android_env/proto/snapshot_pb2_grpc.py +24 -0
  104. android_env/proto/snapshot_service.proto +289 -0
  105. android_env/proto/snapshot_service_pb2.py +54 -0
  106. android_env/proto/snapshot_service_pb2.pyi +86 -0
  107. android_env/proto/snapshot_service_pb2_grpc.py +487 -0
  108. android_env/proto/state.proto +63 -0
  109. android_env/proto/state_pb2.py +63 -0
  110. android_env/proto/state_pb2.pyi +85 -0
  111. android_env/proto/state_pb2_grpc.py +24 -0
  112. android_env/proto/task.proto +5 -1
  113. android_env/proto/task_pb2.py +42 -31
  114. android_env/proto/task_pb2.pyi +160 -0
  115. android_env/proto/task_pb2_grpc.py +20 -0
  116. android_env/wrappers/__init__.py +1 -1
  117. android_env/wrappers/a11y_grpc_wrapper.py +500 -0
  118. android_env/wrappers/a11y_grpc_wrapper_test.py +849 -0
  119. android_env/wrappers/base_wrapper.py +34 -13
  120. android_env/wrappers/base_wrapper_test.py +22 -16
  121. android_env/wrappers/discrete_action_wrapper.py +18 -17
  122. android_env/wrappers/discrete_action_wrapper_test.py +4 -4
  123. android_env/wrappers/flat_interface_wrapper.py +5 -5
  124. android_env/wrappers/flat_interface_wrapper_test.py +7 -11
  125. android_env/wrappers/float_pixels_wrapper.py +9 -10
  126. android_env/wrappers/float_pixels_wrapper_test.py +3 -3
  127. android_env/wrappers/gym_wrapper.py +19 -13
  128. android_env/wrappers/gym_wrapper_test.py +3 -5
  129. android_env/wrappers/image_rescale_wrapper.py +18 -21
  130. android_env/wrappers/image_rescale_wrapper_test.py +25 -37
  131. android_env/wrappers/last_action_wrapper.py +16 -13
  132. android_env/wrappers/last_action_wrapper_test.py +44 -51
  133. android_env/wrappers/rate_limit_wrapper.py +6 -3
  134. android_env/wrappers/rate_limit_wrapper_test.py +22 -1
  135. android_env/wrappers/tap_action_wrapper.py +16 -17
  136. android_env/wrappers/tap_action_wrapper_test.py +51 -16
  137. {android_env-1.2.1.dist-info → android_env-1.2.3.dist-info}/METADATA +14 -18
  138. android_env-1.2.3.dist-info/RECORD +141 -0
  139. {android_env-1.2.1.dist-info → android_env-1.2.3.dist-info}/WHEEL +1 -1
  140. android_env/proto/raw_observation.proto +0 -39
  141. android_env/proto/raw_observation_pb2.py +0 -27
  142. android_env/proto/raw_observation_pb2_grpc.py +0 -4
  143. android_env-1.2.1.dist-info/RECORD +0 -81
  144. {android_env-1.2.1.dist-info → android_env-1.2.3.dist-info/licenses}/LICENSE +0 -0
  145. {android_env-1.2.1.dist-info → android_env-1.2.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,672 @@
1
+ from google.protobuf import empty_pb2 as _empty_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
4
+ from google.protobuf import descriptor as _descriptor
5
+ from google.protobuf import message as _message
6
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
7
+
8
+ DESCRIPTOR: _descriptor.FileDescriptor
9
+
10
+ class VmRunState(_message.Message):
11
+ __slots__ = ("state",)
12
+ class RunState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
13
+ __slots__ = ()
14
+ UNKNOWN: _ClassVar[VmRunState.RunState]
15
+ RUNNING: _ClassVar[VmRunState.RunState]
16
+ RESTORE_VM: _ClassVar[VmRunState.RunState]
17
+ PAUSED: _ClassVar[VmRunState.RunState]
18
+ SAVE_VM: _ClassVar[VmRunState.RunState]
19
+ SHUTDOWN: _ClassVar[VmRunState.RunState]
20
+ TERMINATE: _ClassVar[VmRunState.RunState]
21
+ RESET: _ClassVar[VmRunState.RunState]
22
+ INTERNAL_ERROR: _ClassVar[VmRunState.RunState]
23
+ UNKNOWN: VmRunState.RunState
24
+ RUNNING: VmRunState.RunState
25
+ RESTORE_VM: VmRunState.RunState
26
+ PAUSED: VmRunState.RunState
27
+ SAVE_VM: VmRunState.RunState
28
+ SHUTDOWN: VmRunState.RunState
29
+ TERMINATE: VmRunState.RunState
30
+ RESET: VmRunState.RunState
31
+ INTERNAL_ERROR: VmRunState.RunState
32
+ STATE_FIELD_NUMBER: _ClassVar[int]
33
+ state: VmRunState.RunState
34
+ def __init__(self, state: _Optional[_Union[VmRunState.RunState, str]] = ...) -> None: ...
35
+
36
+ class ParameterValue(_message.Message):
37
+ __slots__ = ("data",)
38
+ DATA_FIELD_NUMBER: _ClassVar[int]
39
+ data: _containers.RepeatedScalarFieldContainer[float]
40
+ def __init__(self, data: _Optional[_Iterable[float]] = ...) -> None: ...
41
+
42
+ class PhysicalModelValue(_message.Message):
43
+ __slots__ = ("target", "status", "value")
44
+ class State(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
45
+ __slots__ = ()
46
+ OK: _ClassVar[PhysicalModelValue.State]
47
+ NO_SERVICE: _ClassVar[PhysicalModelValue.State]
48
+ DISABLED: _ClassVar[PhysicalModelValue.State]
49
+ UNKNOWN: _ClassVar[PhysicalModelValue.State]
50
+ OK: PhysicalModelValue.State
51
+ NO_SERVICE: PhysicalModelValue.State
52
+ DISABLED: PhysicalModelValue.State
53
+ UNKNOWN: PhysicalModelValue.State
54
+ class PhysicalType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
55
+ __slots__ = ()
56
+ POSITION: _ClassVar[PhysicalModelValue.PhysicalType]
57
+ ROTATION: _ClassVar[PhysicalModelValue.PhysicalType]
58
+ MAGNETIC_FIELD: _ClassVar[PhysicalModelValue.PhysicalType]
59
+ TEMPERATURE: _ClassVar[PhysicalModelValue.PhysicalType]
60
+ PROXIMITY: _ClassVar[PhysicalModelValue.PhysicalType]
61
+ LIGHT: _ClassVar[PhysicalModelValue.PhysicalType]
62
+ PRESSURE: _ClassVar[PhysicalModelValue.PhysicalType]
63
+ HUMIDITY: _ClassVar[PhysicalModelValue.PhysicalType]
64
+ VELOCITY: _ClassVar[PhysicalModelValue.PhysicalType]
65
+ AMBIENT_MOTION: _ClassVar[PhysicalModelValue.PhysicalType]
66
+ HINGE_ANGLE0: _ClassVar[PhysicalModelValue.PhysicalType]
67
+ HINGE_ANGLE1: _ClassVar[PhysicalModelValue.PhysicalType]
68
+ HINGE_ANGLE2: _ClassVar[PhysicalModelValue.PhysicalType]
69
+ ROLLABLE0: _ClassVar[PhysicalModelValue.PhysicalType]
70
+ ROLLABLE1: _ClassVar[PhysicalModelValue.PhysicalType]
71
+ ROLLABLE2: _ClassVar[PhysicalModelValue.PhysicalType]
72
+ POSITION: PhysicalModelValue.PhysicalType
73
+ ROTATION: PhysicalModelValue.PhysicalType
74
+ MAGNETIC_FIELD: PhysicalModelValue.PhysicalType
75
+ TEMPERATURE: PhysicalModelValue.PhysicalType
76
+ PROXIMITY: PhysicalModelValue.PhysicalType
77
+ LIGHT: PhysicalModelValue.PhysicalType
78
+ PRESSURE: PhysicalModelValue.PhysicalType
79
+ HUMIDITY: PhysicalModelValue.PhysicalType
80
+ VELOCITY: PhysicalModelValue.PhysicalType
81
+ AMBIENT_MOTION: PhysicalModelValue.PhysicalType
82
+ HINGE_ANGLE0: PhysicalModelValue.PhysicalType
83
+ HINGE_ANGLE1: PhysicalModelValue.PhysicalType
84
+ HINGE_ANGLE2: PhysicalModelValue.PhysicalType
85
+ ROLLABLE0: PhysicalModelValue.PhysicalType
86
+ ROLLABLE1: PhysicalModelValue.PhysicalType
87
+ ROLLABLE2: PhysicalModelValue.PhysicalType
88
+ TARGET_FIELD_NUMBER: _ClassVar[int]
89
+ STATUS_FIELD_NUMBER: _ClassVar[int]
90
+ VALUE_FIELD_NUMBER: _ClassVar[int]
91
+ target: PhysicalModelValue.PhysicalType
92
+ status: PhysicalModelValue.State
93
+ value: ParameterValue
94
+ def __init__(self, target: _Optional[_Union[PhysicalModelValue.PhysicalType, str]] = ..., status: _Optional[_Union[PhysicalModelValue.State, str]] = ..., value: _Optional[_Union[ParameterValue, _Mapping]] = ...) -> None: ...
95
+
96
+ class SensorValue(_message.Message):
97
+ __slots__ = ("target", "status", "value")
98
+ class State(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
99
+ __slots__ = ()
100
+ OK: _ClassVar[SensorValue.State]
101
+ NO_SERVICE: _ClassVar[SensorValue.State]
102
+ DISABLED: _ClassVar[SensorValue.State]
103
+ UNKNOWN: _ClassVar[SensorValue.State]
104
+ OK: SensorValue.State
105
+ NO_SERVICE: SensorValue.State
106
+ DISABLED: SensorValue.State
107
+ UNKNOWN: SensorValue.State
108
+ class SensorType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
109
+ __slots__ = ()
110
+ ACCELERATION: _ClassVar[SensorValue.SensorType]
111
+ GYROSCOPE: _ClassVar[SensorValue.SensorType]
112
+ MAGNETIC_FIELD: _ClassVar[SensorValue.SensorType]
113
+ ORIENTATION: _ClassVar[SensorValue.SensorType]
114
+ TEMPERATURE: _ClassVar[SensorValue.SensorType]
115
+ PROXIMITY: _ClassVar[SensorValue.SensorType]
116
+ LIGHT: _ClassVar[SensorValue.SensorType]
117
+ PRESSURE: _ClassVar[SensorValue.SensorType]
118
+ HUMIDITY: _ClassVar[SensorValue.SensorType]
119
+ MAGNETIC_FIELD_UNCALIBRATED: _ClassVar[SensorValue.SensorType]
120
+ GYROSCOPE_UNCALIBRATED: _ClassVar[SensorValue.SensorType]
121
+ ACCELERATION: SensorValue.SensorType
122
+ GYROSCOPE: SensorValue.SensorType
123
+ MAGNETIC_FIELD: SensorValue.SensorType
124
+ ORIENTATION: SensorValue.SensorType
125
+ TEMPERATURE: SensorValue.SensorType
126
+ PROXIMITY: SensorValue.SensorType
127
+ LIGHT: SensorValue.SensorType
128
+ PRESSURE: SensorValue.SensorType
129
+ HUMIDITY: SensorValue.SensorType
130
+ MAGNETIC_FIELD_UNCALIBRATED: SensorValue.SensorType
131
+ GYROSCOPE_UNCALIBRATED: SensorValue.SensorType
132
+ TARGET_FIELD_NUMBER: _ClassVar[int]
133
+ STATUS_FIELD_NUMBER: _ClassVar[int]
134
+ VALUE_FIELD_NUMBER: _ClassVar[int]
135
+ target: SensorValue.SensorType
136
+ status: SensorValue.State
137
+ value: ParameterValue
138
+ def __init__(self, target: _Optional[_Union[SensorValue.SensorType, str]] = ..., status: _Optional[_Union[SensorValue.State, str]] = ..., value: _Optional[_Union[ParameterValue, _Mapping]] = ...) -> None: ...
139
+
140
+ class LogMessage(_message.Message):
141
+ __slots__ = ("contents", "start", "next", "sort", "entries")
142
+ class LogType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
143
+ __slots__ = ()
144
+ Text: _ClassVar[LogMessage.LogType]
145
+ Parsed: _ClassVar[LogMessage.LogType]
146
+ Text: LogMessage.LogType
147
+ Parsed: LogMessage.LogType
148
+ CONTENTS_FIELD_NUMBER: _ClassVar[int]
149
+ START_FIELD_NUMBER: _ClassVar[int]
150
+ NEXT_FIELD_NUMBER: _ClassVar[int]
151
+ SORT_FIELD_NUMBER: _ClassVar[int]
152
+ ENTRIES_FIELD_NUMBER: _ClassVar[int]
153
+ contents: str
154
+ start: int
155
+ next: int
156
+ sort: LogMessage.LogType
157
+ entries: _containers.RepeatedCompositeFieldContainer[LogcatEntry]
158
+ def __init__(self, contents: _Optional[str] = ..., start: _Optional[int] = ..., next: _Optional[int] = ..., sort: _Optional[_Union[LogMessage.LogType, str]] = ..., entries: _Optional[_Iterable[_Union[LogcatEntry, _Mapping]]] = ...) -> None: ...
159
+
160
+ class LogcatEntry(_message.Message):
161
+ __slots__ = ("timestamp", "pid", "tid", "level", "tag", "msg")
162
+ class LogLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
163
+ __slots__ = ()
164
+ UNKNOWN: _ClassVar[LogcatEntry.LogLevel]
165
+ DEFAULT: _ClassVar[LogcatEntry.LogLevel]
166
+ VERBOSE: _ClassVar[LogcatEntry.LogLevel]
167
+ DEBUG: _ClassVar[LogcatEntry.LogLevel]
168
+ INFO: _ClassVar[LogcatEntry.LogLevel]
169
+ WARN: _ClassVar[LogcatEntry.LogLevel]
170
+ ERR: _ClassVar[LogcatEntry.LogLevel]
171
+ FATAL: _ClassVar[LogcatEntry.LogLevel]
172
+ SILENT: _ClassVar[LogcatEntry.LogLevel]
173
+ UNKNOWN: LogcatEntry.LogLevel
174
+ DEFAULT: LogcatEntry.LogLevel
175
+ VERBOSE: LogcatEntry.LogLevel
176
+ DEBUG: LogcatEntry.LogLevel
177
+ INFO: LogcatEntry.LogLevel
178
+ WARN: LogcatEntry.LogLevel
179
+ ERR: LogcatEntry.LogLevel
180
+ FATAL: LogcatEntry.LogLevel
181
+ SILENT: LogcatEntry.LogLevel
182
+ TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
183
+ PID_FIELD_NUMBER: _ClassVar[int]
184
+ TID_FIELD_NUMBER: _ClassVar[int]
185
+ LEVEL_FIELD_NUMBER: _ClassVar[int]
186
+ TAG_FIELD_NUMBER: _ClassVar[int]
187
+ MSG_FIELD_NUMBER: _ClassVar[int]
188
+ timestamp: int
189
+ pid: int
190
+ tid: int
191
+ level: LogcatEntry.LogLevel
192
+ tag: str
193
+ msg: str
194
+ def __init__(self, timestamp: _Optional[int] = ..., pid: _Optional[int] = ..., tid: _Optional[int] = ..., level: _Optional[_Union[LogcatEntry.LogLevel, str]] = ..., tag: _Optional[str] = ..., msg: _Optional[str] = ...) -> None: ...
195
+
196
+ class VmConfiguration(_message.Message):
197
+ __slots__ = ("hypervisorType", "numberOfCpuCores", "ramSizeBytes")
198
+ class VmHypervisorType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
199
+ __slots__ = ()
200
+ UNKNOWN: _ClassVar[VmConfiguration.VmHypervisorType]
201
+ NONE: _ClassVar[VmConfiguration.VmHypervisorType]
202
+ KVM: _ClassVar[VmConfiguration.VmHypervisorType]
203
+ HAXM: _ClassVar[VmConfiguration.VmHypervisorType]
204
+ HVF: _ClassVar[VmConfiguration.VmHypervisorType]
205
+ WHPX: _ClassVar[VmConfiguration.VmHypervisorType]
206
+ GVM: _ClassVar[VmConfiguration.VmHypervisorType]
207
+ UNKNOWN: VmConfiguration.VmHypervisorType
208
+ NONE: VmConfiguration.VmHypervisorType
209
+ KVM: VmConfiguration.VmHypervisorType
210
+ HAXM: VmConfiguration.VmHypervisorType
211
+ HVF: VmConfiguration.VmHypervisorType
212
+ WHPX: VmConfiguration.VmHypervisorType
213
+ GVM: VmConfiguration.VmHypervisorType
214
+ HYPERVISORTYPE_FIELD_NUMBER: _ClassVar[int]
215
+ NUMBEROFCPUCORES_FIELD_NUMBER: _ClassVar[int]
216
+ RAMSIZEBYTES_FIELD_NUMBER: _ClassVar[int]
217
+ hypervisorType: VmConfiguration.VmHypervisorType
218
+ numberOfCpuCores: int
219
+ ramSizeBytes: int
220
+ def __init__(self, hypervisorType: _Optional[_Union[VmConfiguration.VmHypervisorType, str]] = ..., numberOfCpuCores: _Optional[int] = ..., ramSizeBytes: _Optional[int] = ...) -> None: ...
221
+
222
+ class ClipData(_message.Message):
223
+ __slots__ = ("text",)
224
+ TEXT_FIELD_NUMBER: _ClassVar[int]
225
+ text: str
226
+ def __init__(self, text: _Optional[str] = ...) -> None: ...
227
+
228
+ class Touch(_message.Message):
229
+ __slots__ = ("x", "y", "identifier", "pressure", "touch_major", "touch_minor", "expiration")
230
+ class EventExpiration(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
231
+ __slots__ = ()
232
+ EVENT_EXPIRATION_UNSPECIFIED: _ClassVar[Touch.EventExpiration]
233
+ NEVER_EXPIRE: _ClassVar[Touch.EventExpiration]
234
+ EVENT_EXPIRATION_UNSPECIFIED: Touch.EventExpiration
235
+ NEVER_EXPIRE: Touch.EventExpiration
236
+ X_FIELD_NUMBER: _ClassVar[int]
237
+ Y_FIELD_NUMBER: _ClassVar[int]
238
+ IDENTIFIER_FIELD_NUMBER: _ClassVar[int]
239
+ PRESSURE_FIELD_NUMBER: _ClassVar[int]
240
+ TOUCH_MAJOR_FIELD_NUMBER: _ClassVar[int]
241
+ TOUCH_MINOR_FIELD_NUMBER: _ClassVar[int]
242
+ EXPIRATION_FIELD_NUMBER: _ClassVar[int]
243
+ x: int
244
+ y: int
245
+ identifier: int
246
+ pressure: int
247
+ touch_major: int
248
+ touch_minor: int
249
+ expiration: Touch.EventExpiration
250
+ def __init__(self, x: _Optional[int] = ..., y: _Optional[int] = ..., identifier: _Optional[int] = ..., pressure: _Optional[int] = ..., touch_major: _Optional[int] = ..., touch_minor: _Optional[int] = ..., expiration: _Optional[_Union[Touch.EventExpiration, str]] = ...) -> None: ...
251
+
252
+ class TouchEvent(_message.Message):
253
+ __slots__ = ("touches", "display")
254
+ TOUCHES_FIELD_NUMBER: _ClassVar[int]
255
+ DISPLAY_FIELD_NUMBER: _ClassVar[int]
256
+ touches: _containers.RepeatedCompositeFieldContainer[Touch]
257
+ display: int
258
+ def __init__(self, touches: _Optional[_Iterable[_Union[Touch, _Mapping]]] = ..., display: _Optional[int] = ...) -> None: ...
259
+
260
+ class MouseEvent(_message.Message):
261
+ __slots__ = ("x", "y", "buttons", "display")
262
+ X_FIELD_NUMBER: _ClassVar[int]
263
+ Y_FIELD_NUMBER: _ClassVar[int]
264
+ BUTTONS_FIELD_NUMBER: _ClassVar[int]
265
+ DISPLAY_FIELD_NUMBER: _ClassVar[int]
266
+ x: int
267
+ y: int
268
+ buttons: int
269
+ display: int
270
+ def __init__(self, x: _Optional[int] = ..., y: _Optional[int] = ..., buttons: _Optional[int] = ..., display: _Optional[int] = ...) -> None: ...
271
+
272
+ class KeyboardEvent(_message.Message):
273
+ __slots__ = ("codeType", "eventType", "keyCode", "key", "text")
274
+ class KeyCodeType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
275
+ __slots__ = ()
276
+ Usb: _ClassVar[KeyboardEvent.KeyCodeType]
277
+ Evdev: _ClassVar[KeyboardEvent.KeyCodeType]
278
+ XKB: _ClassVar[KeyboardEvent.KeyCodeType]
279
+ Win: _ClassVar[KeyboardEvent.KeyCodeType]
280
+ Mac: _ClassVar[KeyboardEvent.KeyCodeType]
281
+ Usb: KeyboardEvent.KeyCodeType
282
+ Evdev: KeyboardEvent.KeyCodeType
283
+ XKB: KeyboardEvent.KeyCodeType
284
+ Win: KeyboardEvent.KeyCodeType
285
+ Mac: KeyboardEvent.KeyCodeType
286
+ class KeyEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
287
+ __slots__ = ()
288
+ keydown: _ClassVar[KeyboardEvent.KeyEventType]
289
+ keyup: _ClassVar[KeyboardEvent.KeyEventType]
290
+ keypress: _ClassVar[KeyboardEvent.KeyEventType]
291
+ keydown: KeyboardEvent.KeyEventType
292
+ keyup: KeyboardEvent.KeyEventType
293
+ keypress: KeyboardEvent.KeyEventType
294
+ CODETYPE_FIELD_NUMBER: _ClassVar[int]
295
+ EVENTTYPE_FIELD_NUMBER: _ClassVar[int]
296
+ KEYCODE_FIELD_NUMBER: _ClassVar[int]
297
+ KEY_FIELD_NUMBER: _ClassVar[int]
298
+ TEXT_FIELD_NUMBER: _ClassVar[int]
299
+ codeType: KeyboardEvent.KeyCodeType
300
+ eventType: KeyboardEvent.KeyEventType
301
+ keyCode: int
302
+ key: str
303
+ text: str
304
+ def __init__(self, codeType: _Optional[_Union[KeyboardEvent.KeyCodeType, str]] = ..., eventType: _Optional[_Union[KeyboardEvent.KeyEventType, str]] = ..., keyCode: _Optional[int] = ..., key: _Optional[str] = ..., text: _Optional[str] = ...) -> None: ...
305
+
306
+ class Fingerprint(_message.Message):
307
+ __slots__ = ("isTouching", "touchId")
308
+ ISTOUCHING_FIELD_NUMBER: _ClassVar[int]
309
+ TOUCHID_FIELD_NUMBER: _ClassVar[int]
310
+ isTouching: bool
311
+ touchId: int
312
+ def __init__(self, isTouching: bool = ..., touchId: _Optional[int] = ...) -> None: ...
313
+
314
+ class GpsState(_message.Message):
315
+ __slots__ = ("passiveUpdate", "latitude", "longitude", "speed", "bearing", "altitude", "satellites")
316
+ PASSIVEUPDATE_FIELD_NUMBER: _ClassVar[int]
317
+ LATITUDE_FIELD_NUMBER: _ClassVar[int]
318
+ LONGITUDE_FIELD_NUMBER: _ClassVar[int]
319
+ SPEED_FIELD_NUMBER: _ClassVar[int]
320
+ BEARING_FIELD_NUMBER: _ClassVar[int]
321
+ ALTITUDE_FIELD_NUMBER: _ClassVar[int]
322
+ SATELLITES_FIELD_NUMBER: _ClassVar[int]
323
+ passiveUpdate: bool
324
+ latitude: float
325
+ longitude: float
326
+ speed: float
327
+ bearing: float
328
+ altitude: float
329
+ satellites: int
330
+ def __init__(self, passiveUpdate: bool = ..., latitude: _Optional[float] = ..., longitude: _Optional[float] = ..., speed: _Optional[float] = ..., bearing: _Optional[float] = ..., altitude: _Optional[float] = ..., satellites: _Optional[int] = ...) -> None: ...
331
+
332
+ class BatteryState(_message.Message):
333
+ __slots__ = ("hasBattery", "isPresent", "charger", "chargeLevel", "health", "status")
334
+ class BatteryStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
335
+ __slots__ = ()
336
+ UNKNOWN: _ClassVar[BatteryState.BatteryStatus]
337
+ CHARGING: _ClassVar[BatteryState.BatteryStatus]
338
+ DISCHARGING: _ClassVar[BatteryState.BatteryStatus]
339
+ NOT_CHARGING: _ClassVar[BatteryState.BatteryStatus]
340
+ FULL: _ClassVar[BatteryState.BatteryStatus]
341
+ UNKNOWN: BatteryState.BatteryStatus
342
+ CHARGING: BatteryState.BatteryStatus
343
+ DISCHARGING: BatteryState.BatteryStatus
344
+ NOT_CHARGING: BatteryState.BatteryStatus
345
+ FULL: BatteryState.BatteryStatus
346
+ class BatteryCharger(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
347
+ __slots__ = ()
348
+ NONE: _ClassVar[BatteryState.BatteryCharger]
349
+ AC: _ClassVar[BatteryState.BatteryCharger]
350
+ USB: _ClassVar[BatteryState.BatteryCharger]
351
+ WIRELESS: _ClassVar[BatteryState.BatteryCharger]
352
+ NONE: BatteryState.BatteryCharger
353
+ AC: BatteryState.BatteryCharger
354
+ USB: BatteryState.BatteryCharger
355
+ WIRELESS: BatteryState.BatteryCharger
356
+ class BatteryHealth(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
357
+ __slots__ = ()
358
+ GOOD: _ClassVar[BatteryState.BatteryHealth]
359
+ FAILED: _ClassVar[BatteryState.BatteryHealth]
360
+ DEAD: _ClassVar[BatteryState.BatteryHealth]
361
+ OVERVOLTAGE: _ClassVar[BatteryState.BatteryHealth]
362
+ OVERHEATED: _ClassVar[BatteryState.BatteryHealth]
363
+ GOOD: BatteryState.BatteryHealth
364
+ FAILED: BatteryState.BatteryHealth
365
+ DEAD: BatteryState.BatteryHealth
366
+ OVERVOLTAGE: BatteryState.BatteryHealth
367
+ OVERHEATED: BatteryState.BatteryHealth
368
+ HASBATTERY_FIELD_NUMBER: _ClassVar[int]
369
+ ISPRESENT_FIELD_NUMBER: _ClassVar[int]
370
+ CHARGER_FIELD_NUMBER: _ClassVar[int]
371
+ CHARGELEVEL_FIELD_NUMBER: _ClassVar[int]
372
+ HEALTH_FIELD_NUMBER: _ClassVar[int]
373
+ STATUS_FIELD_NUMBER: _ClassVar[int]
374
+ hasBattery: bool
375
+ isPresent: bool
376
+ charger: BatteryState.BatteryCharger
377
+ chargeLevel: int
378
+ health: BatteryState.BatteryHealth
379
+ status: BatteryState.BatteryStatus
380
+ def __init__(self, hasBattery: bool = ..., isPresent: bool = ..., charger: _Optional[_Union[BatteryState.BatteryCharger, str]] = ..., chargeLevel: _Optional[int] = ..., health: _Optional[_Union[BatteryState.BatteryHealth, str]] = ..., status: _Optional[_Union[BatteryState.BatteryStatus, str]] = ...) -> None: ...
381
+
382
+ class ImageTransport(_message.Message):
383
+ __slots__ = ("channel", "handle")
384
+ class TransportChannel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
385
+ __slots__ = ()
386
+ TRANSPORT_CHANNEL_UNSPECIFIED: _ClassVar[ImageTransport.TransportChannel]
387
+ MMAP: _ClassVar[ImageTransport.TransportChannel]
388
+ TRANSPORT_CHANNEL_UNSPECIFIED: ImageTransport.TransportChannel
389
+ MMAP: ImageTransport.TransportChannel
390
+ CHANNEL_FIELD_NUMBER: _ClassVar[int]
391
+ HANDLE_FIELD_NUMBER: _ClassVar[int]
392
+ channel: ImageTransport.TransportChannel
393
+ handle: str
394
+ def __init__(self, channel: _Optional[_Union[ImageTransport.TransportChannel, str]] = ..., handle: _Optional[str] = ...) -> None: ...
395
+
396
+ class FoldedDisplay(_message.Message):
397
+ __slots__ = ("width", "height", "xOffset", "yOffset")
398
+ WIDTH_FIELD_NUMBER: _ClassVar[int]
399
+ HEIGHT_FIELD_NUMBER: _ClassVar[int]
400
+ XOFFSET_FIELD_NUMBER: _ClassVar[int]
401
+ YOFFSET_FIELD_NUMBER: _ClassVar[int]
402
+ width: int
403
+ height: int
404
+ xOffset: int
405
+ yOffset: int
406
+ def __init__(self, width: _Optional[int] = ..., height: _Optional[int] = ..., xOffset: _Optional[int] = ..., yOffset: _Optional[int] = ...) -> None: ...
407
+
408
+ class ImageFormat(_message.Message):
409
+ __slots__ = ("format", "rotation", "width", "height", "display", "transport", "foldedDisplay")
410
+ class ImgFormat(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
411
+ __slots__ = ()
412
+ PNG: _ClassVar[ImageFormat.ImgFormat]
413
+ RGBA8888: _ClassVar[ImageFormat.ImgFormat]
414
+ RGB888: _ClassVar[ImageFormat.ImgFormat]
415
+ PNG: ImageFormat.ImgFormat
416
+ RGBA8888: ImageFormat.ImgFormat
417
+ RGB888: ImageFormat.ImgFormat
418
+ FORMAT_FIELD_NUMBER: _ClassVar[int]
419
+ ROTATION_FIELD_NUMBER: _ClassVar[int]
420
+ WIDTH_FIELD_NUMBER: _ClassVar[int]
421
+ HEIGHT_FIELD_NUMBER: _ClassVar[int]
422
+ DISPLAY_FIELD_NUMBER: _ClassVar[int]
423
+ TRANSPORT_FIELD_NUMBER: _ClassVar[int]
424
+ FOLDEDDISPLAY_FIELD_NUMBER: _ClassVar[int]
425
+ format: ImageFormat.ImgFormat
426
+ rotation: Rotation
427
+ width: int
428
+ height: int
429
+ display: int
430
+ transport: ImageTransport
431
+ foldedDisplay: FoldedDisplay
432
+ def __init__(self, format: _Optional[_Union[ImageFormat.ImgFormat, str]] = ..., rotation: _Optional[_Union[Rotation, _Mapping]] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., display: _Optional[int] = ..., transport: _Optional[_Union[ImageTransport, _Mapping]] = ..., foldedDisplay: _Optional[_Union[FoldedDisplay, _Mapping]] = ...) -> None: ...
433
+
434
+ class Image(_message.Message):
435
+ __slots__ = ("format", "width", "height", "image", "seq", "timestampUs")
436
+ FORMAT_FIELD_NUMBER: _ClassVar[int]
437
+ WIDTH_FIELD_NUMBER: _ClassVar[int]
438
+ HEIGHT_FIELD_NUMBER: _ClassVar[int]
439
+ IMAGE_FIELD_NUMBER: _ClassVar[int]
440
+ SEQ_FIELD_NUMBER: _ClassVar[int]
441
+ TIMESTAMPUS_FIELD_NUMBER: _ClassVar[int]
442
+ format: ImageFormat
443
+ width: int
444
+ height: int
445
+ image: bytes
446
+ seq: int
447
+ timestampUs: int
448
+ def __init__(self, format: _Optional[_Union[ImageFormat, _Mapping]] = ..., width: _Optional[int] = ..., height: _Optional[int] = ..., image: _Optional[bytes] = ..., seq: _Optional[int] = ..., timestampUs: _Optional[int] = ...) -> None: ...
449
+
450
+ class Rotation(_message.Message):
451
+ __slots__ = ("rotation", "xAxis", "yAxis", "zAxis")
452
+ class SkinRotation(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
453
+ __slots__ = ()
454
+ PORTRAIT: _ClassVar[Rotation.SkinRotation]
455
+ LANDSCAPE: _ClassVar[Rotation.SkinRotation]
456
+ REVERSE_PORTRAIT: _ClassVar[Rotation.SkinRotation]
457
+ REVERSE_LANDSCAPE: _ClassVar[Rotation.SkinRotation]
458
+ PORTRAIT: Rotation.SkinRotation
459
+ LANDSCAPE: Rotation.SkinRotation
460
+ REVERSE_PORTRAIT: Rotation.SkinRotation
461
+ REVERSE_LANDSCAPE: Rotation.SkinRotation
462
+ ROTATION_FIELD_NUMBER: _ClassVar[int]
463
+ XAXIS_FIELD_NUMBER: _ClassVar[int]
464
+ YAXIS_FIELD_NUMBER: _ClassVar[int]
465
+ ZAXIS_FIELD_NUMBER: _ClassVar[int]
466
+ rotation: Rotation.SkinRotation
467
+ xAxis: float
468
+ yAxis: float
469
+ zAxis: float
470
+ def __init__(self, rotation: _Optional[_Union[Rotation.SkinRotation, str]] = ..., xAxis: _Optional[float] = ..., yAxis: _Optional[float] = ..., zAxis: _Optional[float] = ...) -> None: ...
471
+
472
+ class PhoneCall(_message.Message):
473
+ __slots__ = ("operation", "number")
474
+ class Operation(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
475
+ __slots__ = ()
476
+ InitCall: _ClassVar[PhoneCall.Operation]
477
+ AcceptCall: _ClassVar[PhoneCall.Operation]
478
+ RejectCallExplicit: _ClassVar[PhoneCall.Operation]
479
+ RejectCallBusy: _ClassVar[PhoneCall.Operation]
480
+ DisconnectCall: _ClassVar[PhoneCall.Operation]
481
+ PlaceCallOnHold: _ClassVar[PhoneCall.Operation]
482
+ TakeCallOffHold: _ClassVar[PhoneCall.Operation]
483
+ InitCall: PhoneCall.Operation
484
+ AcceptCall: PhoneCall.Operation
485
+ RejectCallExplicit: PhoneCall.Operation
486
+ RejectCallBusy: PhoneCall.Operation
487
+ DisconnectCall: PhoneCall.Operation
488
+ PlaceCallOnHold: PhoneCall.Operation
489
+ TakeCallOffHold: PhoneCall.Operation
490
+ OPERATION_FIELD_NUMBER: _ClassVar[int]
491
+ NUMBER_FIELD_NUMBER: _ClassVar[int]
492
+ operation: PhoneCall.Operation
493
+ number: str
494
+ def __init__(self, operation: _Optional[_Union[PhoneCall.Operation, str]] = ..., number: _Optional[str] = ...) -> None: ...
495
+
496
+ class PhoneResponse(_message.Message):
497
+ __slots__ = ("response",)
498
+ class Response(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
499
+ __slots__ = ()
500
+ OK: _ClassVar[PhoneResponse.Response]
501
+ BadOperation: _ClassVar[PhoneResponse.Response]
502
+ BadNumber: _ClassVar[PhoneResponse.Response]
503
+ InvalidAction: _ClassVar[PhoneResponse.Response]
504
+ ActionFailed: _ClassVar[PhoneResponse.Response]
505
+ RadioOff: _ClassVar[PhoneResponse.Response]
506
+ OK: PhoneResponse.Response
507
+ BadOperation: PhoneResponse.Response
508
+ BadNumber: PhoneResponse.Response
509
+ InvalidAction: PhoneResponse.Response
510
+ ActionFailed: PhoneResponse.Response
511
+ RadioOff: PhoneResponse.Response
512
+ RESPONSE_FIELD_NUMBER: _ClassVar[int]
513
+ response: PhoneResponse.Response
514
+ def __init__(self, response: _Optional[_Union[PhoneResponse.Response, str]] = ...) -> None: ...
515
+
516
+ class Entry(_message.Message):
517
+ __slots__ = ("key", "value")
518
+ KEY_FIELD_NUMBER: _ClassVar[int]
519
+ VALUE_FIELD_NUMBER: _ClassVar[int]
520
+ key: str
521
+ value: str
522
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
523
+
524
+ class EntryList(_message.Message):
525
+ __slots__ = ("entry",)
526
+ ENTRY_FIELD_NUMBER: _ClassVar[int]
527
+ entry: _containers.RepeatedCompositeFieldContainer[Entry]
528
+ def __init__(self, entry: _Optional[_Iterable[_Union[Entry, _Mapping]]] = ...) -> None: ...
529
+
530
+ class EmulatorStatus(_message.Message):
531
+ __slots__ = ("version", "uptime", "booted", "vmConfig", "hardwareConfig")
532
+ VERSION_FIELD_NUMBER: _ClassVar[int]
533
+ UPTIME_FIELD_NUMBER: _ClassVar[int]
534
+ BOOTED_FIELD_NUMBER: _ClassVar[int]
535
+ VMCONFIG_FIELD_NUMBER: _ClassVar[int]
536
+ HARDWARECONFIG_FIELD_NUMBER: _ClassVar[int]
537
+ version: str
538
+ uptime: int
539
+ booted: bool
540
+ vmConfig: VmConfiguration
541
+ hardwareConfig: EntryList
542
+ def __init__(self, version: _Optional[str] = ..., uptime: _Optional[int] = ..., booted: bool = ..., vmConfig: _Optional[_Union[VmConfiguration, _Mapping]] = ..., hardwareConfig: _Optional[_Union[EntryList, _Mapping]] = ...) -> None: ...
543
+
544
+ class AudioFormat(_message.Message):
545
+ __slots__ = ("samplingRate", "channels", "format")
546
+ class SampleFormat(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
547
+ __slots__ = ()
548
+ AUD_FMT_U8: _ClassVar[AudioFormat.SampleFormat]
549
+ AUD_FMT_S16: _ClassVar[AudioFormat.SampleFormat]
550
+ AUD_FMT_U8: AudioFormat.SampleFormat
551
+ AUD_FMT_S16: AudioFormat.SampleFormat
552
+ class Channels(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
553
+ __slots__ = ()
554
+ Mono: _ClassVar[AudioFormat.Channels]
555
+ Stereo: _ClassVar[AudioFormat.Channels]
556
+ Mono: AudioFormat.Channels
557
+ Stereo: AudioFormat.Channels
558
+ SAMPLINGRATE_FIELD_NUMBER: _ClassVar[int]
559
+ CHANNELS_FIELD_NUMBER: _ClassVar[int]
560
+ FORMAT_FIELD_NUMBER: _ClassVar[int]
561
+ samplingRate: int
562
+ channels: AudioFormat.Channels
563
+ format: AudioFormat.SampleFormat
564
+ def __init__(self, samplingRate: _Optional[int] = ..., channels: _Optional[_Union[AudioFormat.Channels, str]] = ..., format: _Optional[_Union[AudioFormat.SampleFormat, str]] = ...) -> None: ...
565
+
566
+ class AudioPacket(_message.Message):
567
+ __slots__ = ("format", "timestamp", "audio")
568
+ FORMAT_FIELD_NUMBER: _ClassVar[int]
569
+ TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
570
+ AUDIO_FIELD_NUMBER: _ClassVar[int]
571
+ format: AudioFormat
572
+ timestamp: int
573
+ audio: bytes
574
+ def __init__(self, format: _Optional[_Union[AudioFormat, _Mapping]] = ..., timestamp: _Optional[int] = ..., audio: _Optional[bytes] = ...) -> None: ...
575
+
576
+ class SmsMessage(_message.Message):
577
+ __slots__ = ("srcAddress", "text")
578
+ SRCADDRESS_FIELD_NUMBER: _ClassVar[int]
579
+ TEXT_FIELD_NUMBER: _ClassVar[int]
580
+ srcAddress: str
581
+ text: str
582
+ def __init__(self, srcAddress: _Optional[str] = ..., text: _Optional[str] = ...) -> None: ...
583
+
584
+ class DisplayConfiguration(_message.Message):
585
+ __slots__ = ("width", "height", "dpi", "flags", "display")
586
+ class DisplayFlags(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
587
+ __slots__ = ()
588
+ DISPLAYFLAGS_UNSPECIFIED: _ClassVar[DisplayConfiguration.DisplayFlags]
589
+ VIRTUAL_DISPLAY_FLAG_PUBLIC: _ClassVar[DisplayConfiguration.DisplayFlags]
590
+ VIRTUAL_DISPLAY_FLAG_PRESENTATION: _ClassVar[DisplayConfiguration.DisplayFlags]
591
+ VIRTUAL_DISPLAY_FLAG_SECURE: _ClassVar[DisplayConfiguration.DisplayFlags]
592
+ VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY: _ClassVar[DisplayConfiguration.DisplayFlags]
593
+ VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR: _ClassVar[DisplayConfiguration.DisplayFlags]
594
+ DISPLAYFLAGS_UNSPECIFIED: DisplayConfiguration.DisplayFlags
595
+ VIRTUAL_DISPLAY_FLAG_PUBLIC: DisplayConfiguration.DisplayFlags
596
+ VIRTUAL_DISPLAY_FLAG_PRESENTATION: DisplayConfiguration.DisplayFlags
597
+ VIRTUAL_DISPLAY_FLAG_SECURE: DisplayConfiguration.DisplayFlags
598
+ VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY: DisplayConfiguration.DisplayFlags
599
+ VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR: DisplayConfiguration.DisplayFlags
600
+ WIDTH_FIELD_NUMBER: _ClassVar[int]
601
+ HEIGHT_FIELD_NUMBER: _ClassVar[int]
602
+ DPI_FIELD_NUMBER: _ClassVar[int]
603
+ FLAGS_FIELD_NUMBER: _ClassVar[int]
604
+ DISPLAY_FIELD_NUMBER: _ClassVar[int]
605
+ width: int
606
+ height: int
607
+ dpi: int
608
+ flags: int
609
+ display: int
610
+ def __init__(self, width: _Optional[int] = ..., height: _Optional[int] = ..., dpi: _Optional[int] = ..., flags: _Optional[int] = ..., display: _Optional[int] = ...) -> None: ...
611
+
612
+ class DisplayConfigurations(_message.Message):
613
+ __slots__ = ("displays",)
614
+ DISPLAYS_FIELD_NUMBER: _ClassVar[int]
615
+ displays: _containers.RepeatedCompositeFieldContainer[DisplayConfiguration]
616
+ def __init__(self, displays: _Optional[_Iterable[_Union[DisplayConfiguration, _Mapping]]] = ...) -> None: ...
617
+
618
+ class Notification(_message.Message):
619
+ __slots__ = ("event",)
620
+ class EventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
621
+ __slots__ = ()
622
+ VIRTUAL_SCENE_CAMERA_INACTIVE: _ClassVar[Notification.EventType]
623
+ VIRTUAL_SCENE_CAMERA_ACTIVE: _ClassVar[Notification.EventType]
624
+ DISPLAY_CONFIGURATIONS_CHANGED_UI: _ClassVar[Notification.EventType]
625
+ VIRTUAL_SCENE_CAMERA_INACTIVE: Notification.EventType
626
+ VIRTUAL_SCENE_CAMERA_ACTIVE: Notification.EventType
627
+ DISPLAY_CONFIGURATIONS_CHANGED_UI: Notification.EventType
628
+ EVENT_FIELD_NUMBER: _ClassVar[int]
629
+ event: Notification.EventType
630
+ def __init__(self, event: _Optional[_Union[Notification.EventType, str]] = ...) -> None: ...
631
+
632
+ class RotationRadian(_message.Message):
633
+ __slots__ = ("x", "y", "z")
634
+ X_FIELD_NUMBER: _ClassVar[int]
635
+ Y_FIELD_NUMBER: _ClassVar[int]
636
+ Z_FIELD_NUMBER: _ClassVar[int]
637
+ x: float
638
+ y: float
639
+ z: float
640
+ def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ...) -> None: ...
641
+
642
+ class Velocity(_message.Message):
643
+ __slots__ = ("x", "y", "z")
644
+ X_FIELD_NUMBER: _ClassVar[int]
645
+ Y_FIELD_NUMBER: _ClassVar[int]
646
+ Z_FIELD_NUMBER: _ClassVar[int]
647
+ x: float
648
+ y: float
649
+ z: float
650
+ def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ...) -> None: ...
651
+
652
+ class Posture(_message.Message):
653
+ __slots__ = ("value",)
654
+ class PostureValue(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
655
+ __slots__ = ()
656
+ POSTURE_UNKNOWN: _ClassVar[Posture.PostureValue]
657
+ POSTURE_CLOSED: _ClassVar[Posture.PostureValue]
658
+ POSTURE_HALF_OPENED: _ClassVar[Posture.PostureValue]
659
+ POSTURE_OPENED: _ClassVar[Posture.PostureValue]
660
+ POSTURE_FLIPPED: _ClassVar[Posture.PostureValue]
661
+ POSTURE_TENT: _ClassVar[Posture.PostureValue]
662
+ POSTURE_MAX: _ClassVar[Posture.PostureValue]
663
+ POSTURE_UNKNOWN: Posture.PostureValue
664
+ POSTURE_CLOSED: Posture.PostureValue
665
+ POSTURE_HALF_OPENED: Posture.PostureValue
666
+ POSTURE_OPENED: Posture.PostureValue
667
+ POSTURE_FLIPPED: Posture.PostureValue
668
+ POSTURE_TENT: Posture.PostureValue
669
+ POSTURE_MAX: Posture.PostureValue
670
+ VALUE_FIELD_NUMBER: _ClassVar[int]
671
+ value: Posture.PostureValue
672
+ def __init__(self, value: _Optional[_Union[Posture.PostureValue, str]] = ...) -> None: ...