Home
last modified time | relevance | path

Searched refs:duplicated (Results 1 – 10 of 10) sorted by relevance

/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineMethodItem.kt103 val duplicated = in duplicate() constant
117 parameters.map { TurbineParameterItem.duplicate(codebase, duplicated, it, emptyMap()) } in duplicate()
118 duplicated.parameters = params in duplicate()
119 duplicated.inheritedFrom = containingClass() in duplicate()
120 duplicated.throwableTypes = throwableTypes in duplicate()
124 duplicated.hidden = true in duplicate()
127 duplicated.removed = true in duplicate()
130 duplicated.docOnly = true in duplicate()
133 duplicated.updateCopiedMethodState() in duplicate()
135 return duplicated in duplicate()
DTurbineFieldItem.kt57 val duplicated = in hashCode() constant
69 duplicated.inheritedFrom = containingClass() in hashCode()
73 duplicated.hidden = true in hashCode()
76 duplicated.removed = true in hashCode()
79 duplicated.docOnly = true in hashCode()
82 return duplicated in hashCode()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt112 val duplicated = in findMainDocumentation() constant
122 duplicated.inheritedFrom = containingClass() in findMainDocumentation()
126 duplicated.hidden = true in findMainDocumentation()
129 duplicated.removed = true in findMainDocumentation()
132 duplicated.docOnly = true in findMainDocumentation()
135 duplicated.annotationDefault = annotationDefault in findMainDocumentation()
136 duplicated.throwsTypes = this.throwsTypes in findMainDocumentation()
137 duplicated.typeParameterList = typeParameterList in findMainDocumentation()
139 duplicated.updateCopiedMethodState() in findMainDocumentation()
141 return duplicated in findMainDocumentation()
DTextFieldItem.kt53 val duplicated = in hashCode() constant
63 duplicated.inheritedFrom = containingClass() in hashCode()
67 duplicated.hidden = true in hashCode()
70 duplicated.removed = true in hashCode()
73 duplicated.docOnly = true in hashCode()
76 return duplicated in hashCode()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt68 val duplicated = in isEnumConstant() constant
75 duplicated.inheritedFrom = containingClass in isEnumConstant()
79 duplicated.hidden = true in isEnumConstant()
82 duplicated.removed = true in isEnumConstant()
85 duplicated.docOnly = true in isEnumConstant()
88 return duplicated in isEnumConstant()
DPsiMethodItem.kt228 val duplicated = in <lambda>() constant
238 duplicated.inheritedFrom = containingClass in <lambda>()
242 duplicated.hidden = true in <lambda>()
245 duplicated.removed = true in <lambda>()
248 duplicated.docOnly = true in <lambda>()
251 duplicated.updateCopiedMethodState() in <lambda>()
253 return duplicated in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DClassItem.kt530 val duplicated = field.duplicate(this) in <lambda>() constant
531 if (predicate.test(duplicated)) { in <lambda>()
532 fields.remove(duplicated) in <lambda>()
533 fields.add(duplicated) in <lambda>()
552 val duplicated = field.duplicate(this) in <lambda>() constant
553 if (predicate.test(duplicated)) { in <lambda>()
554 fields.remove(duplicated) in <lambda>()
555 fields.add(duplicated) in <lambda>()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiFieldItemTest.kt81 val duplicated = fooField.duplicate(barClass) in Duplicated field has correct nullability() constant
82 assertEquals(TypeNullability.NONNULL, duplicated.type().modifiers.nullability()) in Duplicated field has correct nullability()
DPsiMethodItemTest.kt322 val duplicated = barClass.inheritMethodFromNonApiAncestor(toString) in Duplicated method has correct nullability() constant
323 assertEquals(TypeNullability.NONNULL, duplicated.returnType().modifiers.nullability()) in Duplicated method has correct nullability()
/tools/asuite/atest/bazel/resources/rules/
Dtradefed_test.bzl99 `dict.add` and duplicated to avoid the dependency. See