HomeSort by relevance Sort by last modified time
    Searched refs:method (Results 951 - 975 of 7000) sorted by null

<<31323334353637383940>>

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayer.java 54 public void addHttpResponseRule(String method, String uri, HttpResponse response) {
55 addHttpResponseRule(new DefaultRequestMatcher(method, uri), response);
174 * by calling this method.
234 private String method; field in class:FakeHttpLayer.DefaultRequestMatcher
237 public DefaultRequestMatcher(String method, String uri) {
238 this.method = method;
244 return request.getRequestLine().getMethod().equals(method) &&
263 private String method, hostname, path; field in class:FakeHttpLayer.RequestMatcherBuilder
271 * Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method
280 public RequestMatcherBuilder method(String method) { method in class:FakeHttpLayer.RequestMatcherBuilder
390 private String method; field in class:FakeHttpLayer.UriRegexMatcher
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
InputBindResult.java 24 * Bundle of information returned by input method manager about a successful
25 * binding to an input method.
31 * The input method service.
33 public final IInputMethodSession method; field in class:InputBindResult
41 * The ID for this input method, as found in InputMethodInfo; null if
42 * no input method will be bound.
58 method = _method;
66 method = IInputMethodSession.Stub.asInterface(source.readStrongBinder());
79 return "InputBindResult{" + method + " " + id
93 dest.writeStrongInterface(method);
    [all...]
  /frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
FindMethodBindingObject.java 29 public String method() { return "no arg"; } method in class:FindMethodBindingObject
31 public String method(int i) { return String.valueOf(i); } method in class:FindMethodBindingObject
33 public String method(float f) { return String.valueOf(f); } method in class:FindMethodBindingObject
35 public String method(String value) { return value; } method in class:FindMethodBindingObject
76 public T method(T value) { return value; } method in class:FindMethodBindingObject.Bar
  /external/proguard/src/proguard/shrink/
UsageMarker.java 108 // Explicitly mark the <clinit> method, if it's not empty.
195 // Has the method already been referenced?
215 // Has the method already been referenced?
220 // Mark the method body.
223 // Note that, if the method has been marked as possibly used,
224 // the method hierarchy has already been marked (cfr. below).
242 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
246 method.accept(clazz, UsageMarker.this);
282 // Is the method's class used
    [all...]
  /art/test/044-proxy/src/
WrappedThrow.java 20 import java.lang.reflect.Method;
188 public Object invoke(Object proxy, Method method, Object[] args)
195 if (method.getDeclaringClass() == java.lang.Object.class) {
196 //System.out.println("!!! object " + method.getName());
197 if (method.getName().equals("toString"))
199 else if (method.getName().equals("hashCode"))
201 else if (method.getName().equals("equals"))
207 System.out.println("Invoke " + method);
216 if (method.getName().equals("throwFunky")
    [all...]
  /external/easymock/src/org/easymock/internal/
Invocation.java 23 import java.lang.reflect.Method;
35 private transient Method method; field in class:Invocation
42 public Invocation(Object mock, Method method, Object[] args) {
44 this.method = method;
45 this.arguments = expandVarArgs(method.isVarArgs(), args);
80 public Method getMethod() {
81 return method;
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
ReflectionUtils.java 20 import java.lang.reflect.Method;
125 // Method
129 * @return all declared {@link Method}'s, including protected and private.
131 public static Map<String, Method> getMethods(Class<?> clazz) {
132 Map<String, Method> methods = Maps.newHashMap();
135 for (Method method : c.getDeclaredMethods()) {
136 String signature = getMethodSignature(method);
138 method.setAccessible(true);
139 methods.put(signature, method);
226 Method method = getMethodBySignature(refClass, signature); local
    [all...]
  /external/icu/icu4c/source/test/perf/perldriver/
PerfFramework.pm 154 # Measure a given test method with a give test pattern using the
157 # @param the method to run
173 # $a->[0]: method name, corresponds to $method
209 # Measure a given test method with a give test pattern using the
212 # @param the method to run
239 # @param the method to run
247 # ->[0]: The method name as reported
257 #my $cmd = "java -cp c:\\dev\\myicu4j\\classes $TESTCLASS $method $n $pat";
271 my $method = ''
    [all...]
  /external/proguard/src/proguard/classfile/
LibraryClass.java 287 public Method findMethod(String name, String descriptor)
291 Method method = methods[index]; local
292 if (method != null &&
293 (name == null || method.getName(this).equals(name)) &&
294 (descriptor == null || method.getDescriptor(this).equals(descriptor)))
296 return method;
491 Method method = methods[index]; local
492 if (method != null
502 Method method = findMethod(name, descriptor); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
LayoutParamsParserTest.java 28 import java.lang.reflect.Method;
38 * Convention: method names that start with an underscore are actually local wrappers
143 Method method = AndroidTargetParser.class.getDeclaredMethod("getLayoutClasses"); //$NON-NLS-1$ local
144 method.setAccessible(true);
145 method.invoke(mParser);
151 Method method = LayoutParamsParser.class.getDeclaredMethod("addGroup", //$NON-NLS-1$ local
153 method.setAccessible(true);
154 return (ViewClassInfo) method.invoke(mParser, new ClassWrapper(groupClass))
160 Method method = LayoutParamsParser.class.getDeclaredMethod("addLayoutParams", \/\/$NON-NLS-1\$ local
168 Method method = LayoutParamsParser.class.getDeclaredMethod("getLayoutParamsInfo", \/\/$NON-NLS-1\$ local
176 Method method = LayoutParamsParser.class.getDeclaredMethod("findLayoutParams", \/\/$NON-NLS-1\$ local
    [all...]
  /art/runtime/jit/
jit_code_cache.cc 66 // With 'perf', we want a 1-1 mapping between an address and a method.
69 // We need to have 32 bit offsets from method headers in code cache which point to things
169 bool JitCodeCache::ContainsMethod(ArtMethod* method) {
172 if (it.second == method) {
198 ArtMethod* method,
207 method,
219 method,
245 void JitCodeCache::FreeCode(const void* code_ptr, ArtMethod* method ATTRIBUTE_UNUSED) {
252 // Use the offset directly to prevent sanity check that the method is
265 // We do not check if a code cache GC is in progress, as this method come
666 ArtMethod* method = it->second; local
709 ArtMethod* method = it.second; local
768 ArtMethod* method = it.second; local
899 ArtMethod* method = info->GetMethod(); local
    [all...]
  /external/webrtc/webrtc/common_video/libyuv/
scaler_unittest.cc 27 void ScaleSequence(ScaleMethod method,
116 // TODO(mikhal): Converge the test into one function that accepts the method.
125 ScaleMethod method = kScalePoint; local
128 ScaleSequence(method,
136 ScaleSequence(method,
148 ScaleSequence(method,
153 ScaleSequence(method,
158 ScaleSequence(method,
163 ScaleSequence(method,
169 ScaleSequence(method,
197 ScaleMethod method = kScaleBilinear; local
254 ScaleMethod method = kScaleBox; local
    [all...]
  /external/proguard/src/proguard/classfile/editor/
CodeAttributeComposer.java 417 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
421 System.out.println("CodeAttributeComposer: putting results in ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"]");
458 stackSizeUpdater.visitCodeAttribute(clazz, method, codeAttribute);
459 variableSizeUpdater.visitCodeAttribute(clazz, method, codeAttribute);
462 codeAttribute.attributesAccept(clazz, method, this);
465 //codeAttribute.exceptionsAccept(clazz, method, this);
473 instructionWriter.visitCodeAttribute(clazz, method, codeAttribute);
479 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute
    [all...]
ConstantPoolRemapper.java 261 // Remap the constant pool references of the bootstrap method entries.
337 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute)
343 methodParametersAttribute.parametersAccept(clazz, method, this);
347 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute)
358 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
367 codeAttribute.instructionsAccept(clazz, method, this);
371 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
ClassPool.java 118 for (PoolMethod method: poolClassDef.getMethods()) {
119 String methodDescriptor = ReferenceUtil.getMethodDescriptor(method, true);
121 throw new ExceptionWithContext("Multiple definitions for method %s->%s",
124 methodPool.intern(method);
125 internCode(method);
126 internDebug(method);
127 annotationSetPool.intern(method.getAnnotations());
129 for (MethodParameter parameter: method.getParameters()) {
137 private void internCode(@Nonnull Method method) {
    [all...]
  /external/proguard/src/proguard/classfile/visitor/
ClassPrinter.java 237 println(visitorInfo(invokeDynamicConstant) + " InvokeDynamic [bootstrap method index = " + invokeDynamicConstant.u2bootstrapMethodAttributeIndex + "]:");
328 "Method: " +
375 "Method: " +
448 " Enclosing method attribute:");
495 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute)
498 " Method parameters attribute (count = " + methodParametersAttribute.u1parametersCount + ")");
501 methodParametersAttribute.parametersAccept(clazz, method, this);
506 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiClass.java 93 public void addMethod(ApiMethod method) {
94 mApiMethods.add(method);
110 /** Look for a matching method and if found and mark it as covered */
134 for (ApiMethod method : mApiMethods) {
135 if (method.isCovered()) {
161 for (ApiMethod method : mApiMethods) {
162 boolean methodNameMatch = name.equals(method.getName());
164 compareParameterTypes(method.getParameterTypes(), parameterTypes);
165 boolean returnTypeMatch = compareType(method.getReturnType(), returnType);
167 return method;
    [all...]
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethod.java 34 import java.lang.reflect.Method;
39 * A provider that invokes a method and returns its result.
47 private final Method method; field in class:CheckedProviderMethod
57 Method method,
69 this.method = method;
71 this.exposed = method.isAnnotationPresent(Exposed.class);
76 method.setAccessible(true)
    [all...]
  /external/testng/src/main/java/org/testng/internal/
MethodInheritance.java 47 * @param before true if we are handling a before method (meaning, the methods
58 for (ITestNGMethod method : methods) {
59 Class< ? extends ITestNGMethod> methodClass = method.getRealClass();
62 l.add(method);
68 l.add(method);
74 l.add(method);
116 for (ITestNGMethod method : methodsNamed) {
117 if (method.equals(m2)) {
125 for (ITestNGMethod method : methodsThatBelongToGroup) {
126 if (method.equals(m2))
    [all...]
  /external/guava/guava/src/com/google/common/reflect/
Invokable.java 30 import java.lang.reflect.Method;
39 * Wrapper around either a {@link Method} or a {@link Constructor}.
43 * <p>In addition to convenience methods, {@link TypeToken#method} and {@link
44 * TypeToken#constructor} will resolve the type parameters of the method or constructor in the
48 * Method getMethod = List.class.getMethod("get", int.class);
49 * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
53 * @param <T> the type that owns this method or constructor.
54 * @param <R> the return type of (or supertype thereof) the method or the declaring type of the
66 /** Returns {@link Invokable} of {@code method}. */
67 public static Invokable<?, Object> from(Method method)
188 final Method method; field in class:Invokable.MethodInvokable
    [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...]
  /art/compiler/
common_compiler_test.cc 44 void CommonCompilerTest::MakeExecutable(ArtMethod* method) {
45 CHECK(method != nullptr);
48 if (!method->IsAbstract()) {
49 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache();
53 method->GetDexMethodIndex()));
89 LOG(INFO) << "MakeExecutable " << PrettyMethod(method) << " code=" << method_code;
90 class_linker_->SetEntryPointsToCompiledCode(method, method_code);
94 class_linker_->SetEntryPointsToInterpreter(method);
246 void CommonCompilerTest::CompileMethod(ArtMethod* method) {
247 CHECK(method != nullptr)
250 compiler_driver_->CompileOne(Thread::Current(), method, &timings); local
263 ArtMethod* method = klass->FindDirectMethod(method_name, signature, pointer_size); local
277 ArtMethod* method = klass->FindVirtualMethod(method_name, signature, pointer_size); local
    [all...]
  /external/boringssl/src/ssl/
ssl_ecdh.c 55 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid);
111 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid);
330 const SSL_ECDH_METHOD *method = method_from_curve_id(curve_id); local
331 if (method == NULL) {
334 return method->name;
338 const SSL_ECDH_METHOD *method = method_from_nid(nid); local
339 if (method == NULL) {
342 *out_curve_id = method->curve_id;
349 const SSL_ECDH_METHOD *method = method_from_curve_id(curve_id); local
350 if (method == NULL)
    [all...]
  /external/emma/core/java12/com/vladium/logging/
Logger.java 39 * sense to scope a context to a single method invocation.<P>
46 * method name, the calling method is identified with all name components that
123 * A quick method to determine if logging is enabled at a given level.
124 * This method acquires no monitors and should be used when calling one of
136 * A convenience method equivalent to isLoggable(INFO).
144 * A convenience method equivalent to isLoggable(VERBOSE).
152 * A convenience method equivalent to isLoggable(TRACE1).
160 * A convenience method equivalent to isLoggable(TRACE2).
168 * A convenience method equivalent to isLoggable(TRACE3)
    [all...]
  /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
FactoryProvider.java 42 import java.lang.reflect.Method;
58 * method's parameters are the arguments required to build the constructed type.
68 * parameters that match each of the factory method's parameters. Each factory-supplied parameter
104 * The types of the factory method's parameters must be distinct. To use multiple parameters of
106 * parameters. The names must be applied to the factory method's parameters:
128 * Returned factories use child injectors to create values. The values are eligible for method
136 * <p>Instead of matching factory method arguments to constructor parameters using their names, the
137 * <strong>parameters are matched by their order</strong>. The first factory method argument is
142 * method interception. They do receive post-construction member injection.
164 private final Map<Method, AssistedConstructor<?>> factoryMethodToConstructor
    [all...]

Completed in 2090 milliseconds

<<31323334353637383940>>