1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
ash / components / arc / mojom / arc_bridge.mojom [blame]
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module arc.mojom;
import "services/accessibility/android/public/mojom/accessibility_helper.mojom";
import "ash/components/arc/mojom/adbd.mojom";
import "ash/components/arc/mojom/appfuse.mojom";
import "ash/components/arc/mojom/app.mojom";
import "ash/components/arc/mojom/app_permissions.mojom";
import "ash/components/arc/mojom/arc_wifi.mojom";
import "ash/components/arc/mojom/audio.mojom";
import "ash/components/arc/mojom/auth.mojom";
import "ash/components/arc/mojom/backup_settings.mojom";
import "ash/components/arc/mojom/bluetooth.mojom";
import "ash/components/arc/mojom/boot_phase_monitor.mojom";
import "ash/components/arc/mojom/camera.mojom";
import "ash/components/arc/mojom/chrome_feature_flags.mojom";
import "ash/components/arc/mojom/compatibility_mode.mojom";
import "ash/components/arc/mojom/crash_collector.mojom";
import "ash/components/arc/mojom/crosh.mojom";
import "ash/components/arc/mojom/digital_goods.mojom";
import "ash/components/arc/mojom/disk_space.mojom";
import "ash/components/arc/mojom/enterprise_reporting.mojom";
import "ash/components/arc/mojom/error_notification.mojom";
import "ash/components/arc/mojom/file_system.mojom";
import "ash/components/arc/mojom/iio_sensor.mojom";
import "ash/components/arc/mojom/ime.mojom";
import "ash/components/arc/mojom/input_method_manager.mojom";
import "ash/components/arc/mojom/intent_helper.mojom";
import "ash/components/arc/mojom/keymaster.mojom";
import "ash/components/arc/mojom/keymint.mojom";
import "ash/components/arc/mojom/media_session.mojom";
import "ash/components/arc/mojom/memory.mojom";
import "ash/components/arc/mojom/metrics.mojom";
import "ash/components/arc/mojom/midis.mojom";
import "ash/components/arc/mojom/nearby_share.mojom";
import "ash/components/arc/mojom/net.mojom";
import "ash/components/arc/mojom/notifications.mojom";
import "ash/components/arc/mojom/obb_mounter.mojom";
import "ash/components/arc/mojom/oemcrypto.mojom";
import "ash/components/arc/mojom/on_device_safety.mojom";
import "ash/components/arc/mojom/pip.mojom";
import "ash/components/arc/mojom/policy.mojom";
import "ash/components/arc/mojom/power.mojom";
import "ash/components/arc/mojom/print_spooler.mojom";
import "ash/components/arc/mojom/privacy_items.mojom";
import "ash/components/arc/mojom/process.mojom";
import "ash/components/arc/mojom/screen_capture.mojom";
import "ash/components/arc/mojom/sharesheet.mojom";
import "ash/components/arc/mojom/system_state.mojom";
import "ash/components/arc/mojom/system_ui.mojom";
import "ash/components/arc/mojom/timer.mojom";
import "ash/components/arc/mojom/tracing.mojom";
import "ash/components/arc/mojom/tts.mojom";
import "ash/components/arc/mojom/usb_host.mojom";
import "ash/components/arc/mojom/video.mojom";
import "ash/components/arc/mojom/volume_mounter.mojom";
import "ash/components/arc/mojom/wake_lock.mojom";
import "ash/components/arc/mojom/wallpaper.mojom";
import "ash/components/arc/mojom/webapk.mojom";
import "chromeos/components/payments/mojom/payment_app.mojom";
// Next MinVersion: 70
// Deprecated method IDs: 101, 105, 109, 118, 121, 126, 132, 134, 136, 137, 147,
// 153, 154, 160, 165
// Next method ID: 175
[Uuid="1defbc6a-5e24-46bd-9117-3b2f106d7e7a"]
interface ArcBridgeHost {
// Keep the entries alphabetical. In order to do so without breaking
// compatibility with the ARC instance, explicitly assign each interface a
// unique ordinal.
// Notifies Chrome that the AccessibilityHelperInstance interface is ready.
[MinVersion=21] OnAccessibilityHelperInstanceReady@127(
pending_remote<ax.android.mojom.AccessibilityHelperInstance>
instance_remote);
// Notifies Chrome that the AdbdMonitorInstance interface is ready.
[MinVersion=53] OnAdbdMonitorInstanceReady@158(
pending_remote<AdbdMonitorInstance> instance_remote);
// Notifies Chrome that the AppInstance interface is ready.
OnAppInstanceReady@100(pending_remote<AppInstance> instance_remote);
// Notifies Chrome that the AppPermissionsInstance interface is ready.
[MinVersion=44] OnAppPermissionsInstanceReady@149(
pending_remote<AppPermissionsInstance> instance_remote);
// Notifies Chrome that the AppfuseInstance interface is ready.
[MinVersion=40] OnAppfuseInstanceReady@145(
pending_remote<AppfuseInstance> instance_remote);
// Notifies Chrome that the ArcShellExecutionInstance interface is ready.
[MinVersion=69] OnArcShellExecutionInstanceReady@174(
pending_remote<ArcShellExecutionInstance> instance_remote);
// Notifies Chrome that the ArcWifiInstance interface is ready.
[MinVersion=66] OnArcWifiInstanceReady@171(
pending_remote<ArcWifiInstance> instance_remote);
// Notifies Chrome that the AudioInstance interface is ready.
[MinVersion=8] OnAudioInstanceReady@115(
pending_remote<AudioInstance> instance_remote);
// Notifies Chrome that the AuthInstance interface is ready.
[MinVersion=1] OnAuthInstanceReady@106(
pending_remote<AuthInstance> instance_remote);
// Notifies Chrome that the BackupSettingsInstance interface is ready.
[MinVersion=33] OnBackupSettingsInstanceReady@138(
pending_remote<BackupSettingsInstance> instance_remote);
// Notifies Chrome that the BluetoothInstance interface is ready.
[MinVersion=9] OnBluetoothInstanceReady@113(
pending_remote<BluetoothInstance> instance_remote);
// Notifies Chrome that the BootPhaseMonitorInstance interface is ready.
[MinVersion=19] OnBootPhaseMonitorInstanceReady@125(
pending_remote<BootPhaseMonitorInstance> instance_remote);
// Notifies Chrome that the CameraInstance is ready.
[MinVersion=46] OnCameraInstanceReady@151(
pending_remote<CameraInstance> instance_remote);
// Notifies Chrome that the ChromeFeatureFlagsInstance interface is ready.
[MinVersion=65] OnChromeFeatureFlagsInstanceReady@170(
pending_remote<ChromeFeatureFlagsInstance> instance_remote);
// Notifies Chrome that the CompatibilityModeInstance interface is ready.
[MinVersion=56] OnCompatibilityModeInstanceReady@161(
pending_remote<CompatibilityModeInstance> instance_remote);
// Notifies Chrome that the CrashCollectorInstance interface is ready.
[MinVersion=7] OnCrashCollectorInstanceReady@112(
pending_remote<CrashCollectorInstance> instance_remote);
// Notifies Chrome that the OnDeviceSafetyInstance interface is ready.
[MinVersion=68] OnOnDeviceSafetyInstanceReady@173(
pending_remote<OnDeviceSafetyInstance> instance_remote);
// Notifies Chrome that the DigitalGoodsInstance interface is ready.
[MinVersion=51] OnDigitalGoodsInstanceReady@156(
pending_remote<DigitalGoodsInstance> instance_remote);
// Notifies Chrome that the DiskSpaceInstance interface is ready.
[MinVersion=39] OnDiskSpaceInstanceReady@144(
pending_remote<DiskSpaceInstance> instance_remote);
// Notifies Chrome that the EnterpriseReportingInstance interface is ready.
[MinVersion=15] OnEnterpriseReportingInstanceReady@122(
pending_remote<EnterpriseReportingInstance> instance_remote);
// Notifies Chrome that the ErrorNotificationInstance interface is ready.
[MinVersion=67] OnErrorNotificationInstanceReady@172(
pending_remote<ErrorNotificationInstance> instance_remote);
// Notifies Chrome that the FileSystemInstance interface is ready.
[MinVersion=13] OnFileSystemInstanceReady@119(
pending_remote<FileSystemInstance> instance_remote);
// Notifies Chrome that the IioSensorInstance interface is ready.
[MinVersion=54] OnIioSensorInstanceReady@159(
pending_remote<IioSensorInstance> instance_remote);
// Notifies Chrome that the ImeInstance interface is ready.
[MinVersion=3] OnImeInstanceReady@110(
pending_remote<ImeInstance> instance_remote);
// Notifies Chrome that the InputMethodManagerInstance interface is ready.
[MinVersion=38] OnInputMethodManagerInstanceReady@143(
pending_remote<InputMethodManagerInstance> instance_remote);
// Notifies Chrome that the IntentHelperInstance interface is ready.
[MinVersion=4] OnIntentHelperInstanceReady@111(
pending_remote<IntentHelperInstance> instance_remote);
// Notifies Chrome that the KeymasterInstance interface is ready.
[MinVersion=47] OnKeymasterInstanceReady@152(
pending_remote<KeymasterInstance> instance_remote);
// Notifies Chrome that the KeyMintInstance interface is ready.
[MinVersion=63] OnKeyMintInstanceReady@168(
pending_remote<keymint.KeyMintInstance> instance_remote);
// Notifies Chrome that the MediaSessionInstance interface is ready.
[MinVersion=43] OnMediaSessionInstanceReady@148(
pending_remote<MediaSessionInstance> instance_remote);
// Notifies Chrome that the MemoryInstance interface is ready.
[MinVersion=59] OnMemoryInstanceReady@164(
pending_remote<MemoryInstance> instance_remote);
// Notifies Chrome that the MetricsInstance interface is ready.
[MinVersion=10] OnMetricsInstanceReady@116(
pending_remote<MetricsInstance> instance_remote);
// Notifies Chrome that the MidisInstance interface is ready.
[MinVersion=30] OnMidisInstanceReady@135(
pending_remote<MidisInstance> instance_remote);
// Notifies Chrome that the NearbyShareInstance interface is ready.
[MinVersion=58] OnNearbyShareInstanceReady@163(
pending_remote<NearbyShareInstance> instance_remote);
// Notifies Chrome that the NetInstance interface is ready.
[MinVersion=5] OnNetInstanceReady@108(
pending_remote<NetInstance> instance_remote);
// Notifies Chrome that the NotificationsInstance interface is ready.
OnNotificationsInstanceReady@102(
pending_remote<NotificationsInstance> instance_remote);
// Notifies Chrome that the ObbMounter interface is ready.
[MinVersion=14] OnObbMounterInstanceReady@120(
pending_remote<ObbMounterInstance> instance_remote);
// Notifies Chrome that the OemCryptoInstance interface is ready.
[MinVersion=28] OnOemCryptoInstanceReady@133(
pending_remote<OemCryptoInstance> instance_remote);
// Notifies Chrome that the PaymentAppInstance interface is ready.
[MinVersion=50] OnPaymentAppInstanceReady@155(
pending_remote<chromeos.payments.mojom.PaymentAppInstance>
instance_remote);
// Notifies Chrome that the PipInstance interface is ready.
[MinVersion=41] OnPipInstanceReady@146(
pending_remote<PipInstance> instance_remote);
// Notifies Chrome that the PolicyInstance interface is ready.
[MinVersion=7] OnPolicyInstanceReady@114(
pending_remote<PolicyInstance> instance_remote);
// Notifies Chrome that the PowerInstance interface is ready.
OnPowerInstanceReady@103(pending_remote<PowerInstance> instance_remote);
// Notifies Chrome that the PrintSpoolerInstance interface is ready.
[MinVersion=45] OnPrintSpoolerInstanceReady@150(
pending_remote<PrintSpoolerInstance> instance_remote);
// Notifies Chrome that the PrivacyItemsInstance interface is ready.
[MinVersion=61] OnPrivacyItemsInstanceReady@166(
pending_remote<PrivacyItemsInstance> instance_remote);
// Notifies Chrome that the ProcessInstance interface is ready.
OnProcessInstanceReady@104(pending_remote<ProcessInstance> instance_remote);
// Notifies Chrome that the ScreenCaptureInstance interface is ready.
[MinVersion=35] OnScreenCaptureInstanceReady@140(
pending_remote<ScreenCaptureInstance> instance_remote);
// Notifies Chrome that the SharesheetInstance interface is ready.
[MinVersion=52] OnSharesheetInstanceReady@157(
pending_remote<SharesheetInstance> instance_remote);
// Notifies Chrome that the SystemStateInstance interface is ready.
[MinVersion=64] OnSystemStateInstanceReady@169(
pending_remote<SystemStateInstance> instance_remote);
// Notifies Chrome that the SystemUiInstance interface is ready.
[MinVersion=62] OnSystemUiInstanceReady@167(
pending_remote<SystemUiInstance> instance_remote);
// Notifies Chrome that the TimerInstance interface is ready.
[MinVersion=36] OnTimerInstanceReady@141(
pending_remote<TimerInstance> instance_remote);
// Notifies Chrome that the TracingInstance interface is ready.
[MinVersion=22] OnTracingInstanceReady@128(
pending_remote<TracingInstance> instance_remote);
// Notifies Chrome that the TtsInstance interface is ready.
[MinVersion=17] OnTtsInstanceReady@123(
pending_remote<TtsInstance> instance_remote);
// Notifies Chrome that the UsbHostInstance interface is ready.
[MinVersion=34] OnUsbHostInstanceReady@139(
pending_remote<UsbHostInstance> instance_remote);
// Notifies Chrome that the VideoInstance interface is ready.
[MinVersion=6] OnVideoInstanceReady@107(
pending_remote<VideoInstance> instance_remote);
// Notifies Chrome that the VolumeMounter interface is ready.
[MinVersion=25] OnVolumeMounterInstanceReady@131(
pending_remote<VolumeMounterInstance> instance_remote);
// Notifies Chrome that the WakeLockInstance interface is ready.
[MinVersion=37] OnWakeLockInstanceReady@142(
pending_remote<WakeLockInstance> instance_remote);
// Notifies Chrome that the WallpaperInstance interface is ready.
[MinVersion=18] OnWallpaperInstanceReady@124(
pending_remote<WallpaperInstance> instance_remote);
// Notifies Chrome that the WebApkInstance interface is ready.
[MinVersion=57] OnWebApkInstanceReady@162(
pending_remote<WebApkInstance> instance_ptr);
};