1# Ravenwood "policy" file for framework-minus-apex.
2
3# Keep all AIDL interfaces
4class :aidl keepclass
5
6# Keep all feature flag implementations
7class :feature_flags keepclass
8
9# Keep all sysprops generated code implementations
10class :sysprops keepclass
11
12# Exported to Mainline modules; cannot use annotations
13class com.android.internal.util.FastXmlSerializer keepclass
14class com.android.internal.util.FileRotator keepclass
15class com.android.internal.util.HexDump keepclass
16class com.android.internal.util.IndentingPrintWriter keepclass
17class com.android.internal.util.LocalLog keepclass
18class com.android.internal.util.MessageUtils keepclass
19class com.android.internal.util.TokenBucket keepclass
20class android.os.HandlerExecutor keepclass
21class android.util.BackupUtils keepclass
22class android.util.IndentingPrintWriter keepclass
23class android.util.LocalLog keepclass
24class android.util.Pair keepclass
25class android.util.Rational keepclass
26
27# From modules-utils; cannot use annotations
28class com.android.internal.util.Preconditions keepclass
29class com.android.internal.logging.InstanceId keepclass
30class com.android.internal.logging.InstanceIdSequence keepclass
31class com.android.internal.logging.UiEvent keepclass
32class com.android.internal.logging.UiEventLogger keepclass
33
34# From modules-utils; cannot use annotations
35class com.android.modules.utils.BinaryXmlPullParser keepclass
36class com.android.modules.utils.BinaryXmlSerializer keepclass
37class com.android.modules.utils.FastDataInput keepclass
38class com.android.modules.utils.FastDataOutput keepclass
39class com.android.modules.utils.ModifiedUtf8 keepclass
40class com.android.modules.utils.TypedXmlPullParser keepclass
41class com.android.modules.utils.TypedXmlSerializer keepclass
42
43# Uri
44class android.net.Uri keepclass
45class android.net.UriCodec keepclass
46
47# Telephony
48class android.telephony.PinResult keepclass
49
50# Just enough to support mocking, no further functionality
51class android.content.BroadcastReceiver keep
52    method <init> ()V keep
53class android.content.Context keep
54    method <init> ()V keep
55    method getSystemService (Ljava/lang/Class;)Ljava/lang/Object; keep
56class android.content.pm.PackageManager keep
57    method <init> ()V keep
58class android.text.ClipboardManager keep
59    method <init> ()V keep
60