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 17<config xmlns="http://www.google.com/tools/metalava/config" 18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 19 xsi:schemaLocation="http://www.google.com/tools/metalava/config ../../../../tools/metalava/metalava/src/main/resources/schemas/config.xsd"> 20 <api-surfaces> 21 <!-- These are hard coded into java_sdk_library. --> 22 <api-surface name="public"/> 23 <api-surface name="system" extends="public"/> 24 <api-surface name="module-lib" extends="system"/> 25 <api-surface name="test" extends="system"/> 26 <api-surface name="system-server" extends="public"/> 27 <!-- This is used in java/core-libraries/Android.bp. --> 28 <api-surface name="core"/> 29 <!-- These are used in libcore, external/conscrypt and external/icu. --> 30 <api-surface name="core-platform" extends="public"/> 31 <api-surface name="core-platform-legacy" extends="public"/> 32 <api-surface name="core-platform-plus-public"/> 33 <api-surface name="intra-core" extends="public"/> 34 </api-surfaces> 35</config> 36