Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 23 of 23) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java213 String methodName = String.format("%s#%s", className, method.getName()); in shouldRun() local
214 if (!shouldRunFilter(packageName, className, methodName)) { in shouldRun()
235 || mIncludeFilters.contains(methodName) in shouldRun()
258 String methodName = String.format("%s#%s", className, desc.getMethodName()); in shouldRun() local
259 if (!shouldRunFilter(packageName, className, methodName)) { in shouldRun()
266 || mIncludeFilters.contains(methodName) in shouldRun()
275 private boolean shouldRunFilter(String packageName, String className, String methodName) { in shouldRunFilter() argument
284 if (mExcludeFilters.contains(methodName)) { in shouldRunFilter()
DJUnitXmlParser.java97 String methodName = getMandatoryAttribute(name, "name", attributes); in startElement() local
98 mCurrentTest = new TestDescription(testClassName, methodName); in startElement()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceTestCase.java132 for (String methodName : testMethodNames) { in run()
133 TestDescription testId = new TestDescription(runName, methodName); in run()
178 for (String methodName : testMethodNames) { in run()
179 setName(methodName); in run()
180 CLog.d("Running %s#%s()", this.getClass().getName(), methodName); in run()
DHostTest.java385 void setMethodName(String methodName) { in setMethodName() argument
386 mMethodName = methodName; in setMethodName()
/tools/tradefederation/contrib/src/com/android/framework/tests/
DPackageManagerHostTestUtils.java121 String methodName, in doRunTests() argument
128 if (className != null && methodName != null) { in doRunTests()
129 testRunner.setMethodName(className, methodName); in doRunTests()
158 String methodName, in runDeviceTestsDidAllTestsPass() argument
163 doRunTests(pkgName, className, methodName, runnerName, params); in runDeviceTestsDidAllTestsPass()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DCodebase.kt201 val methodName = if (node.name == "<init>") cls.simpleName() else node.name in <lambda>() constant
202 val method = cls.findMethod(methodName, parameters) in <lambda>()
225 val methodName = if (node.name == "<init>") cls.simpleName() else node.name in <lambda>() constant
226 val method = cls.findMethod(methodName, parameters) in <lambda>()
DClassItem.kt478 fun findMethod(methodName: String, parameters: String): MethodItem? { in <lambda>()
479 if (methodName == simpleName()) { in <lambda>()
486 .filter { it.name() == methodName && parametersMatch(it, parameters) } in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt401 val methodName = matcher.group(5) in mergeDocument() constant
402 if (methodName != null) { in mergeDocument()
410 … mergeMethodOrParameter(item, containingClass, classItem, methodName, parameterIndex, parameters) in mergeDocument()
459 methodName: String, in mergeMethodOrParameter()
466 val methodItem: MethodItem? = classItem.findMethod(methodName, parameters) in mergeMethodOrParameter()
472 …warning("Could not find method $methodName($parameters) in $containingClass; omitting annotation f… in mergeMethodOrParameter()
479 if ("java.util.Calendar" == containingClass && "set" == methodName && in mergeMethodOrParameter()
DApiLint.kt562 val methodName = method.name() in <lambda>() constant
563 if (!onCallbackNamePattern.matches(methodName)) { in <lambda>()
566 … "Callback method names must follow the on<Something> style: $methodName" in <lambda>()
607 val methodName = method.name() in <lambda>() constant
608 if (!onCallbackNamePattern.matches(methodName)) { in <lambda>()
611 "Listener method names must follow the on<Something> style: $methodName" in <lambda>()
618 val methodName = method.name() in <lambda>() constant
619 if (methodName.startsWith("On") && in <lambda>()
1017 if (node.methodName == "synchronized" && node.receiver == null) { in <lambda>()
DSignatureWriter.kt331 val methodName = item.containingMethod().name() in <lambda>() constant
332 when (methodName) { in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestListTestParserTest.java188 String methodName = test.getTestName(); in verifyTestDescriptions() local
191 assertFalse(String.format("Method name %s improperly formatted", methodName), in verifyTestDescriptions()
192 methodName.matches("^\\s+.*")); // should not begin with whitespace in verifyTestDescriptions()
DInstrumentationTestTest.java233 String methodName = "testFoo"; in testRun_classMethod() local
237 mInstrumentationTest.setMethodName(methodName); in testRun_classMethod()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DMetricsXmlParser.java91 String methodName = getMandatoryAttribute(name, "testname", attributes); in startElement() local
92 mCurrentTest = new TestDescription(testClassName, methodName); in startElement()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstrumentationPreparer.java179 void setMethodName(String methodName) { in setMethodName() argument
180 mMethodName = methodName; in setMethodName()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java294 public Object rpcCall(String methodName, Object... args) throws IOException { in rpcCall() argument
304 message.put("method", methodName); in rpcCall()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt630 val methodName = text.substring(1, end) in expand() constant
631 … resolved = (owner.psi() as PsiClass).findMethodsByName(methodName, true).firstOrNull() in expand()
816 val methodName = referenceText.substring(1, end) in handleTag() constant
817 … resolved = (owner.psi() as PsiClass).findMethodsByName(methodName, true).firstOrNull() in handleTag()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java616 String methodName = parser.getAttributeValue(NS, NAME_ATTR); in handleTestCaseLevel() local
618 TestDescription description = new TestDescription(className, methodName); in handleTestCaseLevel()
/tools/dexter/testdata/expected/
Dentry_hooks.rewrite363 .local v0, "methodName", java.lang.String
Dentry_hooks.compact_cfg400 .local v0, "methodName", java.lang.String
Dentry_hooks.entry_hook379 .local v0, "methodName", java.lang.String
Dentry_hooks.scratch_regs456 .local v8, "methodName", java.lang.String
Dentry_hooks.verbose_cfg482 .local v0, "methodName", java.lang.String
Dentry_hooks.code_coverage581 .local v1, "methodName", java.lang.String