Home
last modified time | relevance | path

Searched refs:deprecated (Results 1 – 25 of 29) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt780 if (item.deprecated && !item.documentation.contains("@deprecated") && in <lambda>()
813 …if (containingClass != null && containingClass.deprecated && compatibility.propagateDeprecatedInne… in <lambda>()
814 cls.deprecated = true in <lambda>()
837 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
838 field.deprecated = true in <lambda>()
853 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
854 method.deprecated = true in <lambda>()
968 } else if (m.deprecated) { in <lambda>()
978 …if (!m.deprecated && !cl.deprecated && returnType != null && returnType.asClass()?.deprecated == t… in <lambda>()
1007 … if (!m.deprecated && !cl.deprecated && t.asClass()?.deprecated == true) { in <lambda>()
[all …]
DConvertJarsToSignatureFiles.kt126 if (old.deprecated && !new.deprecated && old !is PackageItem) { in <lambda>()
127 new.deprecated = true in <lambda>()
202 if (item != null && !item.deprecated) { in <lambda>()
203 item.deprecated = true in <lambda>()
215 if (item != null && !item.deprecated) { in <lambda>()
216 item.deprecated = true in <lambda>()
228 if (item != null && !item.deprecated) { in <lambda>()
229 item.deprecated = true in <lambda>()
DCompatibilityCheck.kt315 if (!old.deprecated == new.deprecated) { in compare()
523 if (old.deprecated != new.deprecated) { in compare()
681 if (old.deprecated != new.deprecated) { in compare()
738 … report(issue, item, "Removed ${if (item.deprecated) "deprecated " else ""}${describe(item)}") in handleRemoved()
845 old.deprecated -> Issues.REMOVED_DEPRECATED_CLASS in removed()
865 … val error = if (old.deprecated) Issues.REMOVED_DEPRECATED_METHOD else Issues.REMOVED_METHOD in removed()
877 … val error = if (old.deprecated) Issues.REMOVED_DEPRECATED_FIELD else Issues.REMOVED_FIELD in removed()
DJDiffXmlWriter.kt151 return if (item.deprecated) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java49 public ApiClass(String name, int version, boolean deprecated) { in ApiClass() argument
50 super(name, version, deprecated); in ApiClass()
53 public void addField(String name, int version, boolean deprecated) { in addField() argument
54 addToMap(mFields, name, version, deprecated); in addField()
57 public void addMethod(String name, int version, boolean deprecated) { in addMethod() argument
62 addToMap(mMethods, name, version, deprecated); in addMethod()
110 …ate void addToMap(Map<String, ApiElement> elements, String name, int version, boolean deprecated) { in addToMap() argument
113 element = new ApiElement(name, version, deprecated); in addToMap()
116 element.update(version, deprecated); in addToMap()
DApiElement.java40 ApiElement(String name, int version, boolean deprecated) { in ApiElement() argument
46 if (deprecated) { in ApiElement()
91 void update(int version, boolean deprecated) { in update() argument
99 if (deprecated) { in update()
DAndroidJarReader.java160 boolean deprecated = (fieldNode.access & Opcodes.ACC_DEPRECATED) != 0; in readJar()
161 theClass.addField(fieldNode.name, apiLevel, deprecated); in readJar()
172 boolean deprecated = (methodNode.access & Opcodes.ACC_DEPRECATED) != 0; in readJar()
173 theClass.addMethod(methodNode.name + methodNode.desc, apiLevel, deprecated); in readJar()
DApi.java56 public ApiClass addClass(String name, int version, boolean deprecated) { in addClass() argument
59 classElement = new ApiClass(name, version, deprecated); in addClass()
62 classElement.update(version, deprecated); in addClass()
DAddApisFromCodebase.kt39 val newClass = api.addClass(cls.internalName(), apiLevel, cls.deprecated) in addApisFromCodebase()
132 currentClass?.addMethod(name, apiLevel, method.deprecated) in addApisFromCodebase()
140 currentClass?.addField(field.internalName(), apiLevel, field.deprecated) in addApisFromCodebase()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt152 if (targetContainingClass.deprecated && compatibility.propagateDeprecatedMembers) { in duplicate()
153 duplicated.deprecated = true in duplicate()
157 duplicated.deprecated = deprecated in duplicate()
DTextItem.kt41 override var deprecated = false variable in com.android.tools.metalava.model.text.TextItem
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto333 // Generic services are now considered deprecated in favor of using plugins
341 // Is this file deprecated?
345 optional bool deprecated = 23 [default=false]; field
386 // Is this message deprecated?
390 optional bool deprecated = 3 [default=false]; field
474 // Is this field deprecated?
478 optional bool deprecated = 3 [default=false]; field
498 // Is this enum deprecated?
502 optional bool deprecated = 3 [default=false]; field
512 // Is this enum value deprecated?
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt289 if (item.deprecated && target.isStubsFile()) { in <lambda>()
370 …if (item.deprecated && includeDeprecated && !target.isStubsFile() && !compatibility.deprecatedAsAn… in <lambda>()
386 …if (item.deprecated && includeDeprecated && !target.isStubsFile() && !compatibility.deprecatedAsAn… in <lambda>()
488 if (item.deprecated && in <lambda>()
DDefaultModifierList.kt214 fun setDeprecated(deprecated: Boolean) { in setDeprecated()
215 set(DEPRECATED, deprecated) in setDeprecated()
267 … isDeprecated() && (owner as? MethodItem)?.containingClass()?.deprecated == true) { in equivalentTo()
DMethodItem.kt282 if (method.deprecated != superMethod.deprecated && in <lambda>()
283 (!compatibility.hideDifferenceImplicit || !method.deprecated)) { in <lambda>()
DItem.kt65 var deprecated: Boolean variable
/tools/repohooks/tools/
Dpylintrc86 deprecated-itertools-function,
87 deprecated-str-translate-call,
88 deprecated-string-function,
89 deprecated-types-field,
469 deprecated-modules=regsub,TERMIOS,Bastion,rexec,optparse
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dapollo_qa.proto4 old message/field/enum & start using new one. If deprecated message
10 become optional when deprecated (make sure to update QA automation first to expect the
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt273 if (targetContainingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
274 duplicated.deprecated = true in <lambda>()
DPsiItem.kt41 override var deprecated: Boolean = modifiers.isDeprecated() variable in com.android.tools.metalava.model.psi.PsiItem
/tools/security/fuzzing/orphans/libffi/
DAndroid.bp17 "-Wno-deprecated-declarations",
/tools/metalava/
DFORMAT.md387 ### Remove "deprecated" Modifier
389 The old signature file format used "deprecated" as if it was a modifier. In the
431 ?/! Kotlin syntax and the deprecated "modifier"), but annotations for permission
495 deprecated.
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt3536 fun `Ensure we emit both deprecated javadoc and annotation with exclude-all-annotations`() { in <lambda>()
3576 fun `Ensure we emit runtime and deprecated annotations in stubs with exclude-annotations`() { in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DCompatibilityCheckTest.kt2224 fun `Test remove deprecated API is an error`() { in Test remove deprecated API is an error()
2868 fun `Inherited deprecated protected @removed method`() { in Inherited deprecated protected @removed method()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/
Dbluetooth.proto113 optional string disconnect_reason = 4 [deprecated = true];

12