1/* 2 * Copyright (C) 2024 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 android.os; 20 21option java_multiple_files = true; 22 23// LINT.IfChange(proto) 24message QueuedResultsWrapper { 25 message TracingSession { 26 reserved 2; 27 optional int32 profiling_type = 1; 28 optional int32 uid = 3; 29 optional string package_name = 4; 30 optional string tag = 5; 31 optional int64 key_most_sig_bits = 6; 32 optional int64 key_least_sig_bits = 7; 33 optional string file_name = 8; 34 optional string redacted_file_name = 9; 35 optional int32 tracing_state = 10; 36 optional int32 retry_count = 11; 37 optional string error_message = 12; 38 optional int32 error_status = 13; 39 optional int32 trigger_type = 14; 40 optional int64 profiling_start_time = 15; 41 } 42 repeated TracingSession sessions = 1; 43} 44// LINT.ThenChange(/service/java/com/android/os/profiling/TracingSession.java:persisted_params) 45 46