HomeSort by relevance Sort by last modified time
    Searched refs:method (Results 26 - 50 of 5141) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/neg_int/d/
T_neg_int_6.d 6 .method public <init>()V
11 .end method
13 .method public run(I)I
18 .end method
  /external/chromium/net/tools/flip_server/
spdy_util.cc 16 std::string EncodeURL(std::string uri, std::string host, std::string method) {
19 return std::string(method + "_" + uri);
26 "http://" + host + uri, method + "_/", false);
28 filename = UrlToFilenameEncoder::Encode(uri, method + "_/", false);
  /external/chromium_org/net/tools/flip_server/
spdy_util.cc 16 std::string EncodeURL(std::string uri, std::string host, std::string method) {
19 return std::string(method + "_" + uri);
26 "http://" + host + uri, method + "_/", false);
28 filename = UrlToFilenameEncoder::Encode(uri, method + "_/", false);
  /frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
UiAutomatorTestCaseFilter.java 21 import java.lang.reflect.Method;
31 public boolean accept(Method method) {
32 return ((method.getParameterTypes().length == 0) &&
33 (method.getName().startsWith("test")) &&
34 (method.getReturnType().getSimpleName().equals("void")));
  /cts/tools/signature-tools/src/signature/model/impl/
SigMethod.java 50 public static String toString(IMethod method) {
52 builder.append(Modifier.toString(method.getModifiers()));
53 builder.append(method.getReturnType());
55 if (method.getTypeParameters() != null
56 && !method.getTypeParameters().isEmpty()) {
60 .separate(method.getTypeParameters(), ", "));
63 builder.append(method.getName());
65 builder.append(method.getParameters().isEmpty() ? "" : ModelUtil
66 .separate(method.getParameters(), ", "));
68 if (method.getExceptions() != nul
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
BlockingService.java 51 Message callBlockingMethod(Descriptors.MethodDescriptor method,
58 Message getRequestPrototype(Descriptors.MethodDescriptor method);
63 Message getResponsePrototype(Descriptors.MethodDescriptor method);
Service.java 55 * <p>Call a method of the service specified by MethodDescriptor. This is
61 * <li>{@code method.getService() == getDescriptorForType()}
63 * {@code getRequestPrototype(method)}.
73 * <li>{@code done} will be called when the method is complete. This may be
78 * {@code getResponsePrototype(method)}.
84 void callMethod(Descriptors.MethodDescriptor method,
92 * gets the default instances of this type for a given method. You can then
99 * MethodDescriptor method =
102 * stub.getRequestPrototype(method).newBuilderForType()
104 * service.callMethod(method, request, callback)
    [all...]
  /external/mockito/src/org/mockito/internal/stubbing/answers/
MethodInfo.java 10 import java.lang.reflect.Method;
17 private Method method; field in class:MethodInfo
20 this.method = theInvocation.getMethod();
24 Class<?>[] exceptions = method.getExceptionTypes();
36 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) {
37 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType());
39 return method.getReturnType().isAssignableFrom(clazz);
44 return this.method.getReturnType() == Void.TYPE;
48 return method.getReturnType().getSimpleName()
    [all...]
  /external/proguard/src/proguard/optimize/info/
BackwardBranchMarker.java 41 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
46 markBackwardBranch(method, branchInstruction.branchOffset);
50 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
52 markBackwardBranch(method, switchInstruction.defaultOffset);
56 markBackwardBranch(method, switchInstruction.jumpOffsets[index]);
64 * Marks the given method if the given branch offset is negative
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
BlockingService.java 51 Message callBlockingMethod(Descriptors.MethodDescriptor method,
58 Message getRequestPrototype(Descriptors.MethodDescriptor method);
63 Message getResponsePrototype(Descriptors.MethodDescriptor method);
Service.java 55 * <p>Call a method of the service specified by MethodDescriptor. This is
61 * <li>{@code method.getService() == getDescriptorForType()}
63 * {@code getRequestPrototype(method)}.
73 * <li>{@code done} will be called when the method is complete. This may be
78 * {@code getResponsePrototype(method)}.
84 void callMethod(Descriptors.MethodDescriptor method,
92 * gets the default instances of this type for a given method. You can then
99 * MethodDescriptor method =
102 * stub.getRequestPrototype(method).newBuilderForType()
104 * service.callMethod(method, request, callback)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
MethodAnnotationStruct.java 26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method; field in class:MethodAnnotationStruct
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
MethodAnnotationStruct.java 26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method; field in class:MethodAnnotationStruct
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
MethodAnnotationStruct.java 26 * Association of a method and its annotations.
30 /** {@code non-null;} the method in question */
31 private final CstMethodRef method; field in class:MethodAnnotationStruct
39 * @param method {@code non-null;} the method in question
42 public MethodAnnotationStruct(CstMethodRef method,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
InvocationHandlerAdapter.java 21 import java.lang.reflect.Method;
30 * Handles proxy method invocations to dexmaker's InvocationHandler by calling
41 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
42 if (objectMethodsGuru.isEqualsMethod(method)) {
44 } else if (objectMethodsGuru.isHashCodeMethod(method)) {
48 ProxiedMethod proxiedMethod = new ProxiedMethod(method);
62 private final Method method; field in class:InvocationHandlerAdapter.ProxiedMethod
64 public ProxiedMethod(Method method)
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
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...]
  /dalvik/dx/src/com/android/dx/cf/attrib/
AttEnclosingMethod.java 33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */
34 private final CstNat method; field in class:AttEnclosingMethod
40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing
41 * method, if any
43 public AttEnclosingMethod(CstType type, CstNat method) {
51 this.method = method;
69 * Gets the name-and-type of the innermost enclosing method, if
73 * method, if any
76 return method;
    [all...]
  /external/guava/guava/src/com/google/common/eventbus/
AnnotatedHandlerFinder.java 21 import java.lang.reflect.Method;
43 for (Method method : clazz.getMethods()) {
44 Subscribe annotation = method.getAnnotation(Subscribe.class);
47 Class<?>[] parameterTypes = method.getParameterTypes();
50 "Method " + method + " has @Subscribe annotation, but requires " +
55 EventHandler handler = makeHandler(listener, method);
66 * Creates an {@code EventHandler} for subsequently calling {@code method} on
69 * {@code method}
    [all...]
EventHandler.java 21 import java.lang.reflect.Method;
24 * Wraps a single-argument 'handler' method on a specific object.
26 * <p>This class only verifies the suitability of the method and event type if
29 * <p>Two EventHandlers are equivalent when they refer to the same method on the
31 * method is registered more than once.
37 /** Object sporting the handler method. */
39 /** Handler method. */
40 private final Method method; field in class:EventHandler
43 * Creates a new EventHandler to wrap {@code method} on @{code target}
    [all...]
  /external/libvpx/libvpx/test/
vp9_boolcoder_test.cc 34 for (int method = 0; method <= 7; ++method) { // we generate various proba
41 (method == 0) ? 0 : (method == 1) ? 255 :
42 (method == 2) ? 128 :
43 (method == 3) ? rnd.Rand8() :
44 (method == 4) ? (parity ? 0 : 255) :
46 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
47 (method == 6)
86 << " method: " << method; local
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
SingleLineTransformationMethodTest.java 17 package android.text.method.cts;
21 import android.text.method.SingleLineTransformationMethod;
47 MySingleLineTranformationMethod method = new MySingleLineTranformationMethod(); local
48 TextMethodUtils.assertEquals(new char[] { ' ', '\uFEFF' }, method.getReplacement());
49 TextMethodUtils.assertEquals(new char[] { '\n', '\r' }, method.getOriginal());
53 SingleLineTransformationMethod method = SingleLineTransformationMethod.getInstance(); local
54 CharSequence result = method.getTransformation("hello\nworld\r", null);
  /external/junit/src/org/junit/internal/matchers/
TypeSafeMatcher.java 3 import java.lang.reflect.Method;
29 for (Method method : c.getDeclaredMethods()) {
30 if (isMatchesSafelyMethod(method)) {
31 return method.getParameterTypes()[0];
36 throw new Error("Cannot determine correct type for matchesSafely() method.");
39 private static boolean isMatchesSafelyMethod(Method method) {
40 return method.getName().equals("matchesSafely")
41 && method.getParameterTypes().length ==
    [all...]
  /external/proguard/src/proguard/classfile/attribute/preverification/visitor/
VerificationTypeVisitor.java 36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType);
37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType);
38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType);
39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType);
40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType)
    [all...]
  /frameworks/base/tools/aidl/
aidl_language_y.y 197 p->next = (interface_item_type*)$2.method;
200 $$.interface_item = (interface_item_type*)$2.method;
204 fprintf(stderr, "%s:%d: syntax error before ';' (expected method declaration)\n",
212 method_type *method = (method_type*)malloc(sizeof(method_type));
213 method->interface_item.item_type = METHOD_TYPE;
214 method->interface_item.next = NULL;
215 method->oneway = false;
216 method->type = $1.type;
217 memset(&method->oneway_token, 0, sizeof(buffer_type));
218 method->name = $2.buffer
    [all...]
  /cts/tests/src/android/text/method/cts/
KeyListenerStubActivity.java 17 package android.text.method.cts;
24 import android.text.method.BaseKeyListener;
25 import android.text.method.DateKeyListener;
26 import android.text.method.DateTimeKeyListener;
27 import android.text.method.DigitsKeyListener;
28 import android.text.method.MultiTapKeyListener;
29 import android.text.method.NumberKeyListener;
30 import android.text.method.QwertyKeyListener;
31 import android.text.method.TextKeyListener;
32 import android.text.method.TimeKeyListener
    [all...]

Completed in 918 milliseconds

12 3 4 5 6 7 8 91011>>