/frameworks/base/tools/aapt2/java/ |
D | ProguardRules_test.cpp | 62 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarAppComponentFactory { <init>(); }")); 63 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarBackupAgent { <init>(); }")); 64 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarApplication { <init>(); }")); 65 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BazApplication { <init>(); }")); 66 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarActivity { <init>(); }")); 67 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarService { <init>(); }")); 68 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarReceiver { <init>(); }")); 69 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarProvider { <init>(); }")); 70 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarInstrumentation { <init>(); }")); 71 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.BarZygotePreload { <init>(); }")); [all …]
|
/frameworks/base/services/ |
D | proguard.flags | 12 -keep class com.android.server.SystemServer { 17 # TODO(b/300514883): Pull @SystemApi keep rules from system-api.pro. 18 -keep interface android.annotation.SystemApi 19 -keep @android.annotation.SystemApi class * { 28 -keep public class <1>$** { 33 -keep,allowoptimization,allowaccessmodification class com.android.internal.art.ArtStatsLog { 38 -keep public class android.net.** { *; } 39 -keep,allowoptimization,allowaccessmodification class com.android.net.module.util.* { *; } 40 -keep,allowoptimization,allowaccessmodification public class com.android.server.net.IpConfigStore {… 41 -keep,allowoptimization,allowaccessmodification public class com.android.server.net.BaseNetworkObse… [all …]
|
/frameworks/opt/bitmap/sample/ |
D | proguard-config.pro | 9 -keep public class * extends android.app.Activity 10 -keep public class * extends android.support.v4.app.Fragment 11 -keep public class * extends android.app.Application 12 -keep public class * extends android.app.Service 13 -keep public class * extends android.content.BroadcastReceiver 14 -keep public class * extends android.content.ContentProvider 16 -keep interface android.util.AttributeSet 18 -keep public class * extends android.view.View {
|
/frameworks/base/ravenwood/texts/ |
D | ravenwood-framework-policies.txt | 51 class android.content.BroadcastReceiver keep 52 method <init> ()V keep 53 class android.content.Context keep 54 method <init> ()V keep 55 method getSystemService (Ljava/lang/Class;)Ljava/lang/Object; keep 56 class android.content.pm.PackageManager keep 57 method <init> ()V keep 58 class android.text.ClipboardManager keep 59 method <init> ()V keep
|
D | ravenwood-standard-options.txt | 19 --keep-annotation 22 --keep-annotation 25 --keep-class-annotation 43 --keep-static-initializer-annotation
|
/frameworks/base/core/java/android/text/ |
D | InputFilter.java | 177 int keep = mMax - (dest.length() - (dend - dstart)); in filter() local 178 if (keep <= 0) { in filter() 180 } else if (keep >= end - start) { in filter() 183 keep += start; in filter() 184 if (Character.isHighSurrogate(source.charAt(keep - 1))) { in filter() 185 --keep; in filter() 186 if (keep == start) { in filter() 190 return source.subSequence(start, keep); in filter()
|
/frameworks/base/packages/WAPPushManager/ |
D | proguard.flags | 3 -keep class android.app.ContextImpl$SharedPreferencesImpl$EditorImpl { 6 -keep class android.content.SharedPreferences$Editor { 11 -keep class com.android.smspush.WapPushManager {
|
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/ |
D | policy-override-tiny-framework.txt | 3 field keep keep 7 method addOneInner (I)I keep 38 class *com.android.hoststubgen.test.tinyframework.subclasstest.C1 keep 41 class *com.android.hoststubgen.test.tinyframework.subclasstest.I1 keep
|
/frameworks/libs/modules-utils/javatests/com/android/internal/annotations/ |
D | proguard.flags | 1 -keep class * extends junit.framework.Test { *; } 2 -keep class * extends junit.framework.TestCase { *; }
|
/frameworks/base/packages/SystemUI/ |
D | proguard.flags | 3 -keep class com.android.systemui.SystemUIInitializerImpl { 7 -keep,allowoptimization,allowaccessmodification class com.android.systemui.dagger.DaggerReferenceGl…
|
D | proguard_common.flags | 2 -keep class com.android.systemui.VendorServices 8 # constructor. We also keep callback class names for easier debugging. 20 -keep class androidx.core.app.CoreComponentFactory 23 -keep class com.android.wm.shell.*
|
/frameworks/base/tools/hoststubgen/hoststubgen/ |
D | hoststubgen-standard-options.txt | 19 --keep-annotation 25 --keep-class-annotation 43 --keep-static-initializer-annotation
|
/frameworks/base/packages/EasterEgg/ |
D | proguard.flags | 1 # Note: This is a very conservative keep rule, but as the amount of app 4 -keep class com.android.egg.** { *; }
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 187 TreeMap<String, ClassReader> keep = new TreeMap<>(); in testDependencyVisitor() local 192 … ClassReader cr = AsmAnalyzer.findClass("mock_android.widget.LinearLayout", zipClasses, keep); in testDependencyVisitor() 193 …DependencyVisitor visitor = getDefaultAnalyzer().getVisitor(zipClasses, keep, new_keep, in_deps, o… in testDependencyVisitor() 227 keep.putAll(new_keep); in testDependencyVisitor() 233 }, keep.keySet().toArray()); in testDependencyVisitor()
|
/frameworks/base/tools/hoststubgen/hoststubgen/invoketest/ |
D | hoststubgen-invoke-test.sh | 101 --keep-annotation \ 105 --keep-class-annotation \ 117 --keep-static-initializer-annotation \
|
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/ |
D | proguard.flags | 2 -keep class android.companion.** { 7 -keep class com.google.android.mobly.** {
|
/frameworks/base/packages/SystemUI/plugin_core/ |
D | proguard.flags | 8 -keep interface com.android.systemui.plugins.annotations.** { 11 -keep,allowshrinking,allowoptimization,allowobfuscation,allowaccessmodification @com.android.system…
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 33 std::list<NotifyArgs>& operator+=(std::list<NotifyArgs>& keep, std::list<NotifyArgs>&& consume) { in operator +=() argument 34 keep.splice(keep.end(), consume); in operator +=() 35 return keep; in operator +=()
|
/frameworks/base/packages/SystemUI/plugin/ |
D | proguard_plugins.flags | 3 -keep class com.android.systemui.plugins.** { 7 -keep class com.android.systemui.log.core.** {
|
/frameworks/base/tools/hoststubgen/scripts/ |
D | build-framework-hostside-jars-without-genrules.sh | 42 --gen-keep-all-file $out/framework-all-keep-all-policy.txt
|
/frameworks/native/libs/bufferstreams/examples/app/ |
D | proguard-rules.pro | 19 # If you keep the line number information, uncomment this to 23 -keep,allowoptimization,allowobfuscation class com.android.graphics.bufferstreamsdemoapp.** { *; }
|
/frameworks/libs/gsma_services/satellite_client/ |
D | proguard.flags | 1 -keep class android.**
|
/frameworks/layoutlib/create/tests/res/mock_data/mock_android/fake2/keep/ |
D | DoNotRemove.java | 17 package mock_android.fake2.keep;
|
/frameworks/compile/slang/ |
D | slang_rs_exportable.cpp | 21 bool RSExportable::keep() { in keep() function in slang::RSExportable
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/ |
D | mainDexClasses.rules | 1 -keep class com.android.multidexlegacytestapp.Test
|