/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
JythonUtils.java | 20 import java.lang.reflect.Method; 85 * Utility method to be called from Jython bindings to give proper handling of keyword and 108 Method m; 298 for (Method m : clz.getMethods()) { 490 * Obtain the set of method names available from Python. 493 * @return set of method names annotated with {@code MonkeyRunnerExported}. 497 for (Method m: clazz.getMethods()) {
|
/external/chromium/testing/gmock/test/ |
gmock-spec-builders_test.cc | 110 // This line verifies that a mock method can take a by-reference 119 // Even though this mock class contains a mock method that takes 161 // redefining a mock method name. This could happen, for example, when 165 #define Method MethodW 170 virtual int Method() = 0; 176 MOCK_METHOD0(Method, int()); 182 // Tests that a method with expanded name compiles. 185 ON_CALL(cc, Method()); 188 // Tests that the method with expanded name not only compiles but runs 192 ON_CALL(cc, Method()).WillByDefault(Return(42)) [all...] |
/external/apache-http/src/org/apache/commons/logging/impl/ |
SimpleLog.java | 23 import java.lang.reflect.Method; 270 * This method assembles the message 643 Method method = Thread.class.getMethod("getContextClassLoader", local 648 classLoader = (ClassLoader)method.invoke(Thread.currentThread(), 656 * the method being invoked (getContextClassLoader) throws
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
CharInfo.java | 173 private CharInfo(String entitiesResource, String method, boolean internal) 329 if (Method.XML.equals(method)) 335 if (Method.HTML.equals(method)) { 337 // "The html output method should not escape < characters occurring in attribute values." 385 * the character '>' this method would return the fully decorated 393 * Simplest fix for now is to make it a synchronized method, or to give 460 final String entitiesFileName, final String method, 466 method, internal); [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 99 llvm::DIType getOrCreateMethodType(const CXXMethodDecl *Method, 110 llvm::DISubprogram CreateCXXMemberFunction(const CXXMethodDecl *Method, 260 /// getFunctionDeclaration - Return debug info descriptor to describe method 261 /// declaration for the given method definition. 269 /// getObjCMethodName - Returns the unmangled name of an Objective-C method.
|
CGObjCMac.cpp | 688 /// MethodVarNames - uniqued method variable names. 694 /// MethodVarTypes - uniqued method type signatures. We have to use 702 /// PropertyNames - uniqued method variable names. 732 /// GetNameForMethod - Return a name for the given method. [all...] |
CGObjCGNU.cpp | 128 /// Instance Method Pointer type. This is a pointer to a function that takes, 164 /// Metadata kind used to tie method lookups to message sends. The GNUstep 338 /// Generates a method list structure. This is a structure containing a size 339 /// and an array of structures containing method metadata. 353 /// pattern as method and instance variable metadata lists. 380 /// Generates a method list. This is used by protocols to define the required 399 /// Looks up the method for sending a message to the specified object. This 400 /// mechanism differs between the GCC and GNU runtimes, so this method must be 406 /// Looks up the method for sending a message to a superclass. This mechanism 407 /// differs between the GCC and GNU runtimes, so this method must b [all...] |
CGVTables.cpp | 65 /// Method - The method decl of the overrider. 66 const CXXMethodDecl *Method; 71 OverriderInfo() : Method(0), Offset(CharUnits::Zero()) { } 133 /// getOverrider - Get the final overrider for the given method declaration in 192 const UniqueVirtualMethod &Method = I->second.front(); 194 const CXXRecordDecl *OverriderRD = Method.Method->getParent(); 196 std::make_pair(OverriderRD, Method.Subobject)) 200 Method.Subobject)] [all...] |
/external/easymock/src/org/easymock/internal/ |
RecordState.java | 19 import java.lang.reflect.Method;
262 "missing behavior definition for the preceding method call "
275 "method call on the mock needed before setting "
283 "void method cannot return a value"));
307 "last method called on mock cannot throw "
330 "last method called on mock is not a void method"));
338 "last method called on mock is not a void method"));
385 public void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher) { [all...] |
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JavaInstanceJSC.cpp | 146 return throwError(exec, createTypeError(exec, "Attempt to invoke non-Java method on Java object.")); 153 Method* method = 0; local 156 // Try to find a good match for the overloaded method. The 158 // notion of method overloading and Java does. We could 162 Method* aMethod = methodList[methodIndex]; 164 method = aMethod; 168 if (!method) { 169 LOG(LiveConnect, "JavaInstance::invokeMethod unable to find an appropiate method"); 173 const JavaMethod* jMethod = static_cast<const JavaMethod*>(method); [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
ClassLoaderTest.java | 22 import java.lang.reflect.Method; 230 * Invoke the test() method and verify that the string returned 236 Method meth = clazz.getMethod("test", (Class[]) null);
|
/libcore/luni/src/test/java/dalvik/system/ |
DexClassLoaderTest.java | 20 import java.lang.reflect.Method; 128 * the source, and call a named no-argument static method on a 139 Method m = c.getMethod(methodName, (Class[]) null); 165 * case, a trivial static method is called.
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 35 import java.lang.reflect.Method; 45 * getData() method and, optionally, assertDeserialized() method. The first one 48 * not provide specific method equals()). <br> 73 * This is the main working method of this framework. Subclasses must 124 * Working method for files generation mode. Serializes test objects 173 * equals() method and it's instances should to be compared manually. 186 // default comparator for a class that has equals(Object) method 260 * method then <code>DEFAULT_COMPARATOR</code> is selected.<br> - the 261 * method tries to select one of known comparators basing on <code>object's</code [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 30 import java.lang.reflect.Method; 236 Method method = clazz.getMethod("setDataSource", String.class); local 237 method.invoke(instance, filePath); 239 // The method name changes between API Level 9 and 10.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/xml/ |
HyperlinksTest.java | 46 import java.lang.reflect.Method; 253 Method method = xmlEditor.getClass().getMethod("getTextEditor", new Class[0]); local 254 ste = (StructuredTextEditor) method.invoke(newEditor, new Object[0]);
|
/external/clang/include/clang/AST/ |
ExprObjC.h | 432 /// The innermost message send invokes the "alloc" class method on the 434 /// "initWithString" instance method on the object returned from 457 /// \brief Whether we have an actual method prototype in \c 460 /// When non-zero, we have a method declaration; otherwise, we just 465 /// i.e. a call of an init method on self from within an init method. 474 /// referring to the method that we type-checked against. 495 ObjCMethodDecl *Method, 503 ObjCMethodDecl *Method, 511 ObjCMethodDecl *Method, [all...] |
/external/proguard/src/proguard/evaluation/ |
Processor.java | 77 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 497 invocationUnit.exitMethod(clazz, method, stack.ipop()); 502 invocationUnit.exitMethod(clazz, method, stack.lpop()); 507 invocationUnit.exitMethod(clazz, method, stack.fpop()); 512 invocationUnit.exitMethod(clazz, method, stack.dpop()); 517 invocationUnit.exitMethod(clazz, method, stack.apop()); 555 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 575 invocationUnit.invokeMember(clazz, method, codeAttribute, offset, constantInstruction, stack) [all...] |
/dalvik/vm/analysis/ |
Liveness.cpp | 68 bool verbose = false; //= dvmWantVerboseVerification(vdata->method); 70 const Method* meth = vdata->method; 83 * for method result "registers", which aren't visible to the GC. 103 LOG_VFY_METH(vdata->method, "oh dear"); 115 * un-visited blocks from the tail end of the method). 252 LOG_VFY_METH(vdata->method, 257 LOG_VFY_METH(vdata->method, 322 const Method* meth = vdata->method; [all...] |
VfyBasicBlock.cpp | 82 * in a large synchronized method). We probably want to use a small 154 * Returning from the method (via a return statement or an uncaught 162 const Method* meth = vdata->method; 248 LOGI("Basic blocks for %s.%s:%s", vdata->method->clazz->descriptor, 249 vdata->method->name, vdata->method->shorty); 298 const Method* meth = vdata->method; 359 /* no more try blocks in this method */ [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
TransformerIdentityImpl.java | 51 import org.apache.xml.serializer.Method; 88 m_outputFormat = new OutputProperties(Method.XML); 164 m_outputFormat = new OutputProperties(Method.XML); 564 * <p>This method does not return a default parameter value, which 656 // See if an *explicit* method was set. 657 String method = (String) oformat.get(OutputKeys.METHOD); local 659 if (null != method) 660 m_outputFormat = new OutputProperties(method); 724 * be effected by calling this method.</p [all...] |
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 22 /// Declarator is a well formed C++ inline method definition. Now lex its body 134 // don't try to parse this method later. 249 /// stack of method declarations with some parts for which parsing was 277 Actions.ActOnReenterTemplateScope(getCurScope(), LM.Method); 279 // Start the delayed C++ method declaration 280 Actions.ActOnStartDelayedCXXMethodDeclaration(getCurScope(), LM.Method); 336 // Finish the delayed C++ method declaration. 337 Actions.ActOnFinishDelayedCXXMethodDeclaration(getCurScope(), LM.Method); 376 && "Inline method not starting with '{', ':' or 'try'"); 378 // Parse the method body. Function body parsing code is similar enoug [all...] |
/frameworks/base/test-runner/src/android/test/ |
InstrumentationTestRunner.java | 42 import java.lang.reflect.Method; 153 * derived class return the desired test suite from the {@link #getTestSuite()} method. The test 154 * suite returned from this method will be used if no target class is defined in the meta-data or 412 * Parse and load the given test class and, optionally, method 414 * @param testClassName - full package name of test class and optionally method to add. 483 * Helper method to return the annotation class with specified name 581 // use reflection to call emma dump coverage method, to avoid 587 Method dumpCoverageMethod = emmaRTClass.getMethod("dumpCoverageData", 759 Method testMethod = null; 790 // Look for TimedTest annotation on both test class and test method [all...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfTranslator.java | 25 import com.android.dx.cf.iface.Method; 59 * Static method that turns {@code byte[]}s containing Java 95 * Performs the main act of translation. This method is separated 231 Method one = methods.get(i); 356 * Run rop->dex again on optimized vs. non-optimized method to 358 * since converting the "real" method getting added to the
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DriverManagerTest.java | 24 import java.lang.reflect.Method; 78 * Test for the method DriverManager.deregisterDriver 113 Method theMethod = driverClass.getDeclaredMethod("setDriver", 123 } // end method testDeregisterDriver() 130 } // end method printClassLoader( Object ) 140 } // end method isDriverLoaded( Driver ) 175 } // end method testGetConnectionString() 238 } // end method testGetConnectionStringProperties() 278 } // end method testGetConnectionStringStringString() 312 } // end method testGetDriver( [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 34 import java.lang.reflect.Method; 48 * getData() method and, optionally, assertDeserialized() method. The first one 51 * not provide specific method equals()). <br> 119 * This is the main working method of this framework. Subclasses must 169 * Working method for files generation mode. Serializes test objects 218 * equals() method and it's instances should to be compared manually. 233 // default comparator for a class that has equals(Object) method 390 * method then <code>DEFAULT_COMPARATOR</code> is selected.<br> - the 391 * method tries to select one of known comparators basing on <code>object's</code [all...] |