1/*
2 * Copyright (C) 2024 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto2";
18
19import "protos/perfetto/trace/android/view/inputmethod/editorinfo.proto";
20
21package perfetto.protos;
22
23message InputMethodManagerServiceProto {
24  optional string cur_method_id = 1;
25  optional int32 cur_seq = 2;
26  optional string cur_client = 3;
27  optional string cur_focused_window_name = 4;
28  optional string last_ime_target_window_name = 5;
29  optional string cur_focused_window_soft_input_mode = 6;
30  optional EditorInfoProto cur_attribute = 7;
31  optional string cur_id = 8;
32  // deprecated show_requested
33  reserved 9;
34  optional bool show_explicitly_requested = 10;
35  optional bool show_forced = 11;
36  optional bool input_shown = 12;
37  optional bool in_fullscreen_mode = 13;
38  optional string cur_token = 14;
39  optional int32 cur_token_display_id = 15;
40  optional bool system_ready = 16;
41  optional int32 last_switch_user_id = 17;
42  optional bool have_connection = 18;
43  optional bool bound_to_method = 19;
44  optional bool is_interactive = 20;
45  optional int32 back_disposition = 21;
46  optional int32 ime_window_visibility = 22;
47  optional bool show_ime_with_hard_keyboard = 23;
48  optional bool accessibility_requesting_no_soft_keyboard = 24;
49}