blob: fd4ea6cf40c2f6107dc7e52ce6ef94b0c62f2431 [file] [log] [blame]
John Wu25110732024-10-10 22:40:49 +00001# Ravenwood "policy" that should apply to all code.
2
Makoto Onuki6434c032025-01-09 13:20:42 -08003# The "no-pta" marker is used to exclude the lines from "ravenhelper pta",
4# which tries to convert policies to annotations.
5
John Wu25110732024-10-10 22:40:49 +00006# Keep all AIDL interfaces
7class :aidl keepclass
8
9# Keep all feature flag implementations
10class :feature_flags keepclass
11
12# Keep all sysprops generated code implementations
13class :sysprops keepclass
14
15# Keep all resource R classes
16class :r keepclass
17
18# Support APIs not available in standard JRE
Makoto Onuki6434c032025-01-09 13:20:42 -080019class java.io.FileDescriptor # no-pta
Makoto Onukib4ed8572024-11-27 12:03:41 -080020 method getInt$ @com.android.ravenwood.RavenwoodJdkPatch.getInt$
21 method setInt$ @com.android.ravenwood.RavenwoodJdkPatch.setInt$
Makoto Onuki6434c032025-01-09 13:20:42 -080022class java.util.LinkedHashMap # no-pta
Makoto Onukib4ed8572024-11-27 12:03:41 -080023 method eldest @com.android.ravenwood.RavenwoodJdkPatch.eldest