/external/testng/src/test/java/test/listeners/ |
LListener.java | 11 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { 16 public void afterInvocation(IInvokedMethod method, ITestResult testResult) {
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
CheckedTextViewBindingAdapter.java | 22 @BindingMethod(type = android.widget.CheckedTextView.class, attribute = "android:checkMark", method = "setCheckMarkDrawable"), 23 @BindingMethod(type = android.widget.CheckedTextView.class, attribute = "android:checkMarkTint", method = "setCheckMarkTintList"),
|
LinearLayoutBindingAdapter.java | 22 @BindingMethod(type = android.widget.LinearLayout.class, attribute = "android:divider", method = "setDividerDrawable"), 23 @BindingMethod(type = android.widget.LinearLayout.class, attribute = "android:measureWithLargestChild", method = "setMeasureWithLargestChildEnabled"),
|
ToolbarBindingAdapter.java | 23 @BindingMethod(type = Toolbar.class, attribute = "android:onMenuItemClick", method = "setOnMenuItemClickListener"), 24 @BindingMethod(type = Toolbar.class, attribute = "android:onNavigationClick", method = "setNavigationOnClickListener"),
|
ZoomControlsBindingAdapter.java | 23 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomIn", method = "setOnZoomInClickListener"), 24 @BindingMethod(type = ZoomControls.class, attribute = "android:onZoomOut", method = "setOnZoomOutClickListener"),
|
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AllAnnotationVisitor.java | 72 public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) 75 runtimeVisibleAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 93 public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute) 96 runtimeInvisibleAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 100 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) 103 parameterAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 121 public void visitRuntimeVisibleTypeAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_service.cc | 141 const MethodDescriptor* method = descriptor_->method(i); local 143 GenerateMethodSignature(printer, method, IS_CONCRETE); 146 " impl.$method$(controller, request, done);\n" 148 "method", UnderscoresToCamelCase(method)); 180 const MethodDescriptor* method = descriptor_->method(i); local 181 WriteMethodDocComment(printer, method); 182 GenerateMethodSignature(printer, method, IS_ABSTRACT) 206 const MethodDescriptor* method = descriptor_->method(i); local 254 const MethodDescriptor* method = descriptor_->method(i); local 301 const MethodDescriptor* method = descriptor_->method(i); local 348 const MethodDescriptor* method = descriptor_->method(i); local 392 const MethodDescriptor* method = descriptor_->method(i); local 414 const MethodDescriptor* method = descriptor_->method(i); local [all...] |
/art/test/485-checker-dce-switch/src/ |
Main.java | 19 public static int $inline$method() { 34 int i = $inline$method(); 74 int i = $inline$method(); 110 int i = $inline$method() + 10; 146 int i = $inline$method() - 10;
|
/art/test/955-lambda-smali/smali/ |
MoveResult.smali | 19 .method public constructor <init>()V 23 .end method 25 .method public static run()V 38 .end method 41 .method public static testZ()V 61 .end method 64 .method public static lambdaZ(J)Z 70 .end method 73 .method public static testB()V 93 .end method [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
StackMapFrameVisitor.java | 35 public void visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame); 36 public void visitSameOneFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame); 37 public void visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame); 38 public void visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame); 39 public void visitFullFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame) [all...] |
/external/proguard/src/proguard/classfile/attribute/visitor/ |
AttributeVisitor.java | 49 public void visitDeprecatedAttribute( Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute); 53 public void visitSyntheticAttribute( Clazz clazz, Method method, SyntheticAttribute syntheticAttribute); 57 public void visitSignatureAttribute( Clazz clazz, Method method, SignatureAttribute signatureAttribute); 65 public void visitMethodParametersAttribute( Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute); 66 public void visitExceptionsAttribute( Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) [all...] |
AttributeNameFilter.java | 164 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 168 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 191 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 195 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 218 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute) 222 attributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); 236 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute exceptionsAttribute [all...] |
NonEmptyAttributeFilter.java | 108 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 110 attributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 126 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 128 attributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 144 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute) 146 attributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); 156 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute exceptionsAttribute [all...] |
RequiredAttributeFilter.java | 148 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 152 optionalAttributeVisitor.visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 175 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 179 optionalAttributeVisitor.visitSyntheticAttribute(clazz, method, syntheticAttribute); 202 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute) 206 optionalAttributeVisitor.visitSignatureAttribute(clazz, method, signatureAttribute); 220 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute exceptionsAttribute [all...] |
/external/testng/src/main/java/org/testng/reporters/util/ |
StackTraceTools.java | 15 /** Finds topmost position of the test method in the stack, or top of stack if <code>method</code> is not in it. */ 16 public static int getTestRoot(StackTraceElement[] stack,ITestNGMethod method) { 18 String cname = method.getTestClass().getName(); 21 && method.getMethodName().equals(stack[x].getMethodName())) { 31 /** Finds topmost position of the test method in the stack, or top of stack if <code>method</code> is not in it. */ 32 public static StackTraceElement[] getTestNGInstrastructure(StackTraceElement[] stack,ITestNGMethod method) { 33 int slot=StackTraceTools.getTestRoot(stack, method);
|
/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/tests/utils/testutils/java/android/app/test/ |
MockAnswerUtil.java | 23 import java.lang.reflect.Method; 32 * Answer that calls the method in the Answer called "answer" that matches the type signature of 33 * the method being answered. An error will be thrown at runtime if the signature does not match 39 Method method = invocation.getMethod(); local 41 Method implementation = getClass().getMethod("answer", method.getParameterTypes()); 42 if (!implementation.getReturnType().equals(method.getReturnType())) { 43 throw new RuntimeException("Found answer method does not have expected return " 44 + "type. Expected: " + method.getReturnType() + ", got [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockAnswerUtil.java | 23 import java.lang.reflect.Method; 32 * Answer that calls the method in the Answer called "answer" that matches the type signature of 33 * the method being answered. An error will be thrown at runtime if the signature does not match 39 Method method = invocation.getMethod(); local 41 Method implementation = getClass().getMethod("answer", method.getParameterTypes()); 42 if (!implementation.getReturnType().equals(method.getReturnType())) { 43 throw new RuntimeException("Found answer method does not have expected return " 44 + "type. Expected: " + method.getReturnType() + ", got [all...] |
/external/proguard/src/proguard/classfile/visitor/ |
ClassCleaner.java | 130 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) 134 methodParametersAttribute.parametersAccept(clazz, method, this); 138 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 146 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 150 codeAttribute.exceptionsAccept(clazz, method, this); 151 codeAttribute.attributesAccept(clazz, method, this); 155 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute [all...] |
/external/parameter-framework/upstream/test/functional-tests/include/ |
FailureWrapper.hpp | 64 /** Wrap a const method that may fail to throw an Exception instead of 67 * @param[in] method (const) that return a boolean to indicate failure. 68 * @param[in] args parameters to call method call with. */ 70 void mayFailCall(bool (K::*method)(MArgs...) const, Args &&... args) const 72 wrapCall<bool>(*this, method, std::forward<Args>(args)...); 75 /** Wrap a method that may fail to throw an Exception instead of retuning a 78 * @param[in] method that return a boolean to indicate failure. 79 * @param[in] args parameters to call method call with. */ 81 void mayFailCall(bool (K::*method)(MArgs...), Args &&... args) 83 wrapCall<bool>(*this, method, std::forward<Args>(args)...) [all...] |
/external/proguard/src/proguard/optimize/info/ |
ParameterUsageMarker.java | 107 // Is it a native method? 114 // Is it an abstract method? 121 // Is it a non-native, concrete method? 124 // Is the method not static, but synchronized, or can it have 158 // Can the method have other implementations? 161 // All implementations must keep all parameters of this method, 173 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 176 partialEvaluator.visitCodeAttribute(clazz, method, codeAttribute); 179 codeAttribute.instructionsAccept(clazz, method, this) [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
ReachableCodeMarker.java | 84 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 100 markCode(clazz, method, codeAttribute, 0); 107 codeAttribute.exceptionsAccept(clazz, method, this); 115 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 131 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 136 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction [all...] |
/art/runtime/native/ |
java_lang_reflect_Method.cc | 34 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 35 if (method->GetDeclaringClass()->IsProxyClass()) { 41 method->GetDexFile()->GetAnnotationForMethod(method, klass)); 46 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 47 if (!method->GetDeclaringClass()->IsAnnotation()) { 50 return soa.AddLocalReference<jobject>(method->GetDexFile()->GetAnnotationDefaultValue(method)); 55 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 56 if (method->GetDeclaringClass()->IsProxyClass()) 92 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
XmlReport.java | 108 for (ApiMethod method : apiClass.getMethods()) { 110 method.getCoveredWith().stream().collect(Collectors.joining(",")); 111 out.println("<method name=\"" + method.getName() 112 + "\" returnType=\"" + method.getReturnType() 113 + "\" deprecated=\"" + method.isDeprecated() 114 + "\" static=\"" + method.isStaticMethod() 115 + "\" final=\"" + method.isFinalMethod() 116 + "\" visibility=\"" + method.getVisibility() 117 + "\" abstract=\"" + method.isAbstractMethod( [all...] |
/external/boringssl/src/crypto/x509v3/ |
v3_prn.c | 100 const X509V3_EXT_METHOD *method; local 104 if(!(method = X509V3_EXT_get(ext))) 107 if(method->it) ext_str = ASN1_item_d2i(NULL, &p, ext->value->length, ASN1_ITEM_ptr(method->it)); 108 else ext_str = method->d2i(NULL, &p, ext->value->length); 112 if(method->i2s) { 113 if(!(value = method->i2s(method, ext_str))) { 118 } else if(method->i2v) { 119 if(!(nval = method->i2v(method, ext_str, NULL))) [all...] |