1-keepclasseswithmembernames class * { 2 native <methods>; 3} 4 5-keepclassmembers class com.android.cts.verifier.os.FileUtils$FileStatus { 6 private <fields>; 7} 8 9# ensure we keep public sensor test methods, these are needed at runtime 10-keepclassmembers class * extends com.android.cts.verifier.sensors.base.BaseSensorTestActivity { 11 public <methods>; 12} 13-keepclassmembers class * extends android.hardware.cts.SensorTestCase { 14 public <methods>; 15} 16 17-keepclasseswithmembers class * extends com.android.cts.verifier.location.LocationModeTestActivity 18 19# keep mockito methods 20-keep class org.mockito.** { *; } 21-keep interface org.mockito.** { *; } 22-keep class com.google.dexmaker.** { *; } 23-keep interface com.google.dexmaker.** { *; } 24 25-dontwarn android.hardware.Sensor 26-dontwarn android.test.AndroidTestRunner 27-dontwarn java.util.concurrent.ConcurrentLinkedDeque 28-dontwarn android.cts.util.** 29-dontwarn junit.** 30