1/* 2 * Copyright (C) 2020 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 "frameworks/base/core/proto/android/view/inputmethod/editorinfo.proto"; 20 21package android.server.inputmethod; 22 23option java_multiple_files = true; 24 25message InputMethodManagerServiceProto { 26 optional string cur_method_id = 1; 27 optional int32 cur_seq = 2; 28 optional string cur_client = 3; 29 optional string cur_focused_window_name = 4; 30 optional string last_ime_target_window_name = 5; 31 optional string cur_focused_window_soft_input_mode = 6; 32 optional .android.view.inputmethod.EditorInfoProto cur_attribute = 7; 33 optional string cur_id = 8; 34 optional bool show_requested = 9; 35 optional bool show_explicitly_requested = 10; 36 optional bool show_forced = 11; 37 optional bool input_shown = 12; 38 optional bool in_fullscreen_mode = 13; 39 optional string cur_token = 14; 40 optional int32 cur_token_display_id = 15; 41 optional bool system_ready = 16; 42 optional int32 last_switch_user_id = 17; 43 optional bool have_connection = 18; 44 optional bool bound_to_method = 19; 45 optional bool is_interactive = 20; 46 optional int32 back_disposition = 21; 47 optional int32 ime_window_visibility = 22; 48 optional bool show_ime_with_hard_keyboard = 23; 49 optional bool accessibility_requesting_no_soft_keyboard = 24; 50}