John Wu | 2511073 | 2024-10-10 22:40:49 +0000 | [diff] [blame] | 1 | # Ravenwood "policy" that should apply to all code. |
| 2 | |
Makoto Onuki | 6434c03 | 2025-01-09 13:20:42 -0800 | [diff] [blame] | 3 | # The "no-pta" marker is used to exclude the lines from "ravenhelper pta", |
| 4 | # which tries to convert policies to annotations. |
| 5 | |
John Wu | 2511073 | 2024-10-10 22:40:49 +0000 | [diff] [blame] | 6 | # Keep all AIDL interfaces |
| 7 | class :aidl keepclass |
| 8 | |
| 9 | # Keep all feature flag implementations |
| 10 | class :feature_flags keepclass |
| 11 | |
| 12 | # Keep all sysprops generated code implementations |
| 13 | class :sysprops keepclass |
| 14 | |
| 15 | # Keep all resource R classes |
| 16 | class :r keepclass |
| 17 | |
| 18 | # Support APIs not available in standard JRE |
Makoto Onuki | 6434c03 | 2025-01-09 13:20:42 -0800 | [diff] [blame] | 19 | class java.io.FileDescriptor # no-pta |
Makoto Onuki | b4ed857 | 2024-11-27 12:03:41 -0800 | [diff] [blame] | 20 | method getInt$ @com.android.ravenwood.RavenwoodJdkPatch.getInt$ |
| 21 | method setInt$ @com.android.ravenwood.RavenwoodJdkPatch.setInt$ |
Makoto Onuki | 6434c03 | 2025-01-09 13:20:42 -0800 | [diff] [blame] | 22 | class java.util.LinkedHashMap # no-pta |
Makoto Onuki | b4ed857 | 2024-11-27 12:03:41 -0800 | [diff] [blame] | 23 | method eldest @com.android.ravenwood.RavenwoodJdkPatch.eldest |