xref: /aosp_15_r20/libcore/libcore.aconfig (revision 89a6322812dc8573315e60046e7959c50dad91d4)
1# Copyright (C) 2023 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# com.android is a reserved namespace for Android platform. See CDD 3.6.
16# com.android is chosen as the java_aconfig_library is normally exposed to the platform,
17# but not public apps.
18package: "com.android.libcore"
19container: "com.android.art"
20
21flag {
22    namespace: "core_libraries"
23    name: "v_apis"
24    is_exported: true
25    description: "This flag controls whether exposing Android V APIs"
26    bug: "306360493"
27    # APIs provided by a mainline module can only use a frozen flag.
28    is_fixed_read_only: true
29}
30
31flag {
32    namespace: "core_libraries"
33    name: "hpke_v_apis"
34    is_exported: true
35    description: "This flag controls whether exposing HPKE APIs on Android V"
36    bug: "323357598"
37    # APIs provided by a mainline module can only use a frozen flag.
38    is_fixed_read_only: true
39}
40
41flag {
42    namespace: "core_libraries"
43    name: "openjdk_21_v1_apis"
44    is_exported: true
45    description: "This flag includes OpenJDK 21 APIs released in 2025."
46    bug: "340486785"
47    # APIs provided by a mainline module can only use a frozen flag.
48    is_fixed_read_only: true
49}
50
51flag {
52    namespace: "core_libraries"
53    name: "openjdk21_stringconcat"
54    is_exported: true
55    description: "This flag exposes StringConcatException"
56    bug: "285090974"
57    # APIs provided by a mainline module can only use a frozen flag.
58    is_fixed_read_only: true
59}
60
61flag {
62    namespace: "devtools"
63    name: "appinfo"
64    is_exported: true
65    description: "This flag controls whether Frameworks sends app info to adb so debuggers can attach"
66    bug: "333161320"
67    # APIs provided by a mainline module can only use a frozen flag.
68    is_fixed_read_only: true
69}
70
71flag {
72    namespace: "core_libraries"
73    name: "post_cleanup_apis"
74    is_exported: true
75    description: "This flag includes APIs to add/remove/call callbacks post-cleanup"
76    bug: "331243037"
77    # APIs provided by a mainline module can only use a frozen flag.
78    is_fixed_read_only: true
79}
80
81flag {
82    namespace: "core_libraries"
83    name: "native_metrics"
84    is_exported: true
85    description: "This flag includes APIs for maintaining and exposing native allocation metrics"
86    bug: "331243037"
87    # APIs provided by a mainline module can only use a frozen flag.
88    is_fixed_read_only: true
89}
90
91flag {
92    namespace: "core_libraries"
93    name: "read_only_dynamic_code_load"
94    is_exported: true
95    description: "This flag controls if read only is enforced when loading native code"
96    bug: "354921003"
97    # APIs provided by a mainline module can only use a frozen flag.
98    is_fixed_read_only: true
99}
100
101flag {
102    namespace: "core_libraries"
103    name: "schedule_at_fixed_rate_new_behavior"
104    description: "If true, force-enables go/scheduleAtFixedRate-behavior-change regardless of AppCompat flag or SDK_INT value"
105    bug: "352746637"
106    # APIs provided by a mainline module can only use a frozen flag.
107    is_fixed_read_only: true
108}
109
110flag {
111    namespace: "core_libraries"
112    name: "hpke_public_api"
113    is_exported: true
114    description: "This flag includes HPKE public APIs"
115    bug: "323357598"
116    # APIs provided by a mainline module can only use a frozen flag.
117    is_fixed_read_only: true
118}
119