Home | History | Annotate | Download | only in CtsVerifier
      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 interface com.google.dexmaker.** { *; }
     28 
     29 -dontwarn android.hardware.Sensor
     30 -dontwarn android.test.AndroidTestRunner
     31 -dontwarn java.util.concurrent.ConcurrentLinkedDeque
     32 -dontwarn com.android.compatibility.common.util.**
     33 -dontwarn junit.**
     34 
     35 # Jack seems less rigorous than proguard when it comes to warning about
     36 # transitive dependencies.
     37 -dontwarn com.android.org.bouncycastle.**
     38 -dontwarn com.android.okhttp.**
     39 -dontwarn org.opencv.**
     40 -dontwarn android.support.test.internal.runner.hidden.ExposedInstrumentationApi
     41 
     42 -dontwarn java.lang.management.**
     43