• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1--
2-- Copyright 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--     https://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-- Android inputmethod clients state dumps (from android.inputmethod data source).
17CREATE PERFETTO VIEW android_inputmethod_clients (
18  -- Dump id
19  id LONG,
20  -- Timestamp when the dump was triggered
21  ts TIMESTAMP,
22  -- Extra args parsed from the proto message
23  arg_set_id ARGSETID
24) AS
25SELECT
26  id,
27  ts,
28  arg_set_id
29FROM __intrinsic_inputmethod_clients;
30
31-- Android inputmethod manager service state dumps (from android.inputmethod data source).
32CREATE PERFETTO VIEW android_inputmethod_manager_service (
33  -- Dump id
34  id LONG,
35  -- Timestamp when the dump was triggered
36  ts TIMESTAMP,
37  -- Extra args parsed from the proto message
38  arg_set_id ARGSETID
39) AS
40SELECT
41  id,
42  ts,
43  arg_set_id
44FROM __intrinsic_inputmethod_manager_service;
45
46-- Android inputmethod service state dumps (from android.inputmethod data source).
47CREATE PERFETTO VIEW android_inputmethod_service (
48  -- Dump id
49  id LONG,
50  -- Timestamp when the dump was triggered
51  ts TIMESTAMP,
52  -- Extra args parsed from the proto message
53  arg_set_id ARGSETID
54) AS
55SELECT
56  id,
57  ts,
58  arg_set_id
59FROM __intrinsic_inputmethod_service;
60