/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
RpcChannel.java | 57 * Call the given method of the remote service. This method is similar to 61 * {@code request.getDescriptor() == method.getInputType()}. 64 * {@code getDescriptor() == method.getOutputType()}). 66 void callMethod(Descriptors.MethodDescriptor method,
|
/external/testng/src/main/java/org/testng/ |
IMethodSelector.java | 8 * decide whether a test method should be included in a test run. 16 * @param context The selector context. The implementation of this method 17 * can invoke setHalted(true) to indicate that no other Method Selector 21 * @param method The test method 22 * @param isTestMethod true if this is a @Test method, false if it's a 23 * configuration method 24 * @return true if this method should be included in the test run, false 28 ITestNGMethod method, boolean isTestMethod); 31 * Invoked when all the test methods are known so that the method selecto [all...] |
/external/testng/src/test/java/test/invokedmethodlistener/ |
MyListener.java | 17 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { 19 if (method.getTestMethod().isAfterSuiteConfiguration()) { 23 if (method.getTestMethod().isTest()) { 30 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) {
|
/frameworks/base/core/java/android/hardware/camera2/dispatch/ |
Dispatchable.java | 18 import java.lang.reflect.Method; 21 * Dynamically dispatch a method and its argument to some object. 23 * <p>This can be used to intercept method calls and do work around them, redirect work, 28 * Dispatch the method and arguments to this object. 29 * @param method a method defined in class {@code T} 30 * @param args arguments corresponding to said {@code method} 31 * @return the object returned when invoking {@code method} 32 * @throws Throwable any exception that might have been raised while invoking the method 34 public Object dispatch(Method method, Object[] args) throws Throwable [all...] |
InvokeDispatcher.java | 22 import java.lang.reflect.Method; 37 public Object dispatch(Method method, Object[] args) { 39 return method.invoke(mTarget, args); 46 Log.wtf(TAG, "IllegalAccessException while invoking " + method, e); 49 Log.wtf(TAG, "IllegalArgumentException while invoking " + method, e);
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
BindingMethod.java | 41 * @return The method to call to set the attribute value. 43 String method(); method in interface:BindingMethod
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
Callable.java | 22 METHOD, 39 public final ModelMethod method; field in class:Callable 46 int parameterCount, int flags, ModelMethod method) { 53 this.method = method; 89 ", method=" + method +
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
AbsSeekBarBindingAdapter.java | 22 @BindingMethod(type = android.widget.AbsSeekBar.class, attribute = "android:thumbTint", method = "setThumbTintList"),
|
ActionMenuViewBindingAdapter.java | 23 @BindingMethod(type = ActionMenuView.class, attribute = "android:onMenuItemClick", method = "setOnMenuItemClickListener"),
|
ChronometerBindingAdapter.java | 23 @BindingMethod(type = Chronometer.class, attribute = "android:onChronometerTick", method = "setOnChronometerTickListener"),
|
FrameLayoutBindingAdapter.java | 22 @BindingMethod(type = android.widget.FrameLayout.class, attribute = "android:foregroundTint", method = "setForegroundTintList"),
|
SpinnerBindingAdapter.java | 22 @BindingMethod(type = android.widget.Spinner.class, attribute = "android:popupBackground", method = "setPopupBackgroundDrawable"),
|
/hardware/qcom/display/msm8998/libdrmutils/ |
drm_logger.h | 52 #define DRM_LOG(method, format, ...) \ 54 drm_utils::DRMLogger::Get()->method(format, ##__VA_ARGS__); \ 57 #define DRM_LOG_CONTEXT(method, format, ...) \ 58 DRM_LOG(method, __CLASS__ "::%s: " format, __FUNCTION__, ##__VA_ARGS__);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/ |
MetadataVariations.smali | 24 .method public abstract badAccessModifier(Ljava/lang/String;)V 33 .end method 35 .method public abstract badlyFormedAnnotation(Ljava/lang/String;)V 41 .end method 43 .method public abstract emptyMethodParametersAnnotation()V 48 .end method 50 .method public abstract emptyName(Ljava/lang/String;)V 59 .end method 61 .method public abstract manyParameters(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)V 668 .end method [all...] |
/cts/hostsidetests/incident/src/com/android/server/cts/ |
SettingsIncidentTest.java | 26 import java.lang.reflect.Method; 71 .filter((method) -> 72 method.getName().startsWith("get") 73 && !method.getName().endsWith("OrBuilder") 74 && method.getParameterCount() == 0 75 && !Modifier.isStatic(method.getModifiers()) 76 && method.getReturnType() == SettingProto.class) 77 .map((method) -> (SettingProto) invoke(method, settingsProto)) 81 private static <T> T invoke(Method method, Object instance, Object... args) [all...] |
/external/libvpx/libvpx/test/ |
vp8_boolcoder_test.cc | 58 for (int method = 0; method <= 7; ++method) { // we generate various proba 66 (method == 0) ? 0 : (method == 1) ? 255 : 67 (method == 2) ? 128 : 68 (method == 3) ? rnd.Rand8() : 69 (method == 4) ? (parity ? 0 : 255) : 71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : 72 (method == 6) 110 << " bit_method: " << bit_method << " method: " << method; local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
OptionalMethod.java | 21 import java.lang.reflect.Method; 25 * Duck-typing for methods: Represents a method that may or may not be present on an object. 27 * @param <T> the type of the object the method might be on, typically an interface or base class 31 /** The return type of the method. null means "don't care". */ 39 * Creates an optional method. 42 * @param methodName the name of the method 43 * @param methodParams the method parameter types 52 * Returns true if the method exists on the supplied {@code target}. 59 * Invokes the method on {@code target} with {@code args}. If the method does not exist or is no 149 Method method = null; local 164 Method method = null; local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/ |
ReflectionMethod.java | 39 import org.jf.dexlib2.iface.Method; 49 public class ReflectionMethod extends BaseMethodReference implements Method { 50 private final java.lang.reflect.Method method; field in class:ReflectionMethod 52 public ReflectionMethod(java.lang.reflect.Method method) { 53 this.method = method; 57 final java.lang.reflect.Method method = this.method local [all...] |
/art/runtime/ |
instrumentation.cc | 97 for (ArtMethod& method : klass->GetMethods(kRuntimePointerSize)) { 98 InstallStubsForMethod(&method); 103 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code) 105 method->SetEntryPointFromQuickCompiledCode(quick_code); 108 bool Instrumentation::NeedDebugVersionFor(ArtMethod* method) const REQUIRES_SHARED(Locks::mutator_lock_) { 111 !method->IsNative() && 112 !method->IsProxyMethod(); 115 void Instrumentation::InstallStubsForMethod(ArtMethod* method) { 116 if (!method->IsInvokable() || method->IsProxyMethod()) 857 ArtMethod* method; local 1082 ArtMethod* method = instrumentation_frame.method_; local 1147 ArtMethod* method = instrumentation_frame.method_; local [all...] |
/art/runtime/entrypoints/quick/ |
quick_fillarray_entrypoints.cc | 28 ArtMethod* method, Thread* self) 31 const uint16_t* const insns = method->GetCodeItem()->insns_;
|
/art/runtime/native/ |
java_lang_reflect_Method.cc | 36 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 37 if (!method->GetDeclaringClass()->IsAnnotation()) { 40 return soa.AddLocalReference<jobject>(annotations::GetAnnotationDefaultValue(method)); 45 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local 46 if (method->GetDeclaringClass()->IsProxyClass()) { 47 ObjPtr<mirror::Class> klass = method->GetDeclaringClass(); 51 if (&m == method) { 63 annotations::GetExceptionTypesForMethod(method); 88 FAST_NATIVE_METHOD(Method, getDefaultValue, "()Ljava/lang/Object;"), 89 FAST_NATIVE_METHOD(Method, getExceptionTypes, "()[Ljava/lang/Class;") [all...] |
/art/test/647-sinking-catch/src/ |
Main.java | 18 import java.lang.reflect.Method; 22 public static void testMethod(String method) throws Exception { 24 Method m = c.getMethod(method);
|
/art/test/954-invoke-polymorphic-verifier/smali/ |
MethodHandleNotInvoke.smali | 21 .method public constructor <init>()V 31 .end method 33 .method public static getMethodHandle()Ljava/lang/invoke/MethodHandle; 37 .end method
|
Unresolved.smali | 21 .method public constructor <init>()V 33 .end method 35 .method public static getUnresolvedInstance()Lother/thing/Foo; 40 .end method
|
/art/test/973-default-multidex/smali-multidex/ |
iface.smali | 27 .method public getTwice()Ljava/lang/String; 37 .end method 39 .method public abstract getString()Ljava/lang/String; 40 .end method
|