/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_socket.py | 127 methodname = self.id() 128 i = methodname.rfind('.') 129 methodname = methodname[i+1:] 130 test_method = getattr(self, '_' + methodname) 168 def __init__(self, methodName='runTest'): 169 SocketTCPTest.__init__(self, methodName=methodName) 182 def __init__(self, methodName='runTest'): 183 SocketUDPTest.__init__(self, methodName=methodName [all...] |
/external/javassist/src/main/javassist/ |
CtField.java | 651 * @param methodName the name of the satic method. 654 String methodName) { 657 i.methodName = methodName; 683 * @param methodName the name of the satic method. 688 String methodName, 692 i.methodName = methodName; 719 * @param methodName the name of the satic method. 722 String methodName) { [all...] |
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
SandboxClassLoaderTest.java | 182 String methodName = shadow.directMethodName("normalMethod"); 183 Method directMethod = exampleClass.getDeclaredMethod(methodName, String.class, int.class); 194 String methodName = shadow.directMethodName("normalMethod"); 195 Method directMethod = exampleClass.getDeclaredMethod(methodName, String.class, int.class); 215 String methodName = shadow.directMethodName("staticMethod"); 216 Method directMethod = exampleClass.getDeclaredMethod(methodName, String.class); 367 private Method findDirectMethod(Class<?> declaringClass, String methodName, Class<?>... argClasses) throws NoSuchMethodException { 368 String directMethodName = shadow.directMethodName(methodName); 584 private Object invokeInterceptedMethodOnAClassToForget(String methodName) throws Exception { 590 Method m = theClass.getDeclaredMethod(methodName); [all...] |
/prebuilts/misc/common/robolectric/3.5.1/lib/ |
sandbox-3.5.1.jar | |
/art/tools/dmtracedump/ |
createtesttrace.cc | 67 char* methodName; 212 records[nextRecord].methodName = nullptr; 223 records[nextRecord].methodName = strndup(save_cp, len); 370 if (pRecord->className == nullptr || pRecord->methodName == nullptr) { 375 pRecord->className, pRecord->methodName); 378 pRecord->className, pRecord->methodName, pRecord->signature);
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
DalvikTestRunner.java | 145 String methodName = String.format("%s#%s", className, parts[0]); 157 if (excludes.contains(methodName)) { 162 || includes.contains(methodName) 391 String methodName = String.format("%s#%s", className, parts[0]); 403 if (mExcludes.contains(methodName)) { 408 || mIncludes.contains(methodName)
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
AbstractFakeCommandHandlerTestCase.groovy | 248 * @param methodName - the name of the method to override 251 protected void overrideMethod(object, String methodName, Closure newMethod) { 252 LOG.info("Overriding method [$methodName] for class [${object.class}]") 254 emc."$methodName" = newMethod 261 * @param methodName - the name of the fileSystem method to override 263 protected void overrideMethodToThrowFileSystemException(String methodName) { 264 def newMethod = {String path -> throw new FileSystemException("Error thrown by method [$methodName]", ERROR_MESSAGE_KEY) } 265 overrideMethod(fileSystem, methodName, newMethod)
|
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/ |
ReflectionHelpers.java | 200 * @param methodName The method name to call. 205 public static <R> R callInstanceMethod(final Object instance, final String methodName, ClassParameter<?>... classParameters) { 214 Method declaredMethod = traversalClass.getDeclaredMethod(methodName, classes); 237 * @param methodName The method name to call. 242 public static <R> R callInstanceMethod(Class<?> cl, final Object instance, final String methodName, ClassParameter<?>... classParameters) { 247 Method declaredMethod = cl.getDeclaredMethod(methodName, classes); 267 * @param methodName The method name to call. 273 public static <R> R callStaticMethod(Class<?> clazz, String methodName, ClassParameter<?>... classParameters) { 278 Method method = clazz.getDeclaredMethod(methodName, classes);
|
/build/make/tools/ |
java-event-log-tags.py | 141 methodName = javaName("write_" + t.tagname) 148 buffer.write("\n public static void %s(%s) {" % (methodName, argTypesNames))
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
SuccessNotificationHostSideTest.java | 231 private void checkDeviceTest(String methodName) throws DeviceNotAvailableException { 233 methodName);
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
TestNgRunner.java | 105 String methodName = child.getMethodName(); 117 SingleTestNgTestExecutor.Result result = SingleTestNgTestExecutor.execute(klass, methodName); 207 // Add [Class, MethodName] as a Description leaf node.
|
/cts/tests/signature/src/android/signature/cts/ |
CurrentApi.java | 94 String methodName = parser.getAttributeValue(null, ATTRIBUTE_NAME); 97 return new JDiffMethod(methodName, modifier, returnType);
|
/cts/tests/tests/telephony/src/android/telephony/embms/cts/ |
MbmsStreamingTestBase.java | 147 protected List<List<Object>> getMiddlewareCalls(String methodName) throws RemoteException { 149 .filter((elem) -> elem.get(0).equals(methodName))
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
PopFramesTest.java | 179 String methodName = getMethodName(frameInfos[i].location.classID, 181 logWriter.println("=> method name=" + methodName);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/shaping/ |
ArabicShapingRegTest.java | 207 private boolean getStaticCharacterHelperFunctionValue(String methodName, char testValue) throws Exception { 208 Method m = ArabicShaping.class.getDeclaredMethod(methodName, Character.TYPE);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/ |
ArabicShapingRegTest.java | 204 private boolean getStaticCharacterHelperFunctionValue(String methodName, char testValue) throws Exception { 205 Method m = ArabicShaping.class.getDeclaredMethod(methodName, Character.TYPE);
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
MethodCallExprContextResolutionTest.java | 50 private MethodCallExpr getMethodCallExpr(String methodName, String callingMethodName) { 54 MethodDeclaration method = Navigator.demandMethod(clazz, methodName);
|
/external/junit-params/src/main/java/junitparams/internal/ |
Utils.java | 132 static String uniqueMethodId(int index, Object paramSet, String methodName) { 133 return stringify(paramSet, index) + " (" + methodName + ")";
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
Reporter.java | 454 public static MockitoException cannotStubVoidMethodWithAReturnValue(String methodName) { 456 "'" + methodName + "' is a *void method* and it *cannot* be stubbed with a *return value*!", 486 public static MockitoException wrongTypeOfReturnValue(String expectedType, String actualType, String methodName) { 488 actualType + " cannot be returned by " + methodName + "()", 489 methodName + "() should return " + expectedType, 501 public static MockitoException wrongTypeReturnedByDefaultAnswer(Object mock, String expectedType, String actualType, String methodName) { 504 actualType + " cannot be returned by " + methodName + "()", 505 methodName + "() should return " + expectedType, [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
RobolectricInternals.java | 109 public static Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable { 111 return classHandler.methodInvoked(clazz, methodName, instance, paramTypes, params);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
SyntheticAccessorResolver.java | 87 public static boolean looksLikeSyntheticAccessor(String methodName) { 88 return methodName.startsWith("access$");
|
/external/vogar/src/vogar/target/junit/junit3/ |
TestCaseRunnerFactory.java | 75 Class<? extends TestCase> testClass, String methodName, Annotation[] annotations) { 76 return new RunTestCaseStatement(testClass, methodName, annotations);
|
/external/xmlrpcpp/src/ |
XmlRpcServer.cpp | 48 XmlRpcServer::removeMethod(const std::string& methodName) 50 MethodMap::iterator i = _methods.find(methodName);
|
/frameworks/base/core/jni/ |
android_media_RemoteDisplay.cpp | 101 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { 103 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
/frameworks/base/services/core/jni/ |
com_android_server_UsbHostManager.cpp | 48 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { 50 ALOGE("An exception was thrown by callback '%s'.", methodName);
|