• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2022 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";
18package perfetto.protos;
19
20message AndroidGameInterventionList {
21  message GameModeInfo {
22    optional uint32 mode = 1;
23    optional bool use_angle = 2;
24    optional float resolution_downscale = 3;
25    optional float fps = 4;
26  }
27  message GamePackageInfo {
28    optional string name = 1;
29    optional uint64 uid = 2;
30    optional uint32 current_mode = 3;
31    repeated GameModeInfo game_mode_info = 4;
32  }
33
34  repeated GamePackageInfo game_packages = 1;
35
36  // True when at least one error occured when parsing
37  // game_mode_intervention.list
38  optional bool parse_error = 2;
39
40  // Failed to open / read game_mode_intervention.list
41  optional bool read_error = 3;
42}
43