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 CarData messages used in EVS related processes. 19 * It's preferred to group CarData messages used in a single process or service 20 * to improve performance and memory usage. 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 = "EvsProto"; 31 32message EvsFirstFrameLatency { 33 // Latency measurement start time since boot. 34 optional int64 start_timestamp_millis = 1; 35 36 // end-2-end latency since gear shifted to reverse and the 37 // first frame from camera is displayed on the screen. 38 optional int64 latency_millis = 2; 39} 40