Brian Muramatsu | 9d3a257 | 2011-08-23 17:12:51 -0700 | [diff] [blame] | 1 | -keepclasseswithmembernames class * { |
| 2 | native <methods>; |
| 3 | } |
| 4 | |
destradaa | 0347d82 | 2014-08-13 16:43:53 -0700 | [diff] [blame] | 5 | # ensure we keep public sensor test methods, these are needed at runtime |
destradaa | a0b3bbc | 2014-09-03 14:08:00 -0700 | [diff] [blame] | 6 | -keepclassmembers class * extends com.android.cts.verifier.sensors.base.BaseSensorTestActivity { |
destradaa | 0347d82 | 2014-08-13 16:43:53 -0700 | [diff] [blame] | 7 | public <methods>; |
| 8 | } |
destradaa | 2d3dc7d | 2014-09-26 16:52:06 -0700 | [diff] [blame] | 9 | -keepclassmembers class * extends android.hardware.cts.SensorTestCase { |
| 10 | public <methods>; |
| 11 | } |
destradaa | 0347d82 | 2014-08-13 16:43:53 -0700 | [diff] [blame] | 12 | |
Sumit Kumar | e104684 | 2016-03-31 16:09:09 -0700 | [diff] [blame] | 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 | |
Tom O'Neill | cd4fa02 | 2013-12-13 17:27:46 -0800 | [diff] [blame] | 21 | -keepclasseswithmembers class * extends com.android.cts.verifier.location.LocationModeTestActivity |
| 22 | |
Robin Lee | b4be0a9 | 2015-06-15 19:13:00 -0700 | [diff] [blame] | 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 | |
destradaa | 65c7cdb | 2013-10-28 16:36:12 -0700 | [diff] [blame] | 29 | -dontwarn android.hardware.Sensor |
Chenjie Luo | 619b7e2 | 2014-09-23 13:23:06 -0700 | [diff] [blame] | 30 | -dontwarn android.test.AndroidTestRunner |
destradaa | 65c7cdb | 2013-10-28 16:36:12 -0700 | [diff] [blame] | 31 | -dontwarn java.util.concurrent.ConcurrentLinkedDeque |
Aaron Holden | 9259176 | 2016-12-07 18:52:10 -0800 | [diff] [blame] | 32 | -dontwarn com.android.compatibility.common.util.** |
Mikhail Naganov | a853454 | 2014-09-30 12:31:55 +0100 | [diff] [blame] | 33 | -dontwarn junit.** |
Narayan Kamath | 6def998 | 2015-10-13 19:13:06 +0100 | [diff] [blame] | 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 |
Sumit Kumar | e104684 | 2016-03-31 16:09:09 -0700 | [diff] [blame] | 41 | |
Colin Cross | 64be635 | 2017-01-30 17:03:40 -0800 | [diff] [blame] | 42 | -dontwarn java.lang.management.** |