/external/skqp/tools/skiaserve/urlhandlers/ |
QuitHandler.cpp | 16 bool QuitHandler::canHandle(const char* method, const char* url) { 18 return 0 == strcmp(method, MHD_HTTP_METHOD_GET) && 23 const char* url, const char* method,
|
RootHandler.cpp | 16 bool RootHandler::canHandle(const char* method, const char* url) { 17 return 0 == strcmp(method, MHD_HTTP_METHOD_GET) && 22 const char* url, const char* method,
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
ProgressBarBindingAdapter.java | 22 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:indeterminateTint", method = "setIndeterminateTintList"), 23 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:progressTint", method = "setProgressTintList"), 24 @BindingMethod(type = android.widget.ProgressBar.class, attribute = "android:secondaryProgressTint", method = "setSecondaryProgressTintList"),
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
CompressionMethod.java | 26 * STORE method: data is stored without any compression. 31 * DEFLATE method: data is stored compressed using the DEFLATE algorithm. 36 * Code, within the zip file, that identifies this compression method. 41 * Creates a new compression method. 43 * @param methodCode the code used in the zip file that identifies the compression method 50 * Obtains the compression method that corresponds to the provided code. 53 * @return the method or {@code null} if no method has the provided code 57 for (CompressionMethod method : values()) { 58 if (method.methodCode == code) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ReplacementTransformationMethodTest.java | 17 package android.text.method.cts; 26 import android.text.method.ReplacementTransformationMethod; 62 MyReplacementTransformationMethod method = local 64 CharSequence result = method.getTransformation("010101", null); 67 mEditText.setTransformationMethod(method); 74 ReplacementTransformationMethod method = new MyReplacementTransformationMethod(ORIGINAL, local 78 method.getTransformation(null, null); 79 fail("The method should check whether the char sequence is null."); 84 assertEquals("", method.getTransformation("", null).toString()); 90 ReplacementTransformationMethod method local 110 ReplacementTransformationMethod method = local 122 ReplacementTransformationMethod method = local 129 ReplacementTransformationMethod method = new MyReplacementTransformationMethod(ORIGINAL, local [all...] |
/external/junit-params/src/main/java/junitparams/ |
JUnitParamsRunner.java | 25 * <code>@Parameters</code> annotation on each test method which requires 33 * method that returns parameter values</a><br> 54 * sets of test method argument values as an array of Strings, where each string 75 * <h4 id="b">b. Parameterising tests via a method that returns parameter values 79 * that's why for normal cases you have a method that gives you a collection of 84 * @Parameters(method = "cartoonCharacters") 96 * Where <code>$(...)</code> is a static method defined in 101 * <code>method</code> can take more than one method name - you can pass as many 106 * @Parameters(method = "menCharactes, womenCharacters" [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...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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) { 129 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local 135 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 142 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 149 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; 70 * Gets the name-and-type of the innermost enclosing method, if 74 * method, if any 77 return method; [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
PushPromise.java | 22 private final String method; field in class:PushPromise 27 public PushPromise(String method, String path, Headers headers, MockResponse response) { 28 this.method = method; 35 return method;
|
/external/testng/src/main/java/org/testng/junit/ |
JUnitTestMethod.java | 3 import java.lang.reflect.Method; 14 protected JUnitTestMethod(JUnitTestClass owner, Method method, Object instance) { 15 this(owner, method.getName(), method, instance); 18 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) { 19 super(methodName, method, null, instance);
|
/art/test/121-modifiers/smali/ |
NonInf.smali | 41 .method public constructor <init>()V 85 .end method 87 .method private privateMethod()I 95 .end method 97 .method public static staticMethod()I 105 .end method 109 .method public abstract abstractMethod()I 110 .end method 112 .method public final finalMethod()I 120 .end method [all...] |
/external/libvpx/libvpx/test/ |
vp9_boolcoder_test.cc | 31 for (int method = 0; method <= 7; ++method) { // we generate various proba 39 (method == 0) ? 0 : (method == 1) ? 255 : 40 (method == 2) ? 128 : 41 (method == 3) ? rnd.Rand8() : 42 (method == 4) ? (parity ? 0 : 255) : 44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : 45 (method == 6) 84 << " bit_method: " << bit_method << " method: " << method; local [all...] |
/external/junit/src/main/java/org/junit/internal/matchers/ |
TypeSafeMatcher.java | 3 import java.lang.reflect.Method; 32 for (Method method : MethodSorter.getDeclaredMethods(c)) { 33 if (isMatchesSafelyMethod(method)) { 34 return method.getParameterTypes()[0]; 39 throw new Error("Cannot determine correct type for matchesSafely() method."); 42 private static boolean isMatchesSafelyMethod(Method method) { 43 return method.getName().equals("matchesSafely") 44 && method.getParameterTypes().length == [all...] |
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
TypeSafeMatching.java | 7 import java.lang.reflect.Method; 47 Method[] methods = argumentMatcher.getClass().getMethods(); 49 for (Method method : methods) { 50 if (isMatchesMethod(method)) { 51 return method.getParameterTypes()[0]; 54 throw new NoSuchMethodError("Method 'matches(T)' not found in ArgumentMatcher: " + argumentMatcher + " !\r\n Please file a bug with this stack trace at: https://github.com/mockito/mockito/issues/new "); 58 * Returns <code>true</code> if the given method is 61 private static boolean isMatchesMethod(Method method) { [all...] |
/art/test/993-breakpoints/ |
breakpoints.cc | 44 jmethodID method = env->FromReflectedMethod(target); local 48 return env->NewObject(clazz, method); 57 jmethodID method = env->FromReflectedMethod(target); local 62 env->CallStaticObjectMethod(clazz, method); 64 env->CallObjectMethod(thizz, method); 74 jmethodID method = env->FromReflectedMethod(target); local 79 env->CallStaticBooleanMethod(clazz, method); 81 env->CallBooleanMethod(thizz, method); 91 jmethodID method = env->FromReflectedMethod(target); local 96 env->CallStaticLongMethod(clazz, method); 108 jmethodID method = env->FromReflectedMethod(target); local [all...] |
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
ClassicSuperHandlingTest.java | 18 assertEquals("4-3s-2s-1s-boof", new BabiesHavingBabies().method("boof")); 24 assertEquals("3s-2s-1s-boof", new Child().method("boof")); 25 assertEquals("2s-1s-boof", new Parent().method("boof")); 26 assertEquals("1s-boof", new Grandparent().method("boof")); 33 @Override public String method(String value) { method in class:ClassicSuperHandlingTest.ChildShadow 34 return "3s-" + super.method(value); 42 @Override public String method(String value) { method in class:ClassicSuperHandlingTest.ParentShadow 43 return "2s-" + super.method(value); 51 public String method(String value) { method in class:ClassicSuperHandlingTest.GrandparentShadow 58 public String method(String value) method in class:ClassicSuperHandlingTest.BabiesHavingBabies 65 @Override public String method(String value) { method in class:ClassicSuperHandlingTest.Child 72 @Override public String method(String value) { method in class:ClassicSuperHandlingTest.Parent 79 public String method(String value) { method in class:ClassicSuperHandlingTest.Grandparent [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
PoolMethod.java | 37 import org.jf.dexlib2.iface.Method; 47 class PoolMethod extends BaseMethodReference implements Method { 48 @Nonnull private final Method method; field in class:PoolMethod 52 public static final Function<Method, PoolMethod> TRANSFORM = new Function<Method, PoolMethod>() { 53 @Override public PoolMethod apply(Method method) { 54 return new PoolMethod(method); 58 PoolMethod(@Nonnull Method method) [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...] |
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
ReflectionMethodDeclaration.java | 30 import java.lang.reflect.Method; 41 private Method method; field in class:ReflectionMethodDeclaration 44 public ReflectionMethodDeclaration(Method method, TypeSolver typeSolver) { 45 this.method = method; 46 if (method.isSynthetic() || method.isBridge()) { 54 return method.getName() [all...] |
/external/testng/src/test/java/test/mannotation/ |
MAnnotation2SampleTest.java | 11 import java.lang.reflect.Method; 27 Method method = MTest3.class.getMethod("groups1", new Class[0]); local 28 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); 29 Assert.assertEqualsNoOrder(new String[] { "method-test3", "child-class-test3", "base-class" }, 34 Method method = MTest3.class.getMethod("groups2", new Class[0]); local 35 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); 46 Method method = MTest3.class.getMethod("dependsOnGroups1", new Class[0]) local 53 Method method = MTest3.class.getMethod("dependsOnGroups2", new Class[0]); local 66 Method method = MTest3.class.getMethod("dependsOnMethods1", new Class[0]); local 73 Method method = MTest3.class.getMethod("dependsOnMethods2", new Class[0]); local 86 Method method = MTest3.class.getMethod("beforeSuite", new Class[0]); local 97 Method method = MTest3.class.getMethod("enabled1", new Class[0]); local 103 Method method = MTest3.class.getMethod("enabled2", new Class[0]); local [all...] |
/art/runtime/ |
runtime-inl.h | 39 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(ArtMethod* method) { 40 DCHECK(method != nullptr); 41 // Cannot be imt-conflict-method or resolution-method. 42 DCHECK_NE(method, GetImtConflictMethod()); 43 DCHECK_NE(method, GetResolutionMethod()); 45 if (method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveRefsAndArgs)) { 47 } else if (method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveAllCalleeSaves)) { 49 } else if (method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveRefsOnly)) { 52 DCHECK(method == GetCalleeSaveMethodUnchecked(CalleeSaveType::kSaveEverything) | [all...] |
/external/boringssl/src/crypto/engine/ |
engine.c | 49 // set_method takes a pointer to a method and its given size and sets 51 // future to support making a copy of the method so that a stable ABI for 54 static int set_method(void **out_member, const void *method, size_t method_size, 56 const struct openssl_method_common_st *common = method; 61 *out_member = (void*) method; 65 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, 67 return set_method((void **)&engine->rsa_method, method, method_size, 75 int ENGINE_set_ECDSA_method(ENGINE *engine, const ECDSA_METHOD *method, 77 return set_method((void **)&engine->ecdsa_method, method, method_size, 90 struct openssl_method_common_st *method = method_in local [all...] |
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
SerializableMethodTest.java | 13 import java.lang.reflect.Method; 20 private MockitoMethod method; field in class:SerializableMethodTest 21 private Method toStringMethod; 28 method = new SerializableMethod(toStringMethod); 34 new ObjectOutputStream(serialized).writeObject(method); 39 assertArrayEquals(toStringMethod.getExceptionTypes(), method.getExceptionTypes()); 44 assertEquals(toStringMethod.getName(), method.getName()); 49 assertEquals(toStringMethod.isVarArgs(), method.isVarArgs()); 54 assertArrayEquals(toStringMethod.getParameterTypes(), method.getParameterTypes()); 59 assertEquals(toStringMethod.getReturnType(), method.getReturnType()) [all...] |