Home
last modified time | relevance | path

Searched refs:keep (Results 1 – 25 of 132) sorted by relevance

123456

/frameworks/base/tools/aapt2/java/
DProguardRules_test.cpp62 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/
Dproguard.flags12 -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/
Dproguard-config.pro9 -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/
Dravenwood-framework-policies.txt51 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
Dravenwood-standard-options.txt19 --keep-annotation
22 --keep-annotation
25 --keep-class-annotation
43 --keep-static-initializer-annotation
/frameworks/base/core/java/android/text/
DInputFilter.java177 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/
Dproguard.flags3 -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/
Dpolicy-override-tiny-framework.txt3 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/
Dproguard.flags1 -keep class * extends junit.framework.Test { *; }
2 -keep class * extends junit.framework.TestCase { *; }
/frameworks/base/packages/SystemUI/
Dproguard.flags3 -keep class com.android.systemui.SystemUIInitializerImpl {
7 -keep,allowoptimization,allowaccessmodification class com.android.systemui.dagger.DaggerReferenceGl…
Dproguard_common.flags2 -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/
Dhoststubgen-standard-options.txt19 --keep-annotation
25 --keep-class-annotation
43 --keep-static-initializer-annotation
/frameworks/base/packages/EasterEgg/
Dproguard.flags1 # 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/
DAsmAnalyzerTest.java187 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/
Dhoststubgen-invoke-test.sh101 --keep-annotation \
105 --keep-class-annotation \
117 --keep-static-initializer-annotation \
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/
Dproguard.flags2 -keep class android.companion.** {
7 -keep class com.google.android.mobly.** {
/frameworks/base/packages/SystemUI/plugin_core/
Dproguard.flags8 -keep interface com.android.systemui.plugins.annotations.** {
11 -keep,allowshrinking,allowoptimization,allowobfuscation,allowaccessmodification @com.android.system…
/frameworks/native/services/inputflinger/
DInputListener.cpp33 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/
Dproguard_plugins.flags3 -keep class com.android.systemui.plugins.** {
7 -keep class com.android.systemui.log.core.** {
/frameworks/base/tools/hoststubgen/scripts/
Dbuild-framework-hostside-jars-without-genrules.sh42 --gen-keep-all-file $out/framework-all-keep-all-policy.txt
/frameworks/native/libs/bufferstreams/examples/app/
Dproguard-rules.pro19 # 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/
Dproguard.flags1 -keep class android.**
/frameworks/layoutlib/create/tests/res/mock_data/mock_android/fake2/keep/
DDoNotRemove.java17 package mock_android.fake2.keep;
/frameworks/compile/slang/
Dslang_rs_exportable.cpp21 bool RSExportable::keep() { in keep() function in slang::RSExportable
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/
DmainDexClasses.rules1 -keep class com.android.multidexlegacytestapp.Test

123456