Home
last modified time | relevance | path

Searched refs:parameter (Results 1 – 25 of 36) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt277 method.parameters().asSequence().forEachIndexed { i, parameter -> in <lambda>() method
281 if (parameter.hasDefaultValue() && in <lambda>()
288 writeModifiers(parameter) in <lambda>()
289 writeType(parameter, parameter.type()) in <lambda>()
291 val name = parameter.publicName() in <lambda>()
297 if (parameter.isDefaultValueKnown() && in <lambda>()
302 val defaultValue = parameter.defaultValue() in <lambda>()
DNullabilityAnnotationsValidator.kt93 override fun visitParameter(parameter: ParameterItem) { in <lambda>()
94 … checkItem(parameter.containingMethod(), parameter.toString(), parameter.type(), parameter) in <lambda>()
DJDiffXmlWriter.kt341 method.parameters().asSequence().forEach { parameter -> in <lambda>() method
345 writer.print(escapeAttributeValue(formatType(parameter.type()))) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeParameterList.kt33 for (parameter in parameters) { in typeParameterNames() constant
34 list.add(parameter.name ?: continue) in typeParameterNames()
DUAnnotationItem.kt89 for (parameter in uAttributes) { in <lambda>() constant
93 parameter.name ?: SdkConstants.ATTR_VALUE, parameter.expression in <lambda>()
DPsiAnnotationItem.kt90 for (parameter in psiAttributes) { in <lambda>() constant
94 parameter.name ?: ATTR_VALUE, parameter.value ?: continue in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt335 for (parameter in item.parameters()) { in appendMethodSignature() variable
345 builder.append(parameter.type().toSimpleType()) in appendMethodSignature()
351 builder.append(parameter.publicName() ?: parameter.name()) in appendMethodSignature()
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DItemVisitor.kt66 open fun visitParameter(parameter: ParameterItem) {} in visitParameter()
82 open fun afterVisitParameter(parameter: ParameterItem) {} in afterVisitParameter()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParameterList.kt38 for (parameter in typeParameters) { in toString() constant
39 names.add(parameter.simpleName()) in toString()
DTextMethodItem.kt191 fun addParameter(parameter: TextParameterItem) { in addParameter()
192 parameters += parameter in addParameter()
/tools/dexter/testdata/expected/
Dmin.regs_usage6 Histogram: Method parameter registers [max_count=1]
Dmi.regs_usage9 Histogram: Method parameter registers [max_count=4]
Dentry_hooks.regs_usage13 Histogram: Method parameter registers [max_count=8]
Dhello.regs_usage11 Histogram: Method parameter registers [max_count=5]
Dlarge.regs_usage74 Histogram: Method parameter registers [max_count=17899]
Dhello_nodebug.regs_usage10 Histogram: Method parameter registers [max_count=5]
Dtry_catch.regs_usage8 Histogram: Method parameter registers [max_count=5]
/tools/metalava/
DFORMAT.md17 format adds new information, such as annotations, parameter names and default
300 In v1 files we only list type names, but in v2 we allow an optional parameter
305 special annotation to explicitly name a Java parameter:
307 from Java, but Kotlin client code can now reference the parameter.
316 (Note how the implementation parameter doesn't have to match the public, API
317 name of the parameter.)
326 and/or parameter name:
332 For Kotlin code, the default parameter values are extracted automatically, and
333 for Java, just as with parameter names, you can specify a special annotation to
334 record the default value for usage from languages that support default parameter
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DJavadocTest.kt817 fun `Rewrite parameter list`() { in Rewrite parameter list()
881 fun `Rewrite parameter list 2`() { in Rewrite parameter list 2()
/tools/security/fuzzing/orphans/libffi/
DAndroid.bp16 "-Wno-unused-parameter",
/tools/security/fuzzing/system_fuzzers/libwatchdog_perf_service/
DAndroid.bp18 "-Wno-unused-parameter"
/tools/security/fuzzing/orphans/pppd/
DAndroid.bp27 "-Wno-unused-parameter",
/tools/dexter/dexter/
DAndroid.bp25 "-Wno-unused-parameter",
/tools/dexter/slicer/
DAndroid.bp31 "-Wno-unused-parameter",
/tools/metalava/src/test/java/com/android/tools/metalava/
DNullabilityAnnotationsValidatorTest.kt73 fun `Missing parameter annotation`() { in Missing parameter annotation()

12