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: "openjdk_21_v2_apis" 54 is_exported: true 55 description: "This flag includes OpenJDK APIs released after 25Q2." 56 bug: "292585625" 57 is_fixed_read_only: true 58} 59 60flag { 61 namespace: "core_libraries" 62 name: "openjdk21_stringconcat" 63 is_exported: true 64 description: "This flag exposes StringConcatException" 65 bug: "285090974" 66 # APIs provided by a mainline module can only use a frozen flag. 67 is_fixed_read_only: true 68} 69 70flag { 71 namespace: "devtools" 72 name: "appinfo" 73 is_exported: true 74 description: "This flag controls whether Frameworks sends app info to adb so debuggers can attach" 75 bug: "333161320" 76 # APIs provided by a mainline module can only use a frozen flag. 77 is_fixed_read_only: true 78} 79 80flag { 81 namespace: "core_libraries" 82 name: "post_cleanup_apis" 83 is_exported: true 84 description: "This flag includes APIs to add/remove/call callbacks post-cleanup" 85 bug: "331243037" 86 # APIs provided by a mainline module can only use a frozen flag. 87 is_fixed_read_only: true 88} 89 90flag { 91 namespace: "core_libraries" 92 name: "native_metrics" 93 is_exported: true 94 description: "This flag includes APIs for maintaining and exposing native allocation metrics" 95 bug: "331243037" 96 # APIs provided by a mainline module can only use a frozen flag. 97 is_fixed_read_only: true 98} 99 100flag { 101 namespace: "core_libraries" 102 name: "read_only_dynamic_code_load" 103 is_exported: true 104 description: "This flag controls if read only is enforced when loading native code" 105 bug: "354921003" 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: "schedule_at_fixed_rate_new_behavior" 113 description: "If true, force-enables go/scheduleAtFixedRate-behavior-change regardless of AppCompat flag or SDK_INT value" 114 bug: "352746637" 115 # APIs provided by a mainline module can only use a frozen flag. 116 is_fixed_read_only: true 117} 118 119flag { 120 namespace: "core_libraries" 121 name: "hpke_public_api" 122 is_exported: true 123 description: "This flag includes HPKE public APIs" 124 bug: "323357598" 125 # APIs provided by a mainline module can only use a frozen flag. 126 is_fixed_read_only: true 127} 128 129flag { 130 namespace: "core_libraries" 131 name: "madvise_api" 132 is_exported: true 133 description: "Java APIs to access madvise()" 134 bug: "383173082" 135 # APIs provided by a mainline module can only use a frozen flag. 136 is_fixed_read_only: true 137} 138