Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer_test.cpp42 Pseudolocalizer::Method method) { in CompoundHelper()
83 Pseudolocalizer::Method::kBidi)); in TEST()
86 Pseudolocalizer::Method::kBidi)); in TEST()
89 Pseudolocalizer::Method::kBidi)); in TEST()
94 Pseudolocalizer::Method::kBidi)); in TEST()
99 Pseudolocalizer::Method::kBidi)); in TEST()
104 Pseudolocalizer::Method::kBidi)); in TEST()
134 Pseudolocalizer::Method::kBidi)); in TEST()
140 Pseudolocalizer::Method::kBidi)); in TEST()
160 Pseudolocalizer::Method::kAccent)); in TEST()
[all …]
H A DPseudolocalizer.h40 enum class Method { enum
46 explicit Pseudolocalizer(Method method);
47 void SetMethod(Method method);
H A DPseudolocaleGenerator.cpp114 Pseudolocalizer::Method method, in PseudolocalizeStyledString()
228 Visitor(android::StringPool* pool, Pseudolocalizer::Method method) in Visitor()
292 Pseudolocalizer::Method method_;
297 Pseudolocalizer::Method m) { in ModifyConfigForPseudoLocale()
300 case Pseudolocalizer::Method::kAccent: in ModifyConfigForPseudoLocale()
307 case Pseudolocalizer::Method::kBidi: in ModifyConfigForPseudoLocale()
319 void PseudolocalizeIfNeeded(const Pseudolocalizer::Method method, in PseudolocalizeIfNeeded()
365 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kAccent, value, &table->string_pool, in Consume()
367 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kBidi, value, &table->string_pool, in Consume()
/aosp14/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
H A DmissingSinces.txt28 NO DOC BLOCK: android.support.v17.leanback.app.BackgroundManager Method clearDrawable()
40 NO DOC BLOCK: android.support.v7.media.MediaRouter Method getBluetoothRoute()
43 NO DOC BLOCK: android.support.v17.leanback.widget.HeaderItem Method getDescription()
46 NO DOC BLOCK: android.support.v7.widget.LinearLayoutCompat Method getGravity()
47 NO DOC BLOCK: android.support.v17.leanback.app.BrowseFragment Method getMainFragment()
59 NO DOC BLOCK: android.support.v4.os.BuildCompat Method isAtLeastO()
63 NO DOC BLOCK: android.support.v7.media.MediaRouter.RouteInfo Method isBluetooth()
64 NO DOC BLOCK: android.support.v7.media.MediaRouter.RouteInfo Method isDeviceSpeaker()
65 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepFragment Method isExpanded()
68 NO DOC BLOCK: android.support.v4.provider.DocumentFile Method isVirtual()
[all …]
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/
H A DSaferParcelChecker.kt32 .map(Method::name)
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…
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…
90 …private val BUNDLE_METHOD_GET_PARCELABLE = Method(listOf("T"), "android.os.Bundle", "getParcelable…
92 …private val BUNDLE_METHOD_GET_PARCELABLE_ARRAY = Method("android.os.Bundle", "getParcelableArray",…
[all …]
H A DCallMigrators.kt41 val method: Method,
137 method: Method,
169 method: Method,
185 method: Method,
200 method: Method,
220 method: Method,
/aosp14/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/
H A 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")
/aosp14/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/
H A DmissingSinces.txt7 NO DOC BLOCK: android.support.v4.app.NotificationCompat.WearableExtender Method getBridgeTag()
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()
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)
17 NO DOC BLOCK: android.support.v4.app.NotificationCompat.WearableExtender Method setBridgeTag(java.l…
18 NO DOC BLOCK: android.support.v7.widget.RecyclerView.LayoutManager Method setItemPrefetchEnabled(bo…
21 NO DOC BLOCK: android.support.v4.text.BidiFormatter Method unicodeWrap(java.lang.CharSequence)
[all …]
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
H A DPackageVisibilityDetector.kt149 filters: List<Method>
152 return Method(method) in filters
165 sinkList: List<Method>
292 sinkCallList: List<Method>
293 ): Method? {
295 it == Method(uMethod) ||
348 private data class Method( dataClass
375 method: com.google.android.lint.model.Method
443 Method(CLASS_APPOPS_MANAGER, "noteOp"),
448 Method(CLASS_APPOPS_MANAGER, "startOp"),
[all …]
H A DCallingIdentityTokenDetector.kt95 if (!isMethodCall(rhsExpression, Method.BINDER_CLEAR_CALLING_IDENTITY)) return
150 isMethodCall(node, Method.BINDER_CLEAR_CALLING_IDENTITY) -> {
153 isMethodCall(node, Method.BINDER_RESTORE_CALLING_IDENTITY) -> {
234 method: Method
357 private enum class Method(
384 Method.BINDER_GET_CALLING_PID,
385 Method.BINDER_GET_CALLING_UID,
386 Method.BINDER_GET_CALLING_UID_OR_THROW,
387 Method.BINDER_GET_CALLING_USER_HANDLE,
388 Method.USER_HANDLE_GET_CALLING_APP_ID,
[all …]
/aosp14/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
H A DDexBuilderTest.java21 import java.lang.reflect.Method;
26 import java.lang.reflect.Method;
48 Method method = clazz.getMethod("return5"); in return5()
56 Method method = clazz.getMethod("returnInteger5"); in returnInteger5()
64 Method method = clazz.getMethod("returnParam", int.class); in returnParam()
81 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero()
99 Method method = clazz.getMethod("backwardsBranch"); in backwardsBranch()
107 Method method = clazz.getMethod("returnNull"); in returnNull()
115 Method method = clazz.getMethod("makeString"); in makeString()
178 Method method = clazz.getMethod("readStaticField"); in readStaticField()
[all …]
H A DLayoutCompilerTest.java21 import java.lang.reflect.Method;
25 import java.lang.reflect.Method;
39 Method layout1 = compiled_view.getMethod("layout1", Context.class, int.class); in loadAndInflateLayout1()
48 Method layout1 = compiled_view.getMethod("layout2", Context.class, int.class); in loadAndInflateLayout2()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A 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()
/aosp14/frameworks/base/test-base/hiddenapi/src/junit/framework/
H A DTestSuite.java21 import java.lang.reflect.Method;
33 private boolean isPublicTestMethod(Method m) { in isPublicTestMethod()
41 private boolean isTestMethod(Method m) { in isTestMethod()
/aosp14/frameworks/base/tools/traceinjection/src/com/android/traceinjection/
H A 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()
/aosp14/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java26 import java.lang.reflect.Method;
71 for (Method testMethod : getTestMethods(testCase)) { in getTests()
78 private List<Method> getTestMethods(Class<? extends TestCase> testCaseClass) { in getTestMethods()
79 List<Method> methods = Arrays.asList(testCaseClass.getMethods()); in getTestMethods()
221 private static class TestMethodPredicate implements Predicate<Method> {
223 public boolean apply(Method method) { in apply()
/aosp14/frameworks/base/tests/utils/testutils/java/android/app/test/
H A DMockAnswerUtil.java23 import java.lang.reflect.Method;
39 Method method = invocation.getMethod(); in answer()
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes()); in answer()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DReflectionPerfTest.java31 import java.lang.reflect.Method;
127 Method m = klass.getDeclaredMethod("m"); in timeMethod_invokeV()
138 Method m = klass.getDeclaredMethod("sm"); in timeMethod_invokeStaticV()
148 Method m = klass.getDeclaredMethod("setField", int.class); in timeMethod_invokeI()
159 Method m = klass.getDeclaredMethod("setField", int.class); in timeMethod_invokePreBoxedI()
171 Method m = klass.getDeclaredMethod("setStaticField", int.class); in timeMethod_invokeStaticI()
181 Method m = klass.getDeclaredMethod("setStaticField", int.class); in timeMethod_invokeStaticPreBoxedI()
/aosp14/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java21 import java.lang.reflect.Method;
88 Method[] methods = clazz.getMethods(); in addTestClass()
89 for (Method method : methods) { in addTestClass()
143 public boolean accept(Method method); in accept()
/aosp14/frameworks/base/core/java/android/net/http/
H A DX509TrustManagerExtensions.java24 import java.lang.reflect.Method;
44 private final Method mCheckServerTrusted;
45 private final Method mIsSameTrustConfiguration;
75 Method isSameTrustConfiguration = null; in X509TrustManagerExtensions()
/aosp14/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java24 import java.lang.reflect.Method;
46 Method method = null; in runTest()
75 final Method testMethod = method; in runTest()
116 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod()
/aosp14/frameworks/base/test-base/src/junit/framework/
H A DTestSuite.java7 import java.lang.reflect.Method;
149 for (Method each : superClass.getDeclaredMethods())
284 private void addTestMethod(Method m, List<String> names, Class<?> theClass) {
297 private boolean isPublicTestMethod(Method m) {
301 private boolean isTestMethod(Method m) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/
H A DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java39 import java.lang.reflect.Method;
170 for (Method testMethod : loadedClass.getMethods()) { in isTestClass()
196 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod()
205 private boolean isPublicTestMethod(Method m) { in isPublicTestMethod()
210 private boolean isTestMethod(Method m) { in isTestMethod()
/aosp14/frameworks/base/test-base/hiddenapi/src/android/test/
H A DInstrumentationTestCase.java23 import java.lang.reflect.Method;
36 private void runMethod(Method runMethod, int tolerance) throws Throwable { in runMethod()
/aosp14/frameworks/base/test-base/src/android/test/
H A DInstrumentationTestCase.java28 import java.lang.reflect.Method;
163 Method method = null; in runTest()
190 final Method testMethod = method; in runTest()
210 private void runMethod(Method runMethod, int tolerance) throws Throwable { in runMethod()
214 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod()

1234