HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 276 - 300 of 1620) sorted by null

<<11121314151617181920>>

  /external/javassist/src/main/javassist/util/proxy/
RuntimeSupport.java 18 import java.lang.reflect.Method;
28 * A method handler that only executes a method.
33 public Object invoke(Object self, Method m,
34 Method proceed, Object[] args)
50 String desc, java.lang.reflect.Method[] methods)
62 * Finds a method with the given name and descriptor.
65 * @throws RuntimeException if the method is not found.
67 public static Method findMethod(Object self, String name, String desc) {
68 Method m = findMethod2(self.getClass(), name, desc)
    [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...]
  /external/gmock/include/gmock/
gmock-generated-function-mockers.h 347 // The variable for mocking the given method.
349 #define GMOCK_MOCKER_(arity, constness, Method) \
350 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
353 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \
354 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \
360 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
361 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
364 gmock_##Method() constness { \
365 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this);
    [all...]
  /external/google-breakpad/src/testing/include/gmock/
gmock-generated-function-mockers.h 341 // The variable for mocking the given method.
343 #define GMOCK_MOCKER_(arity, constness, Method) \
344 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
347 #define GMOCK_METHOD0_(tn, constness, ct, Method, F) \
348 GMOCK_RESULT_(tn, F) ct Method() constness { \
352 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
353 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
356 gmock_##Method() constness { \
357 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this);
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SmallStructsTest.java 23 import java.lang.reflect.Method;
92 Method getInitialValueSetter(String type) throws Exception {
155 Method set_bytes = scriptFieldClass.getMethod("set_bytes",
168 Method modify = ScriptC_small_structs.class.getMethod(
172 Method verify = ScriptC_small_structs.class.getMethod(
215 Method fieldASetter = scriptFieldClass.getMethod("set_a",
221 Method fieldBSetter = scriptFieldClass.getMethod("set_b",
227 Method modify = ScriptC_small_structs.class.getMethod(
231 Method verify = ScriptC_small_structs.class.getMethod(
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
RemoteControlClientCompat.java 25 import java.lang.reflect.Method;
44 private static Method sRCCEditMetadataMethod;
45 private static Method sRCCSetPlayStateMethod;
46 private static Method sRCCSetTransportControlFlags;
136 private Method mPutStringMethod;
137 private Method mPutBitmapMethod;
138 private Method mPutLongMethod;
139 private Method mClearMethod;
140 private Method mApplyMethod;
  /external/libchrome/base/
observer_list_threadsafe.h 64 // An UnboundMethod is a wrapper for a method where the actual object is
66 template <class T, class Method, class Params>
69 UnboundMethod(Method m, const Params& p) : m_(m), p_(p) {
71 "bad unbound method params");
77 Method m_;
176 template <class Method, class... Params>
178 Method m,
180 internal::UnboundMethod<ObserverType, Method, Tuple<Params...>> method(
189 Method, Tuple<Params...>>
    [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...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
FileIOInterruptTest.java 182 testChannelRead_exceptionWhenAlreadyClosed(ChannelReader.Method.READ);
186 testChannelRead_exceptionWhenAlreadyClosed(ChannelReader.Method.READV);
189 private void testChannelRead_exceptionWhenAlreadyClosed(ChannelReader.Method method)
199 if (method == ChannelReader.Method.READ) {
214 testChannelRead_exceptionWhenAlreadyInterrupted(ChannelReader.Method.READ);
218 testChannelRead_exceptionWhenAlreadyInterrupted(ChannelReader.Method.READV);
221 private void testChannelRead_exceptionWhenAlreadyInterrupted(ChannelReader.Method method)
539 private final Method method; field in class:FileIOInterruptTest.ChannelReader
584 private final Method method; field in class:FileIOInterruptTest.ChannelWriter
    [all...]
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
HttpClientStackTest.java 19 import com.android.volley.Request.Method;
43 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST);
51 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST);
59 assertEquals(request.getMethod(), Method.GET);
67 assertEquals(request.getMethod(), Method.POST);
75 assertEquals(request.getMethod(), Method.POST);
83 assertEquals(request.getMethod(), Method.PUT);
91 assertEquals(request.getMethod(), Method.PUT);
99 assertEquals(request.getMethod(), Method.DELETE);
107 assertEquals(request.getMethod(), Method.HEAD)
    [all...]
HurlStackTest.java 19 import com.android.volley.Request.Method;
41 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST);
50 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST);
59 assertEquals(request.getMethod(), Method.GET);
68 assertEquals(request.getMethod(), Method.POST);
77 assertEquals(request.getMethod(), Method.POST);
86 assertEquals(request.getMethod(), Method.PUT);
95 assertEquals(request.getMethod(), Method.PUT);
104 assertEquals(request.getMethod(), Method.DELETE);
113 assertEquals(request.getMethod(), Method.HEAD)
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
MacrobenchmarkWorker.java 33 import java.lang.reflect.Method;
43 private final ImmutableSet<Method> beforeRepMethods;
44 private final ImmutableSet<Method> afterRepMethods;
47 @Inject MacrobenchmarkWorker(@Benchmark Object benchmark, @BenchmarkMethod Method method,
49 super(benchmark, method);
59 for (Method beforeRepMethod : beforeRepMethods) {
80 for (Method afterRepMethod : afterRepMethods) {
  /external/dbus-binding-generator/chromeos-dbus-bindings/
interface.h 20 struct Method {
27 Method(const std::string& name_in,
33 Method(const std::string& name_in,
37 explicit Method(const std::string& name_in) : name(name_in) {}
68 const std::vector<Method>& methods_in,
75 std::vector<Method> methods;
  /external/proguard/src/proguard/classfile/instruction/visitor/
MultiInstructionVisitor.java 84 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
88 instructionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction);
92 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
96 instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variableInstruction);
100 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
104 instructionVisitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction);
108 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction
    [all...]
  /external/proguard/src/proguard/optimize/evaluation/
StoringInvocationUnit.java 112 generalizeMethodParameterValue((Method)referencedMember,
121 Method method,
126 generalizeMethodReturnValue(method, value);
171 private static void generalizeMethodParameterValue(Method method, int parameterIndex, Value value)
173 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
181 public static Value getMethodParameterValue(Method method, int parameterIndex)
183 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
ClassDefRewriter.java 39 import org.jf.dexlib2.iface.Method;
109 @Override @Nonnull public Iterable<? extends Method> getDirectMethods() {
113 @Override @Nonnull public Iterable<? extends Method> getVirtualMethods() {
119 public Iterable<? extends Method> getMethods() {
120 return new Iterable<Method>() {
123 public Iterator<Method> iterator() {
  /external/clang/lib/Sema/
SemaExprObjC.cpp 147 /// \brief Emits an error if the given method does not exist, or if the return
151 Selector Sel, const ObjCMethodDecl *Method) {
152 if (!Method) {
159 QualType ReturnType = Method->getReturnType();
163 S.Diag(Method->getLocation(), diag::note_objc_literal_method_return)
242 /// \brief Retrieve the NSNumber factory method that should be used to create
259 // If we already looked up this method, we're done.
284 // Look for the appropriate method within NSNumber.
285 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel);
286 if (!Method && S.getLangOpts().DebuggerObjCLiteral)
1245 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC); local
2966 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext); local
3294 ObjCMethodDecl *method; local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 23 import java.lang.reflect.Method;
118 Method trafficStatsTagSocket = null;
119 Method trafficStatsUntagSocket = null;
152 Method putMethod = negoClass.getMethod("put", SSLSocket.class, providerClass);
153 Method getMethod = negoClass.getMethod("get", SSLSocket.class);
154 Method removeMethod = negoClass.getMethod("remove", SSLSocket.class);
169 private final Method trafficStatsTagSocket;
170 private final Method trafficStatsUntagSocket;
177 Method trafficStatsTagSocket, Method trafficStatsUntagSocket
    [all...]
  /external/google-benchmark/include/benchmark/
benchmark_api.h 379 // Each method returns "this" so that multiple method calls can
386 // method calls can be chained together in one expression.
424 // if for some reason CPU timings are not representative, call this method. If
571 #define BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \
572 class BaseClass##_##Method##_Benchmark : public BaseClass { \
574 BaseClass##_##Method##_Benchmark() : BaseClass() { \
575 this->SetName(#BaseClass "/" #Method);} \
580 #define BENCHMARK_DEFINE_F(BaseClass, Method) \
581 BENCHMARK_PRIVATE_DECLARE_F(BaseClass, Method) \
    [all...]
  /art/test/044-proxy/src/
Clash.java 19 import java.lang.reflect.Method;
65 public Object invoke(Object proxy, Method method, Object[] args)
Clash2.java 19 import java.lang.reflect.Method;
55 public Object invoke(Object proxy, Method method, Object[] args)
Clash3.java 19 import java.lang.reflect.Method;
70 public Object invoke(Object proxy, Method method, Object[] args)
ConstructorProxy.java 19 import java.lang.reflect.Method;
49 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
NativeProxy.java 22 import java.lang.reflect.Method;
28 * Test invoking a proxy method from native code.
54 final Method method,
56 System.out.println(method.getName());
  /art/test/048-reflect-v8/src/
DefaultDeclared.java 17 import java.lang.reflect.Method;
47 Method m;

Completed in 263 milliseconds

<<11121314151617181920>>