Home
last modified time | relevance | path

Searched refs:compat (Results 1 – 25 of 51) sorted by relevance

123

/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibility.kt31 val compat: Boolean = COMPAT_MODE_BY_DEFAULT constant in com.android.tools.metalava.Compatibility
36 var extendsForInterfaceSuperClass: Boolean = compat
40 var classForAnnotations: Boolean = compat
43 var defaultEnumMethods: Boolean = compat
47 var includeAnnotationDefaults: Boolean = !compat
50 var classForEnums: Boolean = compat
55 var nonstandardModifierOrder: Boolean = compat
58 var skipAnnotationInstanceMethods: Boolean = compat
63 var abstractInInterfaces: Boolean = compat
68 var abstractInAnnotations: Boolean = compat
[all …]
DDriver.kt114 compatibility = Compatibility(compat = Options.useCompatMode(modifiedArgs)) in run()
505 if (outputApi.isEmpty() && baseFile != null && compatibility.compat) { in processNonCodebaseFlags()
1018 if (compatibility.compat) { in createStubFiles()
/tools/platform-compat/java/android/processor/compat/changeid/
DAndroid.bp18 name: "compat-changeid-annotation-processor-lib",
28 "//tools/platform-compat/java/android/processor/compat:compat-processor",
41 …visibility: ["//tools/platform-compat/javatest/android/processor/compat/changeid:__subpackages__"],
45 name: "compat-changeid-annotation-processor",
46 processor_class: "android.processor.compat.changeid.ChangeIdProcessor",
53 "compat-changeid-annotation-processor-lib",
61 "//tools/platform-compat/java/android/compat/annotation:__subpackages__",
DChangeIdProcessor.java17 package android.processor.compat.changeid;
24 import android.processor.compat.SingleAnnotationProcessor;
25 import android.processor.compat.SourcePosition;
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DAndroid.bp24 "//tools/platform-compat/java/android/processor/compat:compat-processor",
36 …visibility: ["//tools/platform-compat/javatest/android/processor/compat/unsupportedappusage:__subp…
41 processor_class: "android.processor.compat.unsupportedappusage.UnsupportedAppUsageProcessor",
54 "//tools/platform-compat/java/android/compat/annotation:__subpackages__",
DUnsupportedAppUsageProcessor.java16 package android.processor.compat.unsupportedappusage;
21 import android.processor.compat.SingleAnnotationProcessor;
22 import android.processor.compat.SourcePosition;
/tools/platform-compat/
DREADME.md1 # Platform compat tools
3 Tools for Android App Compat (go/android-compat).
9 $ tree -F --dirsfirst -d --prune tools/platform-compat/
16 │   ├── compat
17 │   │   └── annotation # Annotations used for go/compat-framework and go/unsupportedappusage
19 │   └── compat # Java annotation processors for annotations defined in src/
DOWNERS2 platform-compat-eng+reviews@google.com
/tools/platform-compat/build/
DAndroid.bp18 name: "process-compat-config",
32 name: "process-compat-config-test",
33 main: "process-compat-config-test.py",
36 "process-compat-config-test.py",
50 name: "global-compat-config",
DTEST_MAPPING4 "name": "process-compat-config-test",
/tools/metalava/src/test/java/com/android/tools/metalava/
DConvertTest.kt93 fun `Test convert new with compat mode and api strip`() { in Test convert new with compat mode and api strip()
230 fun `Test convert new without compat mode and no strip`() { in Test convert new without compat mode and no strip()
435 fun `Test doclava compat`() { in Test doclava compat()
518 fun `Test convert new to v2 without compat mode and no strip`() { in Test convert new to v2 without compat mode and no strip()
587 fun `Test convert new to v1 signatures with compat mode and no strip`() { in Test convert new to v1 signatures with compat mode and no strip()
DApiFileTest.kt1453 fun `Enum class, non-compat mode`() { in Enum class, non-compat mode()
1523 fun `Do not include inherited public methods from private parents in compat mode`() { in Do not include inherited public methods from private parents in compat mode()
1648 fun `Annotation class extraction, non-compat mode`() { in Annotation class extraction, non-compat mode()
1976 fun `Check all modifiers, non-compat mode`() { in Check all modifiers, non-compat mode()
2622 fun `Implementing package private class, non-compat mode`() { in Implementing package private class, non-compat mode()
DJDiffXmlTest.kt482 fun `Test enums compat mode`() { in Test enums compat mode()
849 fun `Interface extends, compat mode`() { in Interface extends, compat mode()
882 fun `Interface extends, non-compat mode`() { in Interface extends, non-compat mode()
/tools/platform-compat/java/android/processor/compat/
DAndroid.bp18 name: "compat-processor",
35 visibility: ["//tools/platform-compat/java/android/processor/compat:__subpackages__"],
DTEST_MAPPING8 "name": "compat-changeid-annotation-processor-test",
/tools/platform-compat/java/android/compat/annotation/
DAndroid.bp18 name: "app-compat-annotations",
27 exported_plugins: ["compat-changeid-annotation-processor"],
32 name: "app-compat-annotations-source",
DDisabled.java17 package android.compat.annotation;
DLoggingOnly.java17 package android.compat.annotation;
DEnabledAfter.java17 package android.compat.annotation;
DChangeId.java17 package android.compat.annotation;
DUnsupportedAppUsage.java16 package android.compat.annotation;
/tools/repohooks/tools/
Dcheckpatch.pl2920 foreach my $compat (@compats) {
2921 my $compat2 = $compat;
2923 my $compat3 = $compat;
2925 `grep -Erq "$compat|$compat2|$compat3" $dt_path`;
2928 "DT compatible string \"$compat\" appears un-documented -- check $dt_path\n" . $herecurr);
2931 next if $compat !~ /^([a-zA-Z0-9\-]+)\,/;
/tools/platform-compat/javatest/android/processor/compat/changeid/
DAndroid.bp18 name: "compat-changeid-annotation-processor-test",
26 "compat-changeid-annotation-processor-lib",
DTEST_MAPPING4 "path": "java/android/processor/compat"
/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DTEST_MAPPING4 "path": "java/android/processor/compat"

123