Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt782 if (item.deprecated && !item.documentation.contains("@deprecated") && in <lambda>()
815 …if (containingClass != null && containingClass.deprecated && compatibility.propagateDeprecatedInne… in <lambda>()
816 cls.deprecated = true in <lambda>()
839 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
840 field.deprecated = true in <lambda>()
855 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
856 method.deprecated = true in <lambda>()
957 } else if (m.deprecated) { in <lambda>()
967 …if (!m.deprecated && !cl.deprecated && returnType != null && returnType.asClass()?.deprecated == t… in <lambda>()
996 … 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.kt282 if (!old.deprecated == new.deprecated) { in compare()
483 if (old.deprecated != new.deprecated) { in compare()
641 if (old.deprecated != new.deprecated) { in compare()
710 … report(issue, item, "Removed ${if (item.deprecated) "deprecated " else ""}${describe(item)}") in handleRemoved()
817 old.deprecated -> Issues.REMOVED_DEPRECATED_CLASS in removed()
837 … val error = if (old.deprecated) Issues.REMOVED_DEPRECATED_METHOD else Issues.REMOVED_METHOD in removed()
849 … val error = if (old.deprecated) Issues.REMOVED_DEPRECATED_FIELD else Issues.REMOVED_FIELD in removed()
DApiLint.kt184 if (item.deprecated) { in <lambda>()
2158 if (!method.deprecated) { in <lambda>()
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/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/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/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt286 if (item.deprecated && target.isStubsFile()) { in <lambda>()
367 …if (item.deprecated && includeDeprecated && !target.isStubsFile() && !compatibility.deprecatedAsAn… in <lambda>()
383 …if (item.deprecated && includeDeprecated && !target.isStubsFile() && !compatibility.deprecatedAsAn… in <lambda>()
481 if (item.deprecated && in <lambda>()
DDefaultModifierList.kt206 fun setDeprecated(deprecated: Boolean) { in setDeprecated()
207 set(DEPRECATED, deprecated) in setDeprecated()
259 … 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/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/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.kt259 if (targetContainingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
260 duplicated.deprecated = true in <lambda>()
DPsiItem.kt41 override var deprecated: Boolean = modifiers.isDeprecated() variable in com.android.tools.metalava.model.psi.PsiItem
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt3450 fun `Ensure we emit both deprecated javadoc and annotation with exclude-annotations`() { in <lambda>()
3488 fun `Ensure we emit runtime and deprecated annotations in stubs with exclude-annotations`() { in <lambda>()
/tools/security/fuzzing/orphans/libffi/
DAndroid.bp13 "-Wno-deprecated-declarations",
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbluetooth.proto113 optional string disconnect_reason = 4 [deprecated = true];

12