1/* 2 * Copyright (C) 2023 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 19package com.android.car.occupantzone; 20 21option java_multiple_files = true; 22 23message CarOccupantZoneDumpProto { 24 message DisplayConfigProto { 25 optional int32 display_type = 1; 26 optional int32 occupant_zone_id = 2; 27 repeated int32 input_types = 3; 28 } 29 message DisplayPortConfigsProto { 30 message DisplayConfigPortProto { 31 optional int32 port = 1; 32 optional DisplayConfigProto display_config = 2; 33 } 34 optional DisplayConfigPortProto display_config_port = 1; 35 } 36 message DisplayUniqueIdConfigsProto { 37 message DisplayConfigUniqueIdProto { 38 optional string unique_id = 1; 39 optional DisplayConfigProto display_config = 2; 40 } 41 optional DisplayConfigUniqueIdProto display_config_unique_id = 1; 42 } 43 repeated DisplayPortConfigsProto display_port_configs = 1; 44 repeated DisplayUniqueIdConfigsProto display_unique_id_configs = 2; 45} 46