1/* 2 * Copyright (C) 2020 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 perfetto.protos; 20 21message ObfuscatedMember { 22 // This is the obfuscated field name relative to the class containing the 23 // ObfuscatedMember. 24 optional string obfuscated_name = 1; 25 // If this is fully qualified (i.e. contains a '.') this is the deobfuscated 26 // field name including its class. Otherwise, this is this the unqualified 27 // deobfuscated field name relative to the class containing this 28 // ObfuscatedMember. 29 optional string deobfuscated_name = 2; 30} 31 32message ObfuscatedClass { 33 optional string obfuscated_name = 1; 34 optional string deobfuscated_name = 2; 35 // fields. 36 repeated ObfuscatedMember obfuscated_members = 3; 37 repeated ObfuscatedMember obfuscated_methods = 4; 38} 39 40message DeobfuscationMapping { 41 optional string package_name = 1; 42 optional int64 version_code = 2; 43 repeated ObfuscatedClass obfuscated_classes = 3; 44}