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 MinMaxSupportedValueResult { 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 min supported value. 33 * 34 * If the [propId, areaId] does not specify a min supported value, this 35 * is {@code null}. 36 */ 37 RawPropValues min_supported_value = 2; 38 /** 39 * The max supported value. 40 * 41 * If the [propId, areaId] does not specify a max supported value, this 42 * is {@code null}. 43 * 44 * This must be ignored if status is not {@code StatusCode.OK}. 45 */ 46 RawPropValues max_supported_value = 3; 47}; 48 49message GetMinMaxSupportedValuesRequest { 50 repeated PropIdAreaId prop_id_area_id = 1; 51}; 52 53message GetMinMaxSupportedValuesResult { 54 repeated MinMaxSupportedValueResult result = 1; 55}; 56