Home
last modified time | relevance | path

Searched refs:Keep (Results 1 – 25 of 90) sorted by relevance

1234

/frameworks/base/tools/aapt2/filter/
DFilter_test.cpp30 ASSERT_TRUE(chain.Keep("some/random/path")); in TEST()
34 ASSERT_FALSE(chain.Keep("removed/path")); in TEST()
35 ASSERT_TRUE(chain.Keep("keep/path/1")); in TEST()
36 ASSERT_TRUE(chain.Keep("keep/path/2")); in TEST()
41 ASSERT_FALSE(chain.Keep("removed/path")); in TEST()
42 ASSERT_FALSE(chain.Keep("/keep/really/wrong/prefix")); in TEST()
43 ASSERT_FALSE(chain.Keep("keep/maybe/1")); in TEST()
44 ASSERT_TRUE(chain.Keep("keep/really/1")); in TEST()
DFilter.h34 virtual bool Keep(std::string_view path) = 0;
46 bool Keep(std::string_view path) override { in Keep() function
63 bool Keep(std::string_view path) override { in Keep() function
65 if (!filter->Keep(path)) { in Keep()
DAbiFilter_test.cpp57 TEST_P(AbiFilterTest, Keep) { in TEST_P() argument
60 EXPECT_EQ(mips->Keep(data.path), data.kept); in TEST_P()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java29 import androidx.annotation.Keep;
42 @Keep
65 @Keep
70 @Keep
107 @Keep
127 @Keep
144 @Keep
150 @Keep
166 @Keep
179 @Keep
[all …]
DWifiTrackerFactory.java20 import androidx.annotation.Keep;
31 @Keep // Keep proguard from stripping this method since it is only used in tests
/frameworks/compile/mclinker/lib/Target/
DELFEmulation.cpp33 {".init", ".init", InputSectDesc::Keep},
34 {".fini", ".fini", InputSectDesc::Keep},
35 {".preinit_array*", ".preinit_array", InputSectDesc::Keep},
36 {".init_array*", ".init_array", InputSectDesc::Keep},
37 {".fini_array*", ".fini_array", InputSectDesc::Keep},
39 {".ctors*", ".ctors", InputSectDesc::Keep},
40 {".dtors*", ".dtors", InputSectDesc::Keep},
41 {".jcr", ".jcr", InputSectDesc::Keep},
51 {".gcc_except_table*", ".gcc_except_table", InputSectDesc::Keep},
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DFilterPolicy.kt28 Keep,
82 Stub, StubClass, Keep, KeepClass, Remove -> true
91 Stub, Keep, Remove -> true
119 Stub, StubClass, Keep, KeepClass, SubstituteAndStub, SubstituteAndKeep -> true
126 SubstituteAndKeep -> Keep in getSubstitutionBasePolicy()
138 KeepClass -> Keep in resolveClassWidePolicy()
DFilterPolicyWithReason.kt42 val newPolicy = if (policy.isClassWidePolicy) FilterPolicy.KeepClass else FilterPolicy.Keep in promoteToKeep()
57 val newPolicy = if (policy.isClassWidePolicy) FilterPolicy.KeepClass else FilterPolicy.Keep in demoteToKeep()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFlags.kt19 import com.android.internal.annotations.Keep
64 @Keep
296 @Keep
302 @Keep
312 @Keep
316 @Keep
330 @Keep
335 @Keep
387 @Keep
393 @Keep
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DWindowWakeUpPolicyInternal.java22 import com.android.internal.annotations.Keep;
26 @Keep
37 @Keep
73 @Keep
/frameworks/opt/telephony/
Dproguard.flags7 # Keep deprecated GSM SMS API
15 # Keep telephony sysprop
20 # Keep public classes and public/protected members
25 # Keep classes and members that have the @UnsupportedAppUsage annotation
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerInternal.java31 import com.android.internal.annotations.Keep;
54 @Keep public static final int USER_ASSIGNMENT_RESULT_SUCCESS_VISIBLE = 1;
55 @Keep public static final int USER_ASSIGNMENT_RESULT_SUCCESS_INVISIBLE = 2;
56 @Keep public static final int USER_ASSIGNMENT_RESULT_SUCCESS_ALREADY_VISIBLE = 3;
57 @Keep public static final int USER_ASSIGNMENT_RESULT_FAILURE = -1;
84 @Keep public static final int USER_START_MODE_FOREGROUND = 1;
94 @Keep public static final int USER_START_MODE_BACKGROUND = 2;
104 @Keep public static final int USER_START_MODE_BACKGROUND_VISIBLE = 3;
/frameworks/base/services/core/java/com/android/server/permission/
DPermissionManagerLocal.java20 import com.android.internal.annotations.Keep;
27 @Keep
/frameworks/base/ravenwood/texts/
Dravenwood-services-policies.txt3 # Keep all AIDL interfaces
6 # Keep all feature flag implementations
Dravenwood-framework-policies.txt3 # Keep all AIDL interfaces
6 # Keep all feature flag implementations
9 # Keep all sysprops generated code implementations
/frameworks/proto_logging/stats/enums/wear/connectivity/
Denums.proto45 * Keep sorted order in each block. Last enum num is 60
121 * Keep sorted order in each block. Last enum num is 52
193 * Keep sorted order in each block. Last enum num is 2
202 * Keep sorted order in each block. Last enum num is 13
226 * Keep sorted order in each block. Last enum num is 2
/frameworks/base/core/proto/android/server/
Dblobstoremanagerservice.proto26 // Keep in sync between:
44 // Keep in sync between:
56 // Keep in sync between:
64 // Keep in sync between:
/frameworks/libs/modules-utils/java/
Daconfig_proguard.flags1 # Keep rules to help Aconfig generated java code
13 # Keep members with @VisibleForTesting annotation.
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/
Dproguard.flags1 # Keep all companion classes.
11 # Keep names for easy debugging.
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaGroup.java28 import com.android.internal.annotations.Keep;
31 @Keep
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderView.java30 import androidx.annotation.Keep;
206 @Keep
223 @Keep
/frameworks/proto_logging/stats/enums/stats/tls/
Denums.proto19 // Keep in sync with
38 // Keep in sync with
79 // Keep in sync with
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java23 import androidx.annotation.Keep;
230 @Keep
263 @Keep
/frameworks/compile/mclinker/lib/Script/
DInputSectDesc.cpp36 if (m_KeepPolicy == Keep) in dump()
96 if (m_KeepPolicy == Keep) in dump()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DNormalBrightnessModeControllerTest.java25 import com.android.internal.annotations.Keep;
51 @Keep

1234