Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt784 if (item.deprecated && !item.documentation.contains("@deprecated") && in <lambda>()
802 item.deprecated = true in <lambda>()
838 if (containingClass != null && containingClass.deprecated) { in <lambda>()
839 cls.deprecated = true in <lambda>()
862 if (containingClass.deprecated) { in <lambda>()
863 field.deprecated = true in <lambda>()
878 if (containingClass.deprecated) { in <lambda>()
879 method.deprecated = true in <lambda>()
993 } else if (m.deprecated) { in <lambda>()
1004 …if (!m.deprecated && !cl.deprecated && returnType != null && returnType.asClass()?.deprecated == t… 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.kt316 if (!old.deprecated == new.deprecated) { in compare()
535 if (old.deprecated != new.deprecated) { in compare()
691 if (old.deprecated != new.deprecated) { in compare()
748 … report(issue, item, "Removed ${if (item.deprecated) "deprecated " else ""}${describe(item)}") in handleRemoved()
874 old.deprecated -> Issues.REMOVED_DEPRECATED_CLASS in removed()
894 … val error = if (old.deprecated) Issues.REMOVED_DEPRECATED_METHOD else Issues.REMOVED_METHOD in removed()
906 … val error = if (old.deprecated) Issues.REMOVED_DEPRECATED_FIELD else Issues.REMOVED_FIELD in removed()
DJDiffXmlWriter.kt121 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.java161 boolean deprecated = (fieldNode.access & Opcodes.ACC_DEPRECATED) != 0; in readJar()
162 theClass.addField(fieldNode.name, apiLevel, deprecated); in readJar()
173 boolean deprecated = (methodNode.access & Opcodes.ACC_DEPRECATED) != 0; in readJar()
174 theClass.addMethod(methodNode.name + methodNode.desc, apiLevel, deprecated); in readJar()
DApi.java60 public ApiClass addClass(String name, int version, boolean deprecated) { in addClass() argument
63 classElement = new ApiClass(name, version, deprecated); in addClass()
66 classElement.update(version, deprecated); in addClass()
DAddApisFromCodebase.kt39 val newClass = api.addClass(cls.internalName(), apiLevel, cls.deprecated) in addApisFromCodebase()
133 currentClass?.addMethod(name, apiLevel, method.deprecated) in addApisFromCodebase()
141 currentClass?.addField(field.internalName(), apiLevel, field.deprecated) in addApisFromCodebase()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt155 if (targetContainingClass.deprecated) { in duplicate()
156 duplicated.deprecated = true in duplicate()
160 duplicated.deprecated = deprecated in duplicate()
DApiFile.kt301 cl.deprecated = modifiers.isDeprecated() in parseClass()
462 method.deprecated = modifiers.isDeprecated() in parseConstructor()
531 method.deprecated = modifiers.isDeprecated() in parseMethod()
602 field.deprecated = modifiers.isDeprecated() in parseField()
783 property.deprecated = modifiers.isDeprecated() in parseProperty()
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/
DDefaultModifierList.kt229 fun setDeprecated(deprecated: Boolean) { in setDeprecated()
230 set(DEPRECATED, deprecated) in setDeprecated()
283 isDeprecated() && (owner as? MethodItem)?.containingClass()?.deprecated == true in equivalentTo()
DMethodItem.kt290 if (method.deprecated != superMethod.deprecated && !method.deprecated) { in <lambda>()
DItem.kt66 var deprecated: Boolean variable
DModifierList.kt433 if (item.deprecated && (runtimeAnnotationsOnly || includeDeprecated)) { in <lambda>()
/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.kt270 if (targetContainingClass.deprecated) { in <lambda>()
271 duplicated.deprecated = true in <lambda>()
DPsiItem.kt42 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
494 deprecated.
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt3542 fun `Ensure we emit both deprecated javadoc and annotation with exclude-all-annotations`() { in <lambda>()
3581 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.kt2049 fun `Test remove deprecated API is an error`() { in Test remove deprecated API is an error()
2652 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