1/* 2 * Copyright (C) 2021 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 17/** 18 * This file contains all the known CarData messages used in AAOS. Some messages 19 * might be defined in OEM's private repo, the owners of those messages must 20 * make sure the CarData IDs are not colliding. 21 * 22 * All the messages must be defined in the CarData message and given a unique 23 * ID. 24 */ 25 26syntax = "proto2"; 27 28package android.automotive.telemetry; 29option java_package = "com.android.automotive.telemetry"; 30option java_outer_classname = "CarDataProto"; 31 32import "packages/services/Car/cpp/telemetry/proto/evs.proto"; 33 34// Contains all the CarData messages to declare all the messages. 35// Unique protobuf number is used as an ID. 36// A message will be sent from writer clients to the cartelemetryd 37// wrapped in 38// frameworks/hardware/interfaces/automotive/telemetry/aidl/android/frameworks/automotive/telemetry/CarData.aidl 39message CarData { 40 oneof pushed { 41 EvsFirstFrameLatency evs_first_frame_latency = 1; 42 } 43 44 // DO NOT USE field numbers above 10,000 in AOSP. 45 // Field numbers 10,000 - 19,999 are reserved for non-AOSP (e.g. OEMs) to 46 // use. Field numbers 20,000 and above are reserved for future use; do not 47 // use them at all. 48} 49