HomeSort by relevance Sort by last modified time
    Searched full:invokemethod (Results 1 - 25 of 337) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/junit/src/org/junit/internal/runners/statements/
InvokeMethod.java 9 public class InvokeMethod extends Statement {
13 public InvokeMethod(FrameworkMethod testMethod, Object target) {
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/
CompatUtilsTest.java 84 assertNull(CompatUtils.invokeMethod(new BaseClass(), null, null, null));
88 assertNull(CompatUtils.invokeMethod(new BaseClass(), "", null, null));
92 assertNull(CompatUtils.invokeMethod(null, "", null, null));
96 assertNull(CompatUtils.invokeMethod(new BaseClass(), "derivedMethod", null, null));
100 assertEquals(1, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", null, null));
104 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "derivedMethod",
109 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod",
114 assertEquals(2, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod",
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
InvokeMethodTest.java 51 * JDWP unit test for ObjectReference.InvokeMethod command.
163 * This testcase exercises ObjectReference.InvokeMethod command.
166 * <BR>&nbsp;&nbsp; - send ObjectReference.InvokeMethod command for method,
170 * <BR>&nbsp;&nbsp; - send ObjectReference.InvokeMethod command for method,
200 // Make InvokeMethod without exception
211 logWriter.println("\nSend ObjectReference.InvokeMethod without exception...");
213 checkReplyPacket(reply, "ObjectReference::InvokeMethod command");
216 logWriter.println(" ObjectReference.InvokeMethod: returnValue.getIntValue()="
220 logWriter.println(" ObjectReference.InvokeMethod: exception.tag="
234 // Make InvokeMethod with exceptio
    [all...]
InvokeMethodDefault002Test.java 27 * JDWP unit test for ObjectReference.InvokeMethod command on an
36 * This testcase exercises ObjectReference.InvokeMethod command.
39 * <BR>Then sends ObjectReference.InvokeMethod command to invoke method
139 logWriter.println(" Send ObjectReference.InvokeMethod " +
142 checkReplyPacket(reply, "ObjectReference::InvokeMethod command");
148 logWriter.println(" ObjectReference.InvokeMethod: returnValue.getIntValue()="
159 logWriter.println(" InterfaceType.InvokeMethod: exception.tag="
164 logWriter.println(" ObjectReference.InvokeMethod: returnValue.getIntValue()="
174 logWriter.println(" ObjectReference.InvokeMethod: exception.tag="
InvokeMethodDefaultTest.java 27 * JDWP unit test for ObjectReference.InvokeMethod command.
35 * This testcase exercises ObjectReference.InvokeMethod command.
38 * <BR>Then sends ObjectReference.InvokeMethod command to invoke method
139 logWriter.println(" Send ObjectReference.InvokeMethod " +
142 checkReplyPacket(reply, "ObjectReference::InvokeMethod command");
148 logWriter.println(" ObjectReference.InvokeMethod: returnValue.getIntValue()="
159 logWriter.println(" InterfaceType.InvokeMethod: exception.tag="
164 logWriter.println(" ObjectReference.InvokeMethod: returnValue.getIntValue()="
174 logWriter.println(" ObjectReference.InvokeMethod: exception.tag="
InvokeMethod002Test.java 32 * JDWP unit test for ObjectReference.InvokeMethod command.
40 * This testcase exercises ObjectReference.InvokeMethod command.
43 * <BR>Then sends ClassType.InvokeMethod command for method with null
148 logWriter.println(" Send ObjectReference.InvokeMethod without Exception");
150 checkReplyPacket(reply, "ObjectReference::InvokeMethod command");
155 logWriter.println(" ClassType.InvokeMethod: returnValue.getIntValue()="
164 logWriter.println(" ClassType.InvokeMethod: exception.tag="
InvokeMethod003Test.java 32 * JDWP unit test for ObjectReference.InvokeMethod command.
40 * This testcase exercises ObjectReference.InvokeMethod command.
43 * <BR>Then sends ObjectReference.InvokeMethod command to invoke method
152 logWriter.println(" Send ObjectReference.InvokeMethod without Exception");
154 checkReplyPacket(reply, "ObjectReference::InvokeMethod command");
164 logWriter.println(" ObjectReference.InvokeMethod: returnedString=\""
173 logWriter.println(" ClassType.InvokeMethod: exception.tag="
  /frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
MainActivityTest.java 35 invokeMethod(View.class, view, "encode", encoder);
36 invokeMethod(encoder.getClass(), encoder, "endStream");
41 private Object invokeMethod(Class targetClass, Object target, String methodName, Object... params)
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/InterfaceType/
InvokeMethodTest.java 29 * JDWP unit test to exercise InterfaceType.InvokeMethod command.
39 * This testcase exercises InterfaceType.InvokeMethod command.
42 * <BR>Then sends InterfaceType.InvokeMethod command for method with null
117 logWriter.println(" Send InterfaceType.InvokeMethod " +
120 checkReplyPacket(reply, "InterfaceType::InvokeMethod command");
126 logWriter.println(" InterfaceType.InvokeMethod: returnValue.getIntValue()="
137 logWriter.println(" InterfaceType.InvokeMethod: exception.tag="
142 logWriter.println(" InterfaceType.InvokeMethod: returnValue.getIntValue()="
152 logWriter.println(" InterfaceType.InvokeMethod: exception.tag="
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
InvokeMethod003Test.java 32 * JDWP unit test for ClassType.InvokeMethod command.
40 * This testcase exercises ClassType.InvokeMethod command.
43 * <BR>Then sends ClassType.InvokeMethod command for method with null
120 logWriter.println(" Send ClassType.InvokeMethod without Exception");
122 checkReplyPacket(reply, "ClassType::InvokeMethod command");
127 logWriter.println(" ClassType.InvokeMethod: returnValue.getIntValue()="
136 logWriter.println(" ClassType.InvokeMethod: exception.tag="
InvokeMethodTest.java 39 * JDWP unit test for ClassType.InvokeMethod command.
51 * This testcase exercises ClassType.InvokeMethod command.
54 * <BR>&nbsp;&nbsp; - send ClassType.InvokeMethod command for method,
58 * <BR>&nbsp;&nbsp; - send ClassType.InvokeMethod command for method,
163 // Make InvokeMethod without Exception
173 logWriter.println(" Send ClassType.InvokeMethod without Exception");
175 checkReplyPacket(reply, "ClassType::InvokeMethod command");
180 logWriter.println(" ClassType.InvokeMethod: returnValue.getIntValue()="
189 logWriter.println(" ClassType.InvokeMethod: exception.tag="
193 // Make InvokeMethod with Exceptio
    [all...]
InvokeMethod002Test.java 38 * JDWP unit test for ClassType.InvokeMethod command.
46 * This testcase checks ClassType.InvokeMethod command.
235 // Make InvokeMethod
247 logWriter.println(" Send ClassType.InvokeMethod");
251 checkReplyPacket(reply, "ClassType::InvokeMethod command",
254 checkReplyPacket(reply, "ClassType::InvokeMethod command");
257 logWriter.println(" ClassType.InvokeMethod: returnValue=" + returnValue);
260 logWriter.println(" ClassType.InvokeMethod: returnedString=" + returnedString);
264 assertNotNull("ClassType::InvokeMethod returned null exception",
266 assertEquals("ClassType::InvokeMethod returned invalid exception objectID,"
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
InvokeMethodSuspendedTwiceDebuggee.java 38 // Static method to test ClassType.InvokeMethod.
46 // Instance method to test ObjectReference.InvokeMethod.
InvokeMethodWithSuspensionDebuggee.java 87 // Static method to test ClassType.InvokeMethod.
97 // Instance method to test ObjectReference.InvokeMethod.
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DisposeDuringInvokeTest.java 46 * by an event. Once this thread is suspended, we send it an ObjectReference.InvokeMethod
73 // Send ObjectReference.InvokeMethod command.
86 throw new TestErrorException("Failed to send ObjectReference.InvokeMethod command", e);
107 * Returns the object ID of the debuggee object to issue the ObjectReference.InvokeMethod
  /external/testng/src/main/java/org/testng/internal/
InvokeMethodRunnable.java 54 MethodInvocationHelper.invokeMethod(m, m_instance, m_parameters);
MethodInvocationHelper.java 40 protected static Object invokeMethod(Method thisMethod, Object instance, Object[] parameters)
137 Object[][] originalResult = (Object[][]) invokeMethod(dataProvider, instance, parameters);
155 result = (Iterator<Object[]>) invokeMethod(dataProvider, instance, parameters);
197 invokeMethod(thisMethod, testInstance, parameters);
293 invokeMethod(thisMethod, instance, parameters);
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
TestThread.java 142 assertEquals(false, invokeMethod("hasQueuedThread", this));
145 assertEquals(true, invokeMethod("hasQueuedThread", this));
161 // assertEquals(false, invokeMethod("hasWaiters", conditionLikeObject));
164 assertEquals(true, invokeMethod("hasWaiters", conditionLikeObject));
215 private Object invokeMethod(String methodName, Object... arguments) throws Exception {
241 result = invokeMethod(request.methodName, request.arguments);
  /external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/
LazyObjectReference.java 68 public Value invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
71 return getValue().invokeMethod(thread, method, arguments, options);
  /art/runtime/native/
java_lang_reflect_Constructor.cc 157 // String constructor is replaced by a StringFactory method in InvokeMethod.
159 return InvokeMethod(soa, javaMethod, nullptr, javaArgs, 2);
168 InvokeMethod(soa, javaMethod, javaReceiver, javaArgs, 2);
169 // Constructors are ()V methods, so we shouldn't touch the result of InvokeMethod.
java_lang_reflect_Method.cc 102 return InvokeMethod(soa, javaMethod, javaReceiver, javaArgs);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ForegroundService.java 71 void invokeMethod(Method method, Object[] args) {
92 invokeMethod(mStartForeground, mStartForegroundArgs);
98 invokeMethod(mSetForeground, mSetForegroundArgs);
110 invokeMethod(mStopForeground, mStopForegroundArgs);
118 invokeMethod(mSetForeground, mSetForegroundArgs);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
PopFrames002Test.java 373 .println("=> Send InvokeMethod command for method: " + PopFramesDebuggee.METHOD_TO_INVOKE_NAME);
409 // InvokeMethod
412 .println("##PopFrames command returned no error for thread resumed by InvokeMethod");
413 fail("##PopFrames command returned no error for thread resumed by InvokeMethod");
420 checkReplyPacket(reply, "ClassType::InvokeMethod command");
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
HtmlTooltipHelper.java 256 Object o = ReflectionUtils.invokeMethod(browser, "evaluate(java.lang.String)", script);
262 ReflectionUtils.invokeMethod(browser, "evaluate(java.lang.String)", script);
276 String text = (String) ReflectionUtils.invokeMethod(reader, "getString()");
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/src/com/badlogic/gdx/controllers/desktop/
OisControllers.java 245 return (Long)invokeMethod(invokeMethod(SwingUtilities.windowForComponent((Component)canvas), "getPeer"), "getHWnd");
263 static private Object invokeMethod (Object object, String methodName) throws Exception {

Completed in 965 milliseconds

1 2 3 4 5 6 7 8 91011>>