1-keep class com.android.rkpdapp.metrics.ProvisioningAttempt { *; } 2-keep class com.android.rkpdapp.interfaces.ServiceManagerInterface { *; } 3-keep class com.android.rkpdapp.service.** { *; } 4-keep class com.android.rkpdapp.utils.Settings { *; } 5-keep class com.android.rkpdapp.provisioner.PeriodicProvisioner { 6 public static java.lang.AutoCloseable lock(); 7} 8 9# Required for tests that use Mockito's thenThrow with checked exceptions. 10-keepattributes Exceptions 11 12# Minimal set of keep rules for mocked methods with checked exceptions. 13# This can be relaxed to specific packages if that simplifies testing. 14# See also https://r8.googlesource.com/r8/+/refs/heads/master/compatibility-faq.md#r8-full-mode. 15-keepclassmembers,allowshrinking,allowoptimization,allowobfuscation,allowaccessmodification class android.hardware.security.keymint.IRemotelyProvisionedComponent { public <methods>; } 16-keepclassmembers,allowshrinking,allowoptimization,allowobfuscation,allowaccessmodification class com.android.rkpdapp.IGetRegistrationCallback { public <methods>; } 17-keepclassmembers,allowshrinking,allowoptimization,allowobfuscation,allowaccessmodification class com.android.rkpdapp.interfaces.SystemInterface { public <methods>; } 18-keepclassmembers,allowshrinking,allowoptimization,allowobfuscation,allowaccessmodification class com.android.rkpdapp.provisioner.Provisioner { public <methods>; } 19