HomeSort by relevance Sort by last modified time
    Searched defs:method (Results 276 - 300 of 2092) sorted by null

<<11121314151617181920>>

  /external/oauth/core/src/main/java/net/oauth/signature/
OAuthSignatureMethod.java 154 return OAuth.percentEncode(message.method.toUpperCase()) + '&'
221 OAuthSignatureMethod method = (OAuthSignatureMethod) methodClass local
223 method.initialize(name, accessor);
224 return method;
  /external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
OkApacheClient.java 46 String method = requestLine.getMethod(); local
74 builder.method(method, body);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
CameraFacade.java 47 import java.lang.reflect.Method;
69 Method openCamera = Camera.class.getMethod("open", int.class);
98 Method method = camera.getClass().getMethod("setDisplayOrientation", int.class); local
99 method.invoke(camera, 90);
  /external/testng/src/main/java/org/testng/reporters/
TestHTMLReporter.java 64 .append("<td><b>Test method</b></td>\n")
81 // Test method
82 ITestNGMethod method = tr.getMethod(); local
84 String name = method.getMethodName();
102 // Method description
103 if (! Utils.isStringEmpty(method.getDescription())) {
104 sb.append("<br>").append("Test method: ").append(method.getDescription());
119 // Output from the method, created by the user calling Reporter.log()
125 // Method nam
    [all...]
  /external/vogar/src/vogar/target/junit/
Junit3.java 21 import java.lang.reflect.Method;
41 private static final Method setUp;
42 private static final Method tearDown;
43 private static final Method runTest;
64 Method suiteMethod = testClass.getMethod("suite");
71 for (Method m : testClass.getMethods()) {
96 * @param methodNames if non-empty, this is the list of test method names.
124 for (Method m : testClass.getMethods()) {
140 "Method \"" + methodName + "\" not found");
156 Method suiteMethod = testClass.getMethod("suite")
237 protected final Method method; field in class:Junit3.VogarJUnitTest
326 super(testCase.getClass(), method); local
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
BitmapUtils.java 30 import java.lang.reflect.Method;
198 Method method = clazz.getMethod("setDataSource", String.class); local
199 method.invoke(instance, filePath);
201 // The method name changes between API Level 9 and 10.
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericMethodsTests.java 20 import java.lang.reflect.Method;
52 * Tests whether the specified method declares a type parameter T.
53 * @param method the method
55 private void checkTypeParameter(Method method) {
56 TypeVariable<Method> typeParameter = getTypeParameter(method);
58 assertEquals(method, typeParameter.getGenericDeclaration());
62 * Tests whether the specified method declares a parameter with th
87 Method method = clazz.getMethod("noParamNoReturn"); local
92 Method method = clazz.getMethod("paramNoReturn", Object.class); local
98 Method method = clazz.getMethod("noParamReturn"); local
104 Method method = clazz.getMethod("paramReturn", Object.class); local
    [all...]
WildcardTypeTest.java 20 import java.lang.reflect.Method;
55 * @param method the declaring method
57 private void checkBoundedTypeParameter(Method method) {
58 TypeVariable<Method> typeParameter = getTypeParameter(method);
60 assertEquals(method, typeParameter.getGenericDeclaration());
68 private void checkLowerBoundedParameter(Method method) {
125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
145 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodTest.java 19 import java.lang.reflect.Method;
25 Method method = MethodTestHelper.class.getMethod("m1", new Class[0]); local
26 Class[] exceptions = method.getExceptionTypes();
31 exceptions = method.getExceptionTypes();
38 Method method = MethodTestHelper.class.getMethod("m2", expectedParameters); local
39 Class[] parameters = method.getParameterTypes();
44 parameters = method.getParameterTypes();
88 Method m1 = MethodTestHelper.class.getMethod("m1", (Class[]) null)
106 Method method = Super.class.getDeclaredMethod("a"); local
131 Method method = anonymous.getClass().getMethod("a"); local
140 Method method = anonymous.getClass().getMethod("a"); local
161 Method method = anonymous.getClass().getDeclaredMethod("a"); local
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BitmapUtils.java 30 import java.lang.reflect.Method;
198 Method method = clazz.getMethod("setDataSource", String.class); local
199 method.invoke(instance, filePath);
201 // The method name changes between API Level 9 and 10.
  /prebuilts/tools/common/m2/repository/net/sf/proguard/proguard-base/4.11/
proguard-base-4.11.jar 
  /prebuilts/tools/common/m2/repository/net/sf/proguard/proguard-base/4.10/
proguard-base-4.10.jar 
  /prebuilts/tools/common/m2/repository/net/sf/proguard/proguard-base/4.9/
proguard-base-4.9.jar 
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
MethodDefinition.java 69 @Nonnull public final Method method; field in class:MethodDefinition
83 public MethodDefinition(@Nonnull ClassDefinition classDef, @Nonnull Method method,
86 this.method = method;
93 methodParameters = ImmutableList.copyOf(method.getParameters());
157 methodString = ReferenceUtil.getMethodDescriptor(method);
159 throw ExceptionWithContext.withContext(ex, "Error while processing method");
161 throw ExceptionWithContext.withContext(ex, "Error while processing method %s", methodString)
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
AnnotatedElementBenchmark.java 23 import java.lang.reflect.Method;
29 private Method method; field in class:AnnotatedElementBenchmark
35 method = Type.class.getMethod("method", String.class);
39 // get annotations by member type and method
55 method.getAnnotations();
61 method.getParameterAnnotations();
79 method.getAnnotation(Marker.class);
97 method.isAnnotationPresent(Marker.class)
215 @Marker public void method(@Marker String parameter) {} method in class:AnnotatedElementBenchmark.Type
    [all...]
  /prebuilts/tools/common/m2/repository/org/parboiled/parboiled-java/1.0.2/
parboiled-java-1.0.2.jar 
  /art/compiler/dex/
verified_method.cc 99 ArtMethod* method = local
101 if (method == nullptr) {
106 // failure. Put the dex method index in the dequicken map since we need this to get number of
108 dequicken_map_.Put(dex_pc, DexFileReference(method->GetDexFile(),
109 method->GetDexMethodIndex()));
121 // TODO: Putting a field index in a method reference is gross.
176 // If the method is not found in the cache this means that it was never found
180 // Find the concrete method.
197 // If we knew exactly the class being dispatched upon, or if the target method cannot be
206 * Walks over the method code and adds any cast instructions in whic
    [all...]
  /art/compiler/optimizing/
intrinsics.cc 124 static Intrinsics GetIntrinsic(InlineMethod method) {
125 switch (method.opcode) {
128 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ?
131 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ?
150 switch (GetType(method.d.data, true)) {
156 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data;
160 switch (GetType(method.d.data, true)) {
168 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data;
172 switch (GetType(method.d.data, true)) {
178 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data
577 InlineMethod method; local
    [all...]
  /art/runtime/
class_linker-inl.h 127 // implementation of the method. If this class's implementation of the method is copied from an
132 const DexFile::MethodId& method = dex_file->GetMethodId(method_idx); local
133 mirror::Class* resolved_type = dex_cache->GetResolvedType(method.class_idx_);
135 resolved_type = ResolveType(*dex_file, method.class_idx_, dex_cache, class_loader);
159 // Note: We cannot check here to see whether we added the method to the cache. It
reflection_test.cc 84 void ReflectionTestMakeExecutable(ArtMethod** method,
110 *method = is_static ? c->FindDirectMethod(method_name, method_signature, sizeof(void*))
112 CHECK(method != nullptr);
133 ArtMethod* method; local
135 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V");
137 InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), nullptr);
142 ArtMethod* method; local
144 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B");
149 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
153 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args)
168 ArtMethod* method; local
193 ArtMethod* method; local
218 ArtMethod* method; local
247 ArtMethod* method; local
286 ArtMethod* method; local
330 ArtMethod* method; local
379 ArtMethod* method; local
413 ArtMethod* method; local
440 ArtMethod* method; local
470 ArtMethod* method; local
520 ArtMethod* method = klass->FindDirectMethod("main", "([Ljava\/lang\/String;)V", sizeof(void*)); local
    [all...]
  /art/runtime/mirror/
dex_cache-inl.h 82 ArtMethod* method = GetElementPtrSize<ArtMethod*>(GetResolvedMethods(), method_idx, ptr_size); local
84 if (method != nullptr && method->IsRuntimeMethod()) {
85 DCHECK_EQ(method, Runtime::Current()->GetResolutionMethod());
88 return method;
91 inline void DexCache::SetResolvedMethod(uint32_t method_idx, ArtMethod* method, size_t ptr_size) {
94 SetElementPtrSize(GetResolvedMethods(), method_idx, method, ptr_size); local
throwable.cc 80 // See method BuildInternalStackTraceVisitor::Init for the format.
97 // Decode the internal stack trace into the depth and method trace
98 // See method BuildInternalStackTraceVisitor::Init for the format.
111 ArtMethod* method = method_trace->GetElementPtrSize<ArtMethod*>(i, ptr_size); local
113 int32_t line_number = method->GetLineNumFromDexPC(dex_pc);
114 const char* source_file = method->GetDeclaringClassSourceFile();
115 result += StringPrintf(" at %s (%s:%d)\n", PrettyMethod(method, true).c_str(),
135 method_name != nullptr ? method_name->ToModifiedUtf8().c_str() : "<unknown method>",
  /art/test/496-checker-inlining-and-class-loader/src/
Main.java 18 import java.lang.reflect.Method;
68 Method method = dexFile.getClass().getDeclaredMethod( local
72 Class clazz = (Class)method.invoke(dexFile, className, this, null);
127 Method m = foo.getDeclaredMethod("bar");
  /art/test/497-inlining-and-class-loader/src/
Main.java 18 import java.lang.reflect.Method;
65 Method method = dex.getClass().getDeclaredMethod( local
69 Class clazz = (Class)method.invoke(dex, className, this, null);
96 Method m = foo.getDeclaredMethod("bar");
  /cts/tests/tests/text/src/android/text/method/cts/
ArrowKeyMovementMethodTest.java 17 package android.text.method.cts;
27 import android.text.method.ArrowKeyMovementMethod;
28 import android.text.method.MetaKeyKeyListener;
29 import android.text.method.MovementMethod;
106 * The text view will not get layout in setContent method but in other
168 fail("The method did not throw NullPointerException when param textView is null.");
175 fail("The method did not throw NullPointerException when param spannable is null.");
805 fail("The method did not throw NullPointerException when layout of the view is null.");
944 ArrowKeyMovementMethod method = new ArrowKeyMovementMethod(); local
983 ArrowKeyMovementMethod method = new ArrowKeyMovementMethod(); local
    [all...]

Completed in 641 milliseconds

<<11121314151617181920>>