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/model/psi/
DPsiParameterItem.kt95 val parameter = ktParameters[index] in isReceiver() constant
96 if (parameter.name == name) { in isReceiver()
97 return parameter in isReceiver()
101 for (parameter in ktParameters) { in isReceiver() constant
102 if (parameter.name == name) { in isReceiver()
103 return parameter in isReceiver()
110 val parameter = ktParameters[index] in isReceiver() constant
112 return parameter in isReceiver()
195 val parameter = PsiParameterItem( in create() constant
204 parameter.modifiers.setOwner(parameter) in create()
[all …]
DPsiTypeParameterList.kt33 for (parameter in parameters) { in typeParameterNames() constant
34 list.add(parameter.name ?: continue) in typeParameterNames()
DPsiConstructorItem.kt115 val parameters = psiMethod.parameterList.parameters.mapIndexed { index, parameter -> in <lambda>() method
116 PsiParameterItem.create(codebase, parameter, index) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DKotlinInteropChecks.kt188 val parameter = parameters[i] in <lambda>() constant
189 if (isSamCompatible(parameter)) { in <lambda>()
278 for (parameter in parameters) { in <lambda>() variable
279 if (parameter.hasDefaultValue()) { in <lambda>()
302 for (parameter in parameters) { in <lambda>() constant
303 val publicName = parameter.publicName() ?: continue in <lambda>()
304 checkKotlinKeyword(publicName, "parameter", parameter) in <lambda>()
324 private fun isSamCompatible(parameter: ParameterItem): Boolean { in <lambda>()
325 val type = parameter.type() in <lambda>()
DNullabilityAnnotationsValidator.kt94 override fun visitParameter(parameter: ParameterItem) { in <lambda>()
95 … checkItem(parameter.containingMethod(), parameter.toString(), parameter.type(), parameter) in <lambda>()
DSignatureWriter.kt284 method.parameters().asSequence().forEachIndexed { i, parameter -> in <lambda>() method
288 writeModifiers(parameter) in <lambda>()
289 writeType(parameter, parameter.type()) in <lambda>()
291 val name = parameter.publicName() in <lambda>()
297 if (options.outputDefaultValues && parameter.hasDefaultValue()) { in <lambda>()
299 val defaultValue = parameter.defaultValue() in <lambda>()
DJDiffXmlWriter.kt338 method.parameters().asSequence().forEach { parameter -> in <lambda>() method
342 writer.print(escapeAttributeValue(formatType(parameter.type()))) in <lambda>()
/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/dexter/testdata/expected/
Dlarge.regs_usage74 Histogram: Method parameter registers [max_count=17899]
Dmedium.regs_usage56 Histogram: Method parameter registers [max_count=1494]
Dhello.regs_usage11 Histogram: Method parameter registers [max_count=5]
Dhello_nodebug.regs_usage10 Histogram: Method parameter registers [max_count=5]
Dmi.regs_usage9 Histogram: Method parameter registers [max_count=4]
Dentry_hooks.regs_usage13 Histogram: Method parameter registers [max_count=8]
Dtry_catch.regs_usage8 Histogram: Method parameter registers [max_count=5]
Dexit_hooks.regs_usage12 Histogram: Method parameter registers [max_count=5]
Dmin.regs_usage6 Histogram: Method parameter registers [max_count=1]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParameterList.kt39 for (parameter in typeParameters) { in toString() constant
40 names.add(parameter.simpleName()) in toString()
DTextMethodItem.kt191 fun addParameter(parameter: TextParameterItem) { in addParameter()
192 parameters += parameter in addParameter()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDocAnalyzerTest.kt814 fun `Add new parameter when no doc exists`() { in Add new parameter when no doc exists()
847 fun `Add to method when there are existing parameter docs and appear before these`() { in Add to method when there are existing parameter docs and appear before these()
898 fun `Add new parameter when doc exists but no param doc`() { in Add new parameter when doc exists but no param doc()
937 fun `Add new parameter, sorted correctly between existing ones`() { in Add new parameter, sorted correctly between existing ones()
980 fun `Add to existing parameter`() { in Add to existing parameter()
DNullabilityAnnotationsValidatorTest.kt70 fun `Missing parameter annotation`() { in Missing parameter annotation()
/tools/dexter/dexter/
DAndroid.bp21 "-Wno-unused-parameter",
/tools/dexter/slicer/
DAndroid.bp27 "-Wno-unused-parameter",
/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/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_verify.txt26 the APK as the very last parameter, after all options.

12