/libcore/ojluni/src/main/java/java/lang/ |
Void.java | 29 import java.lang.reflect.Method; 52 Method method = Runnable.class.getMethod("run", EmptyArray.CLASS); local 53 return (Class<Void>) method.getReturnType();
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
DxTestCase.java | 62 * Try to load the class with the given name, find the "run" method and run it. 69 java.lang.reflect.Method method = null; local 70 // We expect only ever one declared method named run, but don't know the arguments. So 72 for (java.lang.reflect.Method m : c.getDeclaredMethods()) { 74 method = m; 78 if (method == null) { 79 fail("Could not find method 'run'"); 92 method.invoke(receiver, args);
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
JavaTypeUtil.java | 22 import java.lang.reflect.Method; 33 Method method = ((JavaMethod) modelMethod).mMethod; local 35 sb.append(method.getName()); 37 for (Class param : method.getParameterTypes()) { 41 sb.append(getDescription(method.getReturnType()));
|
/packages/apps/TV/src/com/android/tv/ui/ |
ViewUtils.java | 23 import java.lang.reflect.Method; 36 Method method; local 38 method = View.class.getDeclaredMethod("setTransitionAlpha", Float.TYPE); 39 method.invoke(v, alpha);
|
/art/runtime/native/ |
java_lang_reflect_AbstractMethod.cc | 32 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 33 if (method->GetDeclaringClass()->IsProxyClass()) { 41 return soa.AddLocalReference<jobjectArray>(method->GetDexFile()->GetAnnotationsForMethod(method)); 46 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 47 if (method->GetDeclaringClass()->IsProxyClass()) { 52 method->GetDexFile()->GetSignatureAnnotationForMethod(method)); 59 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 60 if (method->GetDeclaringClass()->IsProxyClass()) [all...] |
/art/test/044-proxy/src/ |
FloatSelect.java | 25 public float method(float a, float b); method in interface:FloatSelect.FloatSelectI 29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 40 float floatResult = proxyObject.method(2.1f, 5.8f);
|
/art/test/497-inlining-and-class-loader/ |
clear_dex_cache.cc | 47 ArtMethod* method = mirror::DexCache::GetElementPtrSize(methods, i, sizeof(void*)); local 48 pointer_array->SetElementPtrSize(i, method, sizeof(void*)); 64 ArtMethod* method = old->GetElementPtrSize<ArtMethod*>(i, sizeof(void*)); local 65 mirror::DexCache::SetElementPtrSize(methods, i, method, sizeof(void*));
|
/art/test/566-polymorphic-inlining/ |
polymorphic_inline.cc | 31 ArtMethod* method = klass->FindDeclaredDirectMethodByName(method_name, sizeof(void*)); local 36 header = OatQuickMethodHeader::FromEntryPoint(method->GetEntryPointFromQuickCompiledCode());
|
/build/tools/droiddoc/test/stubs/expected/com/android/stubs/a/ |
A.java | 12 public void method() { throw new RuntimeException("Stub!"); } method in class:A
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
UserDeviceInfo.java | 24 import java.lang.reflect.Method; 38 Method method = UserManager.class.getMethod("getMaxSupportedUsers"); local 39 return (Integer) method.invoke(null);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ReplacementTransformationMethodTest.java | 17 package android.text.method.cts; 21 import android.text.method.ReplacementTransformationMethod; 50 MyReplacementTransformationMethod method = local 52 CharSequence result = method.getTransformation("010101", null); 55 mEditText.setTransformationMethod(method); 61 ReplacementTransformationMethod method = new MyReplacementTransformationMethod(ORIGINAL, local 65 method.getTransformation(null, null); 66 fail("The method should check whether the char sequence is null."); 71 assertEquals("", method.getTransformation("", null).toString()); 76 ReplacementTransformationMethod method local 95 ReplacementTransformationMethod method = local 114 ReplacementTransformationMethod method = new MyReplacementTransformationMethod(ORIGINAL, local [all...] |
TextMethodUtils.java | 17 package android.text.method.cts;
|
/dalvik/dx/tests/115-merge/testdata/ |
Annotated.java | 14 @Annotated.Marker(a="on method") 15 public void method(String a, @Annotated.Marker(a="on parameter") String b) {} method in class:Annotated
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/chromeos_login_ext/ |
main.js | 8 'method': 'loginUILoaded' 13 'method': 'completeLogin',
|
/external/clang/test/CodeGen/ |
fp-contract-pragma.cpp | 39 float method(float a, float b, float c) { function in class:fp_contract_4
|
/external/clang/test/Sema/ |
ms_wide_predefined_expr.cpp | 17 void method() { function in class:PR13206::A 24 x.method();
|
/external/guice/extensions/persist/src/com/google/inject/persist/finder/ |
DynamicFinder.java | 19 import java.lang.reflect.Method; 27 private final Method method; field in class:DynamicFinder 30 public DynamicFinder(Method method) { 31 this.method = method; 32 this.finder = method.getAnnotation(Finder.class); 36 * Returns some metadata if the method is annotated {@code @Finder} or null. 38 * @param method a method you want to test as a dynamic finde [all...] |
/external/libmicrohttpd/src/microspdy/ |
alstructures.h | 47 * HTTP method 49 char *method; member in struct:SPDY_Request
|
/external/mesa3d/src/glsl/ |
hir_field_selection.cpp | 74 /* Handle "method calls" in GLSL 1.20 - namely, array.length() */ 81 const char *method; local 82 method = call->subexpressions[0]->primary_expression.identifier; 84 if (op->type->is_array() && strcmp(method, "length") == 0) { 86 _mesa_glsl_error(&loc, state, "length method takes no arguments."); 93 _mesa_glsl_error(&loc, state, "Unknown method: `%s'.", method);
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
ForwardsInvocations.java | 11 import java.lang.reflect.Method; 29 Method method = invocation.getMethod() ; local 31 return method.invoke(delegatedObject, invocation.getArguments());
|
/external/opencv3/modules/imgproc/perf/ |
perf_matchTemplate.cpp | 27 int method = get<2>(GetParam()); local 39 TEST_CYCLE() matchTemplate(img, tmpl, result, method); 42 method == TM_CCORR_NORMED || 43 method == TM_SQDIFF_NORMED || 44 method == TM_CCOEFF_NORMED; 61 int method = get<2>(GetParam()); local 73 TEST_CYCLE() matchTemplate(img, tmpl, result, method); 76 method == TM_CCORR_NORMED || 77 method == TM_SQDIFF_NORMED || 78 method == TM_CCOEFF_NORMED [all...] |
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/ |
MethodNameFilterInterceptor.java | 23 ITestNGMethod method = methodInstance.getMethod(); local 24 String name = method.getMethodName(); 27 String currentDescription = method.getDescription(); 29 method.setDescription(methodName); 31 method.setDescription(currentDescription + methodName);
|
/frameworks/base/core/java/android/text/method/ |
DateKeyListener.java | 17 package android.text.method;
|
DateTimeKeyListener.java | 17 package android.text.method;
|
HideReturnsTransformationMethod.java | 17 package android.text.method; 20 * This transformation method causes any carriage return characters (\r)
|