1-keepclasseswithmembernames class * { 2 native <methods>; 3} 4 5# ensure we keep public sensor test methods, these are needed at runtime 6-keepclassmembers class * extends com.android.cts.verifier.sensors.base.BaseSensorTestActivity { 7 public <methods>; 8} 9-keepclassmembers class * extends android.hardware.cts.SensorTestCase { 10 public <methods>; 11} 12 13# ensure we keep public Gnss Measurement test methods, these are needed at runtime 14-keepclassmembers class * extends com.android.cts.verifier.location.BaseGnssTestActivity { 15 public <methods>; 16} 17-keepclassmembers class * extends android.location.cts.GnssTestCase { 18 public <methods>; 19} 20 21-keepclasseswithmembers class * extends com.android.cts.verifier.location.LocationModeTestActivity 22 23# keep mockito methods 24-keep class org.mockito.** { *; } 25-keep interface org.mockito.** { *; } 26-keep class com.google.dexmaker.** { *; } 27-keep class com.android.dx.mockito.** { *; } 28-keep interface com.google.dexmaker.** { *; } 29 30-dontwarn android.hardware.Sensor 31-dontwarn android.test.AndroidTestRunner 32-dontwarn java.util.concurrent.ConcurrentLinkedDeque 33-dontwarn com.android.compatibility.common.util.** 34-dontwarn junit.** 35 36# Jack seems less rigorous than proguard when it comes to warning about 37# transitive dependencies. 38-dontwarn com.android.org.bouncycastle.** 39-dontwarn com.android.okhttp.** 40-dontwarn org.opencv.** 41-dontwarn android.support.test.internal.runner.hidden.ExposedInstrumentationApi 42 43-dontwarn java.lang.management.** 44