Home | History | Annotate | Download | only in CtsVerifier
      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 # ensure we keep public Gnss Measurement test methods, these are needed at runtime
     18 -keepclassmembers class * extends com.android.cts.verifier.location.BaseGnssTestActivity {
     19     public <methods>;
     20 }
     21 -keepclassmembers class * extends android.location.cts.GnssTestCase {
     22     public <methods>;
     23 }
     24 
     25 -keepclasseswithmembers class * extends com.android.cts.verifier.location.LocationModeTestActivity
     26 
     27 # keep mockito methods
     28 -keep class org.mockito.** { *; }
     29 -keep interface org.mockito.** { *; }
     30 -keep class com.google.dexmaker.** { *; }
     31 -keep interface com.google.dexmaker.** { *; }
     32 
     33 -dontwarn android.hardware.Sensor
     34 -dontwarn android.test.AndroidTestRunner
     35 -dontwarn java.util.concurrent.ConcurrentLinkedDeque
     36 -dontwarn android.cts.util.**
     37 -dontwarn junit.**
     38 
     39 # Jack seems less rigorous than proguard when it comes to warning about
     40 # transitive dependencies.
     41 -dontwarn com.android.org.bouncycastle.**
     42 -dontwarn com.android.okhttp.**
     43 -dontwarn org.opencv.**
     44 -dontwarn android.support.test.internal.runner.hidden.ExposedInstrumentationApi
     45 
     46