-keepclasseswithmembernames class * { native <methods>; } -keepclassmembers class com.android.cts.verifier.os.FileUtils$FileStatus { private <fields>; } # ensure we keep public sensor test methods, these are needed at runtime -keepclassmembers class * extends com.android.cts.verifier.sensors.base.BaseSensorTestActivity { public <methods>; } -keepclassmembers class * extends android.hardware.cts.SensorTestCase { public <methods>; } -keepclasseswithmembers class * extends com.android.cts.verifier.location.LocationModeTestActivity -dontwarn android.hardware.Sensor -dontwarn android.test.AndroidTestRunner -dontwarn java.util.concurrent.ConcurrentLinkedDeque