Home
last modified time | relevance | path

Searched refs:Method (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp31 Pseudolocalizer::Method method) { in SimpleHelper()
42 Pseudolocalizer::Method method) { in CompoundHelper()
53 EXPECT_TRUE(SimpleHelper("", "", Pseudolocalizer::Method::kNone)); in TEST()
55 Pseudolocalizer::Method::kNone)); in TEST()
58 Pseudolocalizer::Method::kNone)); in TEST()
62 EXPECT_TRUE(SimpleHelper("", "[]", Pseudolocalizer::Method::kAccent)); in TEST()
64 Pseudolocalizer::Method::kAccent)); in TEST()
67 Pseudolocalizer::Method::kAccent)); in TEST()
70 Pseudolocalizer::Method::kAccent)); in TEST()
72 SimpleHelper("^1 %", "[^1 % one]", Pseudolocalizer::Method::kAccent)); in TEST()
[all …]
DPseudolocalizer.h40 enum class Method { enum
46 explicit Pseudolocalizer(Method method);
47 void SetMethod(Method method);
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
DmissingSinces.txt27 NO DOC BLOCK: android.support.v17.leanback.app.BackgroundManager Method attachToView(android.view.V…
28 NO DOC BLOCK: android.support.v17.leanback.app.BackgroundManager Method clearDrawable()
29 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepFragment Method collapseAction(boolean)
30 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepSupportFragment Method collapseAction(bool…
31 NO DOC BLOCK: android.support.v17.leanback.widget.GuidedActionsStylist Method collapseAction(boolea…
32 NO DOC BLOCK: android.support.v7.widget.SnapHelper Method createSnapScroller(android.support.v7.wid…
33 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepFragment Method expandAction(android.suppo…
34 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepSupportFragment Method expandAction(androi…
35 NO DOC BLOCK: android.support.v17.leanback.widget.GuidedActionsStylist Method expandAction(android.…
36 NO DOC BLOCK: android.support.v17.leanback.app.BrowseFragment.MainFragmentRowsAdapter Method findRo…
[all …]
/frameworks/base/nfc/api/
Dlint-baseline.txt17Method 'disableForegroundDispatch' documentation mentions permissions without declaring @RequiresP…
19Method 'enableForegroundDispatch' documentation mentions permissions without declaring @RequiresPe…
21Method 'isDefaultServiceForAid' documentation mentions permissions without declaring @RequiresPerm…
23Method 'isDefaultServiceForCategory' documentation mentions permissions without declaring @Require…
25Method 'setOffHostForService' documentation mentions permissions already declared by @RequiresPerm…
27 Method 'getTimeout' documentation mentions permissions without declaring @RequiresPermission
29 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission
31 Method 'transceive' documentation mentions permissions without declaring @RequiresPermission
33Method 'authenticateSectorWithKeyA' documentation mentions permissions without declaring @Requires…
35Method 'authenticateSectorWithKeyB' documentation mentions permissions without declaring @Requires…
[all …]
Dmodule-lib-lint-baseline.txt12Method 'disableForegroundDispatch' documentation mentions permissions without declaring @RequiresP…
14Method 'enableForegroundDispatch' documentation mentions permissions without declaring @RequiresPe…
16Method 'isDefaultServiceForAid' documentation mentions permissions without declaring @RequiresPerm…
18Method 'isDefaultServiceForCategory' documentation mentions permissions without declaring @Require…
20Method 'setOffHostForService' documentation mentions permissions already declared by @RequiresPerm…
22 Method 'getTimeout' documentation mentions permissions without declaring @RequiresPermission
24 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission
26 Method 'transceive' documentation mentions permissions without declaring @RequiresPermission
28Method 'authenticateSectorWithKeyA' documentation mentions permissions without declaring @Requires…
30Method 'authenticateSectorWithKeyB' documentation mentions permissions without declaring @Requires…
[all …]
Dsystem-lint-baseline.txt19Method 'disableForegroundDispatch' documentation mentions permissions without declaring @RequiresP…
21Method 'enableForegroundDispatch' documentation mentions permissions without declaring @RequiresPe…
23Method 'isDefaultServiceForAid' documentation mentions permissions without declaring @RequiresPerm…
25Method 'isDefaultServiceForCategory' documentation mentions permissions without declaring @Require…
27Method 'setOffHostForService' documentation mentions permissions already declared by @RequiresPerm…
29 Method 'getTimeout' documentation mentions permissions without declaring @RequiresPermission
31 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission
33 Method 'transceive' documentation mentions permissions without declaring @RequiresPermission
35Method 'authenticateSectorWithKeyA' documentation mentions permissions without declaring @Requires…
37Method 'authenticateSectorWithKeyB' documentation mentions permissions without declaring @Requires…
[all …]
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/
DSaferParcelChecker.kt32 .map(Method::name) in getApplicableMethodNames()
79 …private val PARCEL_METHOD_READ_SERIALIZABLE = Method("android.os.Parcel", "readSerializable", list…
80 …private val PARCEL_METHOD_READ_ARRAY_LIST = Method("android.os.Parcel", "readArrayList", listOf("j…
81 …private val PARCEL_METHOD_READ_LIST = Method("android.os.Parcel", "readList", listOf("java.util.Li…
82 …private val PARCEL_METHOD_READ_PARCELABLE = Method(listOf("T"), "android.os.Parcel", "readParcelab…
83 …private val PARCEL_METHOD_READ_PARCELABLE_LIST = Method(listOf("T"), "android.os.Parcel", "readPar…
84 …private val PARCEL_METHOD_READ_SPARSE_ARRAY = Method(listOf("T"), "android.os.Parcel", "readSparse…
85 …private val PARCEL_METHOD_READ_ARRAY = Method("android.os.Parcel", "readArray", listOf("java.lang.…
86 …private val PARCEL_METHOD_READ_PARCELABLE_ARRAY = Method("android.os.Parcel", "readParcelableArray…
89 …private val BUNDLE_METHOD_GET_SERIALIZABLE = Method("android.os.Bundle", "getSerializable", listOf…
[all …]
/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/
DConstants.kt19 import com.google.android.lint.model.Method
28 Method(CLASS_CONTEXT, "checkPermission"),
29 Method(CLASS_CONTEXT, "checkCallingPermission"),
30 Method(CLASS_CONTEXT, "checkCallingOrSelfPermission"),
31 Method(CLASS_CONTEXT, "enforcePermission"),
32 Method(CLASS_CONTEXT, "enforceCallingPermission"),
33 Method(CLASS_CONTEXT, "enforceCallingOrSelfPermission"),
34 Method(CLASS_ACTIVITY_MANAGER_SERVICE, "checkPermission"),
35 Method(CLASS_ACTIVITY_MANAGER_INTERNAL, "enforceCallingPermission")
/frameworks/base/core/api/
Dmodule-lib-lint-baseline.txt335Method android.accounts.AccountManager.newChooseAccountIntent(android.accounts.Account, java.util.…
337Method android.app.Activity.enterPictureInPictureMode(): @Deprecated annotation (present) and @dep…
339Method android.app.Instrumentation.startAllocCounting(): @Deprecated annotation (present) and @dep…
341Method android.app.Instrumentation.stopAllocCounting(): @Deprecated annotation (present) and @depr…
353Method android.app.Notification.Action.WearableExtender.getCancelLabel(): @Deprecated annotation (…
355Method android.app.Notification.Action.WearableExtender.getConfirmLabel(): @Deprecated annotation …
357Method android.app.Notification.Action.WearableExtender.getInProgressLabel(): @Deprecated annotati…
359Method android.app.Notification.Action.WearableExtender.setCancelLabel(CharSequence): @Deprecated …
361Method android.app.Notification.Action.WearableExtender.setConfirmLabel(CharSequence): @Deprecated…
363Method android.app.Notification.Action.WearableExtender.setInProgressLabel(CharSequence): @Depreca…
[all …]
Dtest-lint-baseline.txt347Method android.accounts.AccountManager.newChooseAccountIntent(android.accounts.Account, java.util.…
349Method android.app.Activity.enterPictureInPictureMode(): @Deprecated annotation (present) and @dep…
351Method android.app.Instrumentation.startAllocCounting(): @Deprecated annotation (present) and @dep…
353Method android.app.Instrumentation.stopAllocCounting(): @Deprecated annotation (present) and @depr…
365Method android.app.Notification.Action.WearableExtender.getCancelLabel(): @Deprecated annotation (…
367Method android.app.Notification.Action.WearableExtender.getConfirmLabel(): @Deprecated annotation …
369Method android.app.Notification.Action.WearableExtender.getInProgressLabel(): @Deprecated annotati…
371Method android.app.Notification.Action.WearableExtender.setCancelLabel(CharSequence): @Deprecated …
373Method android.app.Notification.Action.WearableExtender.setConfirmLabel(CharSequence): @Deprecated…
375Method android.app.Notification.Action.WearableExtender.setInProgressLabel(CharSequence): @Depreca…
[all …]
Dlint-baseline.txt249Method android.accounts.AccountManager.newChooseAccountIntent(android.accounts.Account, java.util.…
251Method android.app.Activity.enterPictureInPictureMode(): @Deprecated annotation (present) and @dep…
253Method android.app.Instrumentation.startAllocCounting(): @Deprecated annotation (present) and @dep…
255Method android.app.Instrumentation.stopAllocCounting(): @Deprecated annotation (present) and @depr…
267Method android.app.Notification.Action.WearableExtender.getCancelLabel(): @Deprecated annotation (…
269Method android.app.Notification.Action.WearableExtender.getConfirmLabel(): @Deprecated annotation …
271Method android.app.Notification.Action.WearableExtender.getInProgressLabel(): @Deprecated annotati…
273Method android.app.Notification.Action.WearableExtender.setCancelLabel(CharSequence): @Deprecated …
275Method android.app.Notification.Action.WearableExtender.setConfirmLabel(CharSequence): @Deprecated…
277Method android.app.Notification.Action.WearableExtender.setInProgressLabel(CharSequence): @Depreca…
[all …]
Dsystem-lint-baseline.txt3Method should return Collection<CharSequence> (or subclass) instead of raw array; was `java.lang.C…
339Method android.accounts.AccountManager.newChooseAccountIntent(android.accounts.Account, java.util.…
341Method android.app.Activity.enterPictureInPictureMode(): @Deprecated annotation (present) and @dep…
343Method android.app.Instrumentation.startAllocCounting(): @Deprecated annotation (present) and @dep…
345Method android.app.Instrumentation.stopAllocCounting(): @Deprecated annotation (present) and @depr…
357Method android.app.Notification.Action.WearableExtender.getCancelLabel(): @Deprecated annotation (…
359Method android.app.Notification.Action.WearableExtender.getConfirmLabel(): @Deprecated annotation …
361Method android.app.Notification.Action.WearableExtender.getInProgressLabel(): @Deprecated annotati…
363Method android.app.Notification.Action.WearableExtender.setCancelLabel(CharSequence): @Deprecated …
365Method android.app.Notification.Action.WearableExtender.setConfirmLabel(CharSequence): @Deprecated…
[all …]
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/
DmissingSinces.txt7 NO DOC BLOCK: android.support.v4.app.NotificationCompat.WearableExtender Method getBridgeTag()
8 NO DOC BLOCK: android.support.v7.widget.RecyclerView Method getDecoratedBoundsWithMargins(android.v…
9 NO DOC BLOCK: android.support.v4.view.ViewCompat Method getDisplay(android.view.View)
10 NO DOC BLOCK: android.support.v4.widget.SwipeRefreshLayout Method getProgressViewEndOffset()
11 NO DOC BLOCK: android.support.v4.widget.SwipeRefreshLayout Method getProgressViewStartOffset()
12 NO DOC BLOCK: android.support.v4.net.ConnectivityManagerCompat Method getRestrictBackgroundStatus(a…
13 NO DOC BLOCK: android.support.design.widget.FloatingActionButton Method getRippleColor()
14 NO DOC BLOCK: android.support.v7.widget.RecyclerView.LayoutManager Method isItemPrefetchEnabled()
15 NO DOC BLOCK: android.support.v4.text.BidiFormatter Method isRtl(java.lang.CharSequence)
16 NO DOC BLOCK: android.support.v4.view.ViewCompat Method setBackground(android.view.View, android.gr…
[all …]
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
DPackageVisibilityDetector.kt149 filters: List<Method> in <lambda>()
152 return Method(method) in filters in <lambda>()
165 sinkList: List<Method> in <lambda>()
292 sinkCallList: List<Method> in <lambda>()
293 ): Method? { in <lambda>()
295 it == Method(uMethod) || in <lambda>()
296 it == Method(uMethod.containingClass?.qualifiedName ?: "", "*") in <lambda>()
313 val visitMethod = Method(node.resolve() ?: return false) in <lambda>()
348 private data class Method( in <lambda>() dataClass
375 method: com.google.android.lint.model.Method in <lambda>()
[all …]
/frameworks/base/location/api/
Dlint-baseline.txt3Method 'addGpsStatusListener' documentation mentions permissions already declared by @RequiresPerm…
5Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
7Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
9Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
11Method 'addProximityAlert' documentation mentions permissions already declared by @RequiresPermiss…
13Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
15Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
17Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
19Method 'registerGnssNavigationMessageCallback' documentation mentions permissions already declared…
21Method 'registerGnssNavigationMessageCallback' documentation mentions permissions already declared…
[all …]
Dsystem-lint-baseline.txt3Method 'addGpsStatusListener' documentation mentions permissions already declared by @RequiresPerm…
5Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
7Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
9Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
11Method 'addProximityAlert' documentation mentions permissions already declared by @RequiresPermiss…
13Method 'injectGnssMeasurementCorrections' documentation mentions permissions already declared by @…
15Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
17Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
19Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
21Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
[all …]
Dmodule-lib-lint-baseline.txt3Method 'addGpsStatusListener' documentation mentions permissions already declared by @RequiresPerm…
5Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
7Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
9Method 'addNmeaListener' documentation mentions permissions already declared by @RequiresPermission
11Method 'addProximityAlert' documentation mentions permissions already declared by @RequiresPermiss…
13Method 'injectGnssMeasurementCorrections' documentation mentions permissions already declared by @…
15Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
17Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
19Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
21Method 'registerGnssMeasurementsCallback' documentation mentions permissions already declared by @…
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java23 import java.lang.reflect.Method;
87 List<Method> checkedDelegateMethods = new ArrayList<Method>(); in compare()
93 Method[] originalMethods = originalClass.getDeclaredMethods(); in compare()
94 for (Method originalMethod : originalMethods) { in compare()
125 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(), in compare()
171 Method[] delegateMethods = delegateClass.getDeclaredMethods(); in compare()
172 for (Method delegateMethod : delegateMethods) { in compare()
193 private String getMethodName(Method method) { in getMethodName()
197 private String getMethodName(Method method, Class<?>[] parameters) { in getMethodName()
/frameworks/layoutlib/common/src/com/android/layoutlib/common/util/
DReflectionUtils.java25 import java.lang.reflect.Method;
34 public static Method getMethod(@NonNull String className, @NonNull String name, in getMethod()
44 public static Method getMethod(@NonNull Class<?> clazz, @NonNull String name, in getMethod()
54 public static Method getAccessibleMethod(@NonNull Class<?> clazz, @NonNull String name, in getAccessibleMethod()
56 Method method = getMethod(clazz, name, params); in getAccessibleMethod()
76 public static Object invoke(@NonNull Method method, @Nullable Object object, in invoke()
91 Method m = getMethod(Class.forName(className), methodName); in invokeStatic()
179 public Object invoke(Object proxy, Method m, Object[] args) { in createProxy()
/frameworks/base/test-base/hiddenapi/src/junit/framework/
DTestSuite.java21 import java.lang.reflect.Method;
33 private boolean isPublicTestMethod(Method m) { in isPublicTestMethod()
41 private boolean isTestMethod(Method m) { in isTestMethod()
/frameworks/base/core/java/com/android/internal/os/
DBinderTransactionNameResolver.java24 import java.lang.reflect.Method;
39 private static final Method NO_GET_DEFAULT_TRANSACTION_NAME_METHOD;
60 private final HashMap<Class<? extends Binder>, Method>
69 Method method = mGetDefaultTransactionNameMethods.get(binderClass); in getMethodName()
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/hierarchy/
DCustomHierarchyHelper.java25 import java.lang.reflect.Method;
54 Method isCheckable = button.getMethod("isCheckable"); in isCheckable()
62 Method isCheckable = card.getMethod("isCheckable"); in isCheckable()
70 Method isCheckable = chip.getMethod("isCheckable"); in isCheckable()
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/golden-output/
D13-hoststubgen-test-tiny-framework-host-ext-impl-dump.txt17 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
55 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
86 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
124 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
155 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
186 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
224 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
255 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
286 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
317 …x: invokestatic #x // Method com/android/hoststubgen/hosthelper/HostTestUtils.onC…
[all …]
/frameworks/base/tools/traceinjection/src/com/android/traceinjection/
DTraceInjectionMethodAdapter.java25 import org.objectweb.asm.commons.Method;
83 Method trace = Method.getMethod("void " + mParams.startMethodName + " (long, String)"); in onMethodEnter()
107 Method trace = Method.getMethod("void " + mParams.endMethodName + " (long)"); in onFinally()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java45 import java.lang.reflect.Method;
158 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class); in setTitle()
166Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class); in setSubtitle()
179 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class); in setIcon()
189 Method setHomeAsUp = getMethod(mWindowActionBarClass, in setHomeAsUp()
239 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod()
253 private static Method findMethod(@Nullable Class<?> owner, @NonNull String name) { in findMethod()
257 for (Method method : owner.getMethods()) { in findMethod()
291 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke()

123456