Bug: 312784289
Test: mmm -j frameworks/base/api/coverage/tools/:extract-flagged-apis
extract-flagged-apis <input api.text file> <output pb file>
Change-Id: Ibc2e1af9c3346543365ce42058b6e5913161da9f
38 lines
982 B
Protocol Buffer
38 lines
982 B
Protocol Buffer
/*
|
|
* Copyright (C) 2023 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
syntax = "proto3";
|
|
|
|
package android.platform.coverage;
|
|
|
|
option java_multiple_files = true;
|
|
|
|
message FlagApiMap {
|
|
map<string, FlaggedApis> flag_to_api = 1;
|
|
}
|
|
|
|
message FlaggedApis {
|
|
repeated JavaMethod java_methods = 1;
|
|
}
|
|
|
|
message JavaMethod {
|
|
string package_name = 1;
|
|
string class_name = 2;
|
|
string method_name = 3;
|
|
repeated string parameters = 4;
|
|
}
|
|
|