1/* 2 * Copyright (C) 2025 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 = "proto3"; 18 19package android.hardware.automotive.vehicle.proto; 20 21import "android/hardware/automotive/vehicle/PropIdAreaId.proto"; 22import "android/hardware/automotive/vehicle/RawPropValues.proto"; 23import "android/hardware/automotive/vehicle/StatusCode.proto"; 24 25message SupportedValuesListResult { 26 /** 27 * The status for result. If this is not OK, the operation failed for this 28 * [propId, areaId]. 29 */ 30 StatusCode status = 1; 31 /** 32 * The supported values list. 33 * 34 * If the [propId, areaId] does not specify a supported values list, this 35 * is {@code null}. 36 * 37 * This must be ignored if status is not {@code StatusCode.OK}. 38 */ 39 repeated RawPropValues supported_values_list = 2; 40}; 41 42message GetSupportedValuesListsRequest { 43 repeated PropIdAreaId prop_id_area_id = 1; 44}; 45 46message GetSupportedValuesListsResult { 47 repeated SupportedValuesListResult result = 1; 48}; 49