Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt786 if (item.deprecated && !item.documentation.contains("@deprecated") && in <lambda>()
819 …if (containingClass != null && containingClass.deprecated && compatibility.propagateDeprecatedInne… in <lambda>()
820 cls.deprecated = true in <lambda>()
843 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
844 field.deprecated = true in <lambda>()
859 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
860 method.deprecated = true in <lambda>()
961 } else if (m.deprecated) { in <lambda>()
971 …if (!m.deprecated && !cl.deprecated && returnType != null && returnType.asClass()?.deprecated == t… in <lambda>()
1000 … 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.kt276 if (!old.deprecated == new.deprecated) { in compare()
470 if (old.deprecated != new.deprecated) { in compare()
625 if (old.deprecated != new.deprecated) { in compare()
694 … report(error, item, "Removed ${if (item.deprecated) "deprecated " else ""}${describe(item)}") in handleRemoved()
794 old.deprecated -> Errors.REMOVED_DEPRECATED_CLASS in removed()
814 … val error = if (old.deprecated) Errors.REMOVED_DEPRECATED_METHOD else Errors.REMOVED_METHOD in removed()
826 … val error = if (old.deprecated) Errors.REMOVED_DEPRECATED_FIELD else Errors.REMOVED_FIELD in removed()
DJDiffXmlWriter.kt148 return if (item.deprecated) { in <lambda>()
DApiLint.kt168 if (item.deprecated) { in <lambda>()
1940 if (!method.deprecated) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java47 public ApiClass(String name, int version, boolean deprecated) { in ApiClass() argument
48 super(name, version, deprecated); in ApiClass()
51 public void addField(String name, int version, boolean deprecated) { in addField() argument
52 addToMap(mFields, name, version, deprecated); in addField()
55 public void addMethod(String name, int version, boolean deprecated) { in addMethod() argument
60 addToMap(mMethods, name, version, deprecated); in addMethod()
108 …ate void addToMap(Map<String, ApiElement> elements, String name, int version, boolean deprecated) { in addToMap() argument
111 element = new ApiElement(name, version, deprecated); in addToMap()
114 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()
DApi.java55 public ApiClass addClass(String name, int version, boolean deprecated) { in addClass() argument
58 classElement = new ApiClass(name, version, deprecated); in addClass()
61 classElement.update(version, deprecated); in addClass()
DAndroidJarReader.java159 boolean deprecated = (fieldNode.access & Opcodes.ACC_DEPRECATED) != 0; in readJar()
160 theClass.addField(fieldNode.name, apiLevel, deprecated); in readJar()
171 boolean deprecated = (methodNode.access & Opcodes.ACC_DEPRECATED) != 0; in readJar()
172 theClass.addMethod(methodNode.name + methodNode.desc, apiLevel, deprecated); in readJar()
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.kt154 if (targetContainingClass.deprecated && compatibility.propagateDeprecatedMembers) { in duplicate()
155 duplicated.deprecated = true in duplicate()
159 duplicated.deprecated = deprecated in duplicate()
DTextItem.kt42 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.kt260 if (item.deprecated && target.isStubsFile()) { in write()
343 …if (item.deprecated && includeDeprecated && !target.isStubsFile() && !compatibility.deprecatedAsAn… in write()
359 …if (item.deprecated && includeDeprecated && !target.isStubsFile() && !compatibility.deprecatedAsAn… in write()
451 if (item.deprecated && in writeAnnotations()
DDefaultModifierList.kt205 fun setDeprecated(deprecated: Boolean) { in setDeprecated()
206 set(DEPRECATED, deprecated) in setDeprecated()
263 … 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.kt69 var deprecated: Boolean variable
/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.kt39 override var deprecated: Boolean = modifiers.isDeprecated() variable in com.android.tools.metalava.model.psi.PsiItem
/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.
DAPI-LINT.md17 are deprecated since these are presumably already known to be bad and are already
/tools/metalava/src/test/java/com/android/tools/metalava/
DStubsTest.kt3349 fun `Ensure we emit both deprecated javadoc and annotation with exclude-annotations`() { in <lambda>()
3387 fun `Ensure we emit runtime and deprecated annotations in stubs with exclude-annotations`() { in <lambda>()
DApiFileTest.kt3154 fun `Check skipping implicit final or deprecated override`() { in Check skipping implicit final or deprecated override()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbluetooth.proto113 optional string disconnect_reason = 4 [deprecated = true];

12