1# Ravenwood "policy" that should apply to all code. 2 3# The "no-pta" marker is used to exclude the lines from "ravenhelper pta", 4# which tries to convert policies to annotations. 5 6# 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 19class java.io.FileDescriptor # no-pta 20 method getInt$ @com.android.ravenwood.RavenwoodJdkPatch.getInt$ 21 method setInt$ @com.android.ravenwood.RavenwoodJdkPatch.setInt$ 22class java.util.LinkedHashMap # no-pta 23 method eldest @com.android.ravenwood.RavenwoodJdkPatch.eldest 24 25# Always set flag UNICODE_CHARACTER_CLASS when compiling regex 26class java.util.regex.Pattern keep 27 method compile @com.android.ravenwood.RavenwoodJdkPatch.compilePattern 28