Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java222 String methodName = String.format("%s#%s", className, method.getName()); in shouldRun() local
224 if (!shouldRunFilter(packageName, className, methodName)) { in shouldRun()
245 || mIncludeFilters.contains(methodName) in shouldRun()
248 || includeFilterMatches(methodName); in shouldRun()
251 private boolean includeFilterMatches(String methodName) { in includeFilterMatches() argument
259 if (methodName.matches(filter)) { in includeFilterMatches()
298 String methodName = String.format("%s#%s", className, desc.getMethodName()); in shouldRun() local
299 if (!shouldRunFilter(packageName, className, methodName)) { in shouldRun()
309 || mIncludeFilters.contains(methodName) in shouldRun()
312 || includeFilterMatches(methodName); in shouldRun()
[all …]
DJUnitXmlParser.java100 String methodName = getMandatoryAttribute(name, "name", attributes); in startElement() local
101 mCurrentTest = new TestDescription(testClassName, methodName); in startElement()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java81 String methodName = String.format("%s#%s", className, desc.getMethodName()); in checkFilters() local
82 return this.checkIncludeFilters(packageName, className, methodName) in checkFilters()
83 && this.checkExcludeFilters(packageName, className, methodName); in checkFilters()
92 private boolean checkIncludeFilters(String packageName, String className, String methodName) { in checkIncludeFilters() argument
94 || mIncludeFilters.contains(methodName) in checkIncludeFilters()
99 private boolean checkExcludeFilters(String packageName, String className, String methodName) { in checkExcludeFilters() argument
100 return !(mExcludeFilters.contains(methodName) in checkExcludeFilters()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceTestCase.java132 for (String methodName : testMethodNames) { in run()
133 TestDescription testId = new TestDescription(runName, methodName); in run()
167 for (String methodName : testMethodNames) { in run()
168 setName(methodName); in run()
169 CLog.d("Running %s#%s()", this.getClass().getName(), methodName); in run()
DHostTest.java438 void setMethodName(String methodName) { in setMethodName() argument
439 mMethodName = methodName; in setMethodName()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/
DAssertions.kt55 fun ClassItem.assertMethod(methodName: String, parameters: String): MethodItem { in ClassItem()
56 val methodItem = findMethod(methodName, parameters) in ClassItem()
57 assertNotNull(methodItem, message = "Expected $methodName($parameters) to be defined") in ClassItem()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestListTestParserTest.java177 String methodName = test.getTestName(); in verifyTestDescriptions() local
182 String.format("Method name %s improperly formatted", methodName), in verifyTestDescriptions()
183 methodName.matches("^\\s+.*")); // should not begin with whitespace in verifyTestDescriptions()
DInstrumentationTestTest.java369 String methodName = "testFoo"; in testRun_classMethod() local
373 mInstrumentationTest.setMethodName(methodName); in testRun_classMethod()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt449 val methodName = matcher.group(5) in <lambda>() constant
450 if (methodName != null) { in <lambda>()
462 methodName, in <lambda>()
518 methodName: String, in <lambda>()
524 val methodItem: MethodItem? = classItem.findMethod(methodName, parameters) in <lambda>()
531 …"Could not find method $methodName($parameters) in $containingClass; omitting annotation from merg… in <lambda>()
DConvertJarsToSignatureFiles.kt292 val methodName = if (node.name == "<init>") cls.simpleName() else node.name in findMethod() constant
293 val method = cls.findMethod(methodName, parameters) in findMethod()
/tools/apifinder/checks/src/main/java/com/android/apifinder/
DApiFinderDetector.kt59 val methodName = if (method.isConstructor) { in getApplicableUastTypes() constant
74 val methodCall = "$className.$methodName($parameterNames)" in getApplicableUastTypes()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt493 val (className, methodName, methodRef) = in <lambda>() constant
502 val (className, methodName) = match.destructured in <lambda>() constant
503 Triple(className, methodName, enforcement) in <lambda>()
507 val linkText = "$className.$methodName(String)" in <lambda>()
718 val methodName = method.name() in <lambda>() constant
719 val key = "${method.containingClass().qualifiedName()}#$methodName" in <lambda>()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DMetricsXmlParser.java92 String methodName = getMandatoryAttribute(name, "testname", attributes); in startElement() local
93 mCurrentTest = new TestDescription(testClassName, methodName); in startElement()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstrumentationPreparer.java183 void setMethodName(String methodName) { in setMethodName() argument
184 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/metalava-model/src/main/java/com/android/tools/metalava/model/
DClassItem.kt396 fun findMethod(methodName: String, parameters: String): MethodItem? { in <lambda>()
397 if (methodName == simpleName()) { in <lambda>()
406 .filter { it.name() == methodName && parametersMatch(it, parameters) } in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt634 val methodName = text.substring(1, end) in expand() constant
638 .findMethodsByName(methodName, true) in expand()
821 val methodName = referenceText.substring(1, end) in handleTag() constant
825 .findMethodsByName(methodName, true) in handleTag()
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/
DBaselineTestRule.kt46 baseline.isExpectedFailure(description.className, description.methodName) in apply()
/tools/metalava/metalava-model/src/test/java/com/android/tools/metalava/model/junit4/
DCustomizableParameterizedParametersProviderTest.kt43 assertThat(testName.methodName) in Test that parameters are provided by the runner()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/lint/
DApiLint.kt714 val methodName = method.name() in <lambda>() constant
716 if (!onCallbackNamePattern.matches(methodName)) { in <lambda>()
720 "$kind method names must follow the on<Something> style: $methodName" in <lambda>()
742 val methodName = method.name() in <lambda>() constant
744 methodName.startsWith("On") && in <lambda>()
1099 if (node.methodName == "synchronized" && node.receiver == null) { in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java679 String methodName = parser.getAttributeValue(NS, NAME_ATTR); in handleTestCaseLevel() local
683 TestDescription description = new TestDescription(className, methodName); in handleTestCaseLevel()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt1501 methodName: String, in parseParameterList()
1513 val methodFingerprint = MethodFingerprint(methodName, parameters.size) in parseParameterList()
/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

12