perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
159 lines (130 loc) • 5.72 kB
text/typescript
//
// Copyright (C) 2024 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { EditorInfoProto } from "../../view/inputmethod/editorinfo_pb";
import { file_protos_perfetto_trace_android_view_inputmethod_editorinfo } from "../../view/inputmethod/editorinfo_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto.
*/
export const file_protos_perfetto_trace_android_server_inputmethod_inputmethodmanagerservice: GenFile = /*@__PURE__*/
fileDesc("ClBwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9zZXJ2ZXIvaW5wdXRtZXRob2QvaW5wdXRtZXRob2RtYW5hZ2Vyc2VydmljZS5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIsUFCh5JbnB1dE1ldGhvZE1hbmFnZXJTZXJ2aWNlUHJvdG8SFQoNY3VyX21ldGhvZF9pZBgBIAEoCRIPCgdjdXJfc2VxGAIgASgFEhIKCmN1cl9jbGllbnQYAyABKAkSHwoXY3VyX2ZvY3VzZWRfd2luZG93X25hbWUYBCABKAkSIwobbGFzdF9pbWVfdGFyZ2V0X3dpbmRvd19uYW1lGAUgASgJEioKImN1cl9mb2N1c2VkX3dpbmRvd19zb2Z0X2lucHV0X21vZGUYBiABKAkSNwoNY3VyX2F0dHJpYnV0ZRgHIAEoCzIgLnBlcmZldHRvLnByb3Rvcy5FZGl0b3JJbmZvUHJvdG8SDgoGY3VyX2lkGAggASgJEiEKGXNob3dfZXhwbGljaXRseV9yZXF1ZXN0ZWQYCiABKAgSEwoLc2hvd19mb3JjZWQYCyABKAgSEwoLaW5wdXRfc2hvd24YDCABKAgSGgoSaW5fZnVsbHNjcmVlbl9tb2RlGA0gASgIEhEKCWN1cl90b2tlbhgOIAEoCRIcChRjdXJfdG9rZW5fZGlzcGxheV9pZBgPIAEoBRIUCgxzeXN0ZW1fcmVhZHkYECABKAgSGwoTbGFzdF9zd2l0Y2hfdXNlcl9pZBgRIAEoBRIXCg9oYXZlX2Nvbm5lY3Rpb24YEiABKAgSFwoPYm91bmRfdG9fbWV0aG9kGBMgASgIEhYKDmlzX2ludGVyYWN0aXZlGBQgASgIEhgKEGJhY2tfZGlzcG9zaXRpb24YFSABKAUSHQoVaW1lX3dpbmRvd192aXNpYmlsaXR5GBYgASgFEiMKG3Nob3dfaW1lX3dpdGhfaGFyZF9rZXlib2FyZBgXIAEoCBIxCilhY2Nlc3NpYmlsaXR5X3JlcXVlc3Rpbmdfbm9fc29mdF9rZXlib2FyZBgYIAEoCEoECAkQCg", [file_protos_perfetto_trace_android_view_inputmethod_editorinfo]);
/**
* @generated from message perfetto.protos.InputMethodManagerServiceProto
*/
export type InputMethodManagerServiceProto = Message<"perfetto.protos.InputMethodManagerServiceProto"> & {
/**
* @generated from field: optional string cur_method_id = 1;
*/
curMethodId: string;
/**
* @generated from field: optional int32 cur_seq = 2;
*/
curSeq: number;
/**
* @generated from field: optional string cur_client = 3;
*/
curClient: string;
/**
* @generated from field: optional string cur_focused_window_name = 4;
*/
curFocusedWindowName: string;
/**
* @generated from field: optional string last_ime_target_window_name = 5;
*/
lastImeTargetWindowName: string;
/**
* @generated from field: optional string cur_focused_window_soft_input_mode = 6;
*/
curFocusedWindowSoftInputMode: string;
/**
* @generated from field: optional perfetto.protos.EditorInfoProto cur_attribute = 7;
*/
curAttribute?: EditorInfoProto;
/**
* @generated from field: optional string cur_id = 8;
*/
curId: string;
/**
* @generated from field: optional bool show_explicitly_requested = 10;
*/
showExplicitlyRequested: boolean;
/**
* @generated from field: optional bool show_forced = 11;
*/
showForced: boolean;
/**
* @generated from field: optional bool input_shown = 12;
*/
inputShown: boolean;
/**
* @generated from field: optional bool in_fullscreen_mode = 13;
*/
inFullscreenMode: boolean;
/**
* @generated from field: optional string cur_token = 14;
*/
curToken: string;
/**
* @generated from field: optional int32 cur_token_display_id = 15;
*/
curTokenDisplayId: number;
/**
* @generated from field: optional bool system_ready = 16;
*/
systemReady: boolean;
/**
* @generated from field: optional int32 last_switch_user_id = 17;
*/
lastSwitchUserId: number;
/**
* @generated from field: optional bool have_connection = 18;
*/
haveConnection: boolean;
/**
* @generated from field: optional bool bound_to_method = 19;
*/
boundToMethod: boolean;
/**
* @generated from field: optional bool is_interactive = 20;
*/
isInteractive: boolean;
/**
* @generated from field: optional int32 back_disposition = 21;
*/
backDisposition: number;
/**
* @generated from field: optional int32 ime_window_visibility = 22;
*/
imeWindowVisibility: number;
/**
* @generated from field: optional bool show_ime_with_hard_keyboard = 23;
*/
showImeWithHardKeyboard: boolean;
/**
* @generated from field: optional bool accessibility_requesting_no_soft_keyboard = 24;
*/
accessibilityRequestingNoSoftKeyboard: boolean;
};
/**
* Describes the message perfetto.protos.InputMethodManagerServiceProto.
* Use `create(InputMethodManagerServiceProtoSchema)` to create a new message.
*/
export const InputMethodManagerServiceProtoSchema: GenMessage<InputMethodManagerServiceProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_server_inputmethod_inputmethodmanagerservice, 0);