Home
last modified time | relevance | path

Searched refs:compatibility (Results 1 – 25 of 34) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt78 if (compatibility.skipInheritedConstants && field.inheritedField) { in <lambda>()
104 … if (compatibility.skipAnnotationInstanceMethods && method.containingClass().isAnnotationType() && in <lambda>()
110 if (compatibility.skipInheritedMethods && method.inheritedMethod) { in <lambda>()
124 if (compatibility.includeAnnotationDefaults) { in <lambda>()
143 if (compatibility.classForAnnotations) { in <lambda>()
155 …} else if (!compatibility.classForEnums && cls.isEnum()) { // compat mode calls enums "class" inst… in <lambda>()
180 includeAnnotations = compatibility.annotationsInSignatures, in <lambda>()
182 omitCommonPackages = compatibility.omitCommonPackages in <lambda>()
187 if (!compatibility.classForEnums && cls.isEnum() || cls.isAnnotationType()) { in <lambda>()
191 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
[all …]
DJDiffXmlWriter.kt119 if (cls.isEnum() && compatibility.defaultEnumMethods) { in <lambda>()
193 if (field.isEnumConstant() && compatibility.xmlSkipEnumFields) { in <lambda>()
200 if (initialValue is Char && compatibility.xmlCharAsInt) { in <lambda>()
218 } else if (compatibility.xmlShowArrayFieldsAsNull && (field.type().isArray())) { in <lambda>()
245 if (method.containingClass().isAnnotationType() && compatibility.xmlSkipAnnotationMethods) { in <lambda>()
280 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
291 cls.isAnnotationType() -> if (compatibility.xmlAnnotationAsObject) { in <lambda>()
304 erased = compatibility.omitTypeParametersInInterfaces, in <lambda>()
323 if (cls.isInterface() && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
333 … val type = item.toTypeString(erased = compatibility.omitTypeParametersInInterfaces, context = cls) in <lambda>()
[all …]
DDriver.kt114 compatibility = Compatibility(compat = Options.useCompatMode(modifiedArgs)) in run()
499 … if (convert.outputFormat == FileFormat.V2) true else compatibility.includeFieldsInApiDiff in processNonCodebaseFlags()
505 if (outputApi.isEmpty() && baseFile != null && compatibility.compat) { in processNonCodebaseFlags()
518 val prevCompatibility = compatibility in processNonCodebaseFlags()
522 compatibility = Compatibility(true) in processNonCodebaseFlags()
524 FileFormat.V1.configureOptions(options, compatibility) in processNonCodebaseFlags()
527 compatibility = Compatibility(false) in processNonCodebaseFlags()
529 FileFormat.V2.configureOptions(options, compatibility) in processNonCodebaseFlags()
541 compatibility = prevCompatibility in processNonCodebaseFlags()
1017 val prevCompatibility = compatibility in createStubFiles()
[all …]
DOptions.kt1183 …ARG_OMIT_COMMON_PACKAGES, "$ARG_OMIT_COMMON_PACKAGES=yes" -> compatibility.omitCommonPackages = tr… in <lambda>()
1184 "$ARG_OMIT_COMMON_PACKAGES=no" -> compatibility.omitCommonPackages = false in <lambda>()
1310 compatibility.includeFieldsInApiDiff = false in <lambda>()
1531 compatibility.omitCommonPackages = if (arg == ARG_OMIT_COMMON_PACKAGES) { in <lambda>()
1557 outputFormat.configureOptions(this, compatibility) in <lambda>()
1569 compatibilityArg.set(compatibility, value) in <lambda>()
1632 outputFormat.configureOptions(this, compatibility) in <lambda>()
DApiAnalyzer.kt815 …if (containingClass != null && containingClass.deprecated && compatibility.propagateDeprecatedInne… in <lambda>()
839 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
855 if (containingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
DFileFormat.kt35 fun configureOptions(options: Options, compatibility: Compatibility) { in configureOptions()
43 compatibility.omitCommonPackages = this >= V2 in configureOptions()
DReporter.kt362 if (compatibility.oldErrorOutputFormat) { in format()
387 if (compatibility.includeExitCode) { in format()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt26 import com.android.tools.metalava.compatibility in <lambda>()
74 … if (compatibility.includeSynchronized && isSynchronized() != other.isSynchronized()) return false in <lambda>()
306 if (compatibility.nonstandardModifierOrder) { in <lambda>()
316 … if (list.isStatic() && (compatibility.staticEnums || classItem == null || !classItem.isEnum())) { in <lambda>()
323 (classItem?.isEnum() != true || compatibility.finalInInterfaces) || in <lambda>()
324 compatibility.forceFinalInEnumValueMethods && in <lambda>()
354 if ((compatibility.abstractInInterfaces && isInterface || in <lambda>()
357 … (compatibility.abstractInAnnotations || classItem?.isAnnotationType() != true))) && in <lambda>()
358 (!isInterface || compatibility.abstractInInterfaces) in <lambda>()
367 …if (item.deprecated && includeDeprecated && !target.isStubsFile() && !compatibility.deprecatedAsAn… in <lambda>()
[all …]
DTypeItem.kt23 import com.android.tools.metalava.compatibility in <lambda>()
171 if (compatibility.omitCommonPackages) { in <lambda>()
225 if (compatibility.spaceAfterCommaInTypes && cleaned.indexOf(',') != -1) { in <lambda>()
DDefaultModifierList.kt19 import com.android.tools.metalava.compatibility
245 … val mask = if (compatibility.includeSynchronized) COMPAT_EQUIVALENCE_MASK else EQUIVALENCE_MASK in equivalentTo()
252 } else if (compatibility.hideDifferenceImplicit) { in equivalentTo()
DMethodItem.kt19 import com.android.tools.metalava.compatibility in <lambda>()
117 if (predicate.test(cls) || cls.isTypeParameter && !compatibility.useErasureInThrows) { in <lambda>()
283 (!compatibility.hideDifferenceImplicit || !method.deprecated)) { in <lambda>()
/tools/asuite/atest/unittest_data/
Dtest_record.proto.testonly86compatibility-common-util-tests/compatibility-common-util-tests.jar:/usr/local/google/home/yelinhs…
/tools/repohooks/tools/
Dspelling.txt273 compability||compatibility
274 compaibility||compatibility
275 compatability||compatibility
277 compatibiliy||compatibility
278 compatibilty||compatibility
279 compatiblity||compatibility
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt19 import com.android.tools.metalava.compatibility in <lambda>()
448 if (compatibility.defaultEnumMethods) { in <lambda>()
453 … } else if (classType == ClassType.ANNOTATION_TYPE && compatibility.explicitlyListClassRetention && in <lambda>()
471 !compatibility.defaultEnumMethods && in <lambda>()
DPsiMethodItem.kt19 import com.android.tools.metalava.compatibility in <lambda>()
259 if (targetContainingClass.deprecated && compatibility.propagateDeprecatedMembers) { in <lambda>()
433 if (compatibility.useErasureInThrows) { in <lambda>()
DPsiTypePrinter.kt20 import com.android.tools.metalava.compatibility in <lambda>()
166 !compatibility.includeExtendsObjectInWildcard && in <lambda>()
433 sb.append(if (!compatibility.spaceAfterCommaInTypes) "," else ", ") in <lambda>()
DPsiTypeItem.kt21 import com.android.tools.metalava.compatibility
698 if (compatibility.spaceAfterCommaInTypes) { in typeParameterList()
/tools/metalava/src/test/java/com/android/tools/metalava/
DCompatibilityCheckBaselineTest.kt127 fun `Test released-API check, with compatibility-released baseline`() { in Test released-API check, with compatibility-released baseline()
154 fun `Test released-API check, with compatibility-released baseline, and update baseline`() { in Test released-API check, with compatibility-released baseline, and update baseline()
183 fun `Test current-API check, but with compatibility-released baseline`() { in Test current-API check, but with compatibility-released baseline()
/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTypeItemTest.kt20 import com.android.tools.metalava.compatibility
27 compatibility.omitCommonPackages = true in test()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt19 import com.android.tools.metalava.compatibility
152 if (targetContainingClass.deprecated && compatibility.propagateDeprecatedMembers) { in duplicate()
DTextCodebase.kt27 import com.android.tools.metalava.compatibility
336 includeFieldsInApiDiff: Boolean = compatibility.includeFieldsInApiDiff in computeDelta()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt22 import com.android.tools.metalava.compatibility in <lambda>()
814 compatibility = Compatibility(false) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt19 import com.android.tools.metalava.compatibility in <lambda>()
224 } else if (compatibility.classForAnnotations && cls.isAnnotationType()) { in <lambda>()
/tools/tradefederation/core/atest/
DREADME.md6 [Atest](https://source.android.com/compatibility/tests/development/atest)
/tools/asuite/atest/
DREADME.md6 [Atest](https://source.android.com/compatibility/tests/development/atest)

12