aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-02Restrict autovalue apex availability to extservices only. am: 2a66d35dd3 am: ↵android-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-3android-s-v2-beta-2android-s-qpr3-beta-1android-t-preview-1android-s-v2-preview-1android-s-v2-beta-3android-s-qpr3-beta-1Chang Li
6eabe1e8be Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1723293 Change-Id: I4b107c58ed1e365ac2bb4ec134b3a60b382a9bcf
2021-06-02Restrict autovalue apex availability to extservices only. am: 2a66d35dd3android-s-beta-5android-s-beta-4android-s-beta-3android-s-beta-5android-s-beta-4Chang Li
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1723293 Change-Id: I756634c16cc2e6268ee183397d605f9f953e39b4
2021-06-02Restrict autovalue apex availability to extservices only.Chang Li
Bug: 180441353 Change-Id: I70ab3f5c5e32de1057f4a46f069127bc933e97da
2021-05-27Allow auto value to be used for mainline modules. am: 1384857f5b am: a6eef0c416Chang Li
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1719621 Change-Id: Ife9a83ea80d87083639c15fe04e16e33103d15e5
2021-05-27Allow auto value to be used for mainline modules. am: 1384857f5bChang Li
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1719621 Change-Id: If44d1e77a81825ab921c91a980ce394b1a923b4e
2021-05-26Allow auto value to be used for mainline modules.Chang Li
Bug: 180441353 Change-Id: I0ceb9e9f84453bf0d7676a199d8fcf9584697938
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 6415a1778f -s ↵android-mainline-12.0.0_r4android-mainline-12.0.0_r36android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-releaseandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devandroid12--mainline-releaseXin Li
ours am: 4bb28a6d24 -s ours am skip reason: Change-Id I76412ba138e6788c9a077d0bcc1aee915a38dc59 with SHA-1 ea98f5782e is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I314c683e8d2df07447fd6ccce5e23a4398e4310c
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 6415a1778f -s oursXin Li
am skip reason: Change-Id I76412ba138e6788c9a077d0bcc1aee915a38dc59 with SHA-1 ea98f5782e is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia9da96392d0ee99b5d23654cd78fafc6bb67bf1a
2021-02-20Mark ab/7061308 as merged in stage.android-s-beta-2android-s-beta-1Xin Li
Bug: 180401296 Merged-In: I76412ba138e6788c9a077d0bcc1aee915a38dc59 Change-Id: I1cf66d547baed46179d3f46718377bf7520230c5
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/auto am: cd109d220e am: 519d7cf9e1 ↵Bob Badour
am: 3e819175b8 Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1588674 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id6f806ebdc60897f5a6b5642201887263c7fea1a
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/auto am: cd109d220e am: 519d7cf9e1Bob Badour
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1588674 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia86c7a7437ec7602677983b4493cc0cc22f1d394
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/auto am: cd109d220eBob Badour
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1588674 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I290a17489d24d6d65d849cb11c902cd6da24dd69
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/autoandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-Apache-2.0 to: Android.bp android-annotation-stubs/Android.bp common/Android.bp factory/Android.bp service/Android.bp value/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I213d1de311f7729ccee0ad86219ef1bfb4d944a9
2020-11-24Mark ab/6881855 as merged am: 91d5a9343a am: ea98f5782eXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/auto/+/13110973 Change-Id: I5962d6c70781597aff20b917aff6c14f8c2d5636
2020-11-24Mark ab/6881855 as merged am: 91d5a9343aXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/auto/+/13110973 Change-Id: I76412ba138e6788c9a077d0bcc1aee915a38dc59
2020-11-23Merge tags 'auto-value-1.7.4' and 'auto-common-0.11' am: 2828aa14b0 am: ↵Colin Cross
93638a83f4 am: 78b6306136 Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1504431 Change-Id: Id45d049ae77ee2ec988c0a003a403018cc303b84
2020-11-23Merge tags 'auto-value-1.7.4' and 'auto-common-0.11' am: 2828aa14b0 am: ↵Colin Cross
93638a83f4 Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1504431 Change-Id: Icaa429e15c75f5a7ce91296cd12d7cd455ca69de
2020-11-23Mark ab/6881855 as mergedXin Li
Bug: 172690556 Change-Id: Iff092f12d10d1048fa3696ef21554fb9facd6d90
2020-11-23Merge tags 'auto-value-1.7.4' and 'auto-common-0.11' am: 2828aa14b0Colin Cross
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1504431 Change-Id: I9db6b019cad5a1efbac39f641e7c4773c3b3dafd
2020-11-23Merge tags 'auto-value-1.7.4' and 'auto-common-0.11'Colin Cross
Bug: 173800389 Test: m checkbuild Change-Id: I5ae96c22de7eb6e17f127bd49a0782f2aea86e21
2020-08-11Set version number for auto-common to 0.11.upstream/auto-common-0.11upstream-auto-common-0.11Ron Shapiro
2020-08-07Update dependency versions.dpb
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=325291991
2020-07-29Add javadoc to the methods in SuperficialValidation. Also add a private ↵emcmanus
constructor, and rewrite some code to use streams. RELNOTES=Add javadoc for SuperficialValidation methods. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=323682147
2020-07-28Fully Qualify @Override to avoid name conflictskpayson
RELNOTES=Fully Qualify @Override to avoid name conflicts ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=323461838
2020-07-28Open SuperficialValidation#validateType(TypeMirror) to public visibilitybcorso
so it can be used from other internal code. RELNOTES=Open SuperficialValidation#validateType(TypeMirror) to public visibility ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=323425711
2020-07-27Add `[tags]` to AutoValue error messages. This will enable them to be ↵emcmanus
correlated so that we can potentially see which ones are commonest. RELNOTES=AutoValue error messages now have short `[tags]` so they can be correlated by tools. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=323252839
2020-07-15AutoValue annotation can be provided scope.rayt
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=321258257
2020-07-08Set version number for auto-value-parent to 1.7.4.upstream/auto-value-1.7.4upstream-auto-value-1.7.4Éamonn McManus
2020-07-08Stop the LazyInit annotation from getting shaded by Maven, so that AutoValue ↵spishak
can find it on the classpath. The @LazyInit annotation is added if it's found on the classpath (https://github.com/google/auto/blob/da84ef1fae38f2d72901c2b95674271e89600f28/value/src/main/java/com/google/auto/value/extension/memoized/processor/MemoizeExtension.java#L577) but shading rewrites the package at https://github.com/google/auto/blob/da84ef1fae38f2d72901c2b95674271e89600f28/value/src/main/java/com/google/auto/value/extension/memoized/processor/MemoizeExtension.java#L104 from "com.google.errorprone.annotations.concurrent" to "autovalue.shaded.com.google$.errorprone.annotations.$concurrent" (you can verify this by disassembling the bytecode for MemoizeExtension.class in the release JAR). This means that even with the Error Prone annotations on the classpath, it won't be able to find the LazyInit annotation. Splitting up the package with a call to String#concat means Maven will no longer rewrite it, so AutoValue will be able to find the LazyInit annotation on the classpath if it's there. Fixes https://github.com/google/auto/issues/427 RELNOTES=Stop the LazyInit annotation from getting shaded by Maven, so that AutoValue can find it on the classpath. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=320196133
2020-07-08Fix handling of `@Nullable Optional<T> foo()` properties being set by ↵emcmanus
`setFoo(@Nullable T)` setters. Previously calling `setFoo(null)` resulted in the property being set to `null`, even though for `Optional<T> foo()` (without `@Nullable`) it would set the property to `Optional.empty()`. With this change, it is set to `Optional.empty()` whether or not it is `@Nullable`. RELNOTES=Fixed handling of `@Nullable Optional<T> foo()` properties being set by `setFoo(@Nullable T)` setters. Now `setFoo(null)` results in `Optional.empty()`, not `null`. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=320181666
2020-06-22Tests related to e62e0abd2fbdfd2512c292ef95d4d152a5ca0691emcmanus
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=317148258
2020-06-19Add Android files to build AutoValue am: 8d0c8f812f am: 0ba096d926 am: ↵Colin Cross
a5ab264b9d am: d889e5d6f3 am: e2369aacd7 Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935 Change-Id: Id15eeb9af5cf8aec92b8a2c5bd075521fac58b67
2020-06-19Merge tag auto-value-1.7.3^ into master am: b6571d386f am: 17516cb506 am: ↵Colin Cross
5b568db45f am: 807bfcbce5 am: 4d5925f9c0 Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934 Change-Id: I106fa50cbc1fdd7c29e4a57b4403d74882007877
2020-06-19Add Android files to build AutoValue am: 8d0c8f812f am: 0ba096d926 am: ↵Colin Cross
a5ab264b9d am: d889e5d6f3 Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935 Change-Id: I9b9bd0ec8aef6071fdc4accd571e5776fc33598e
2020-06-19Merge tag auto-value-1.7.3^ into master am: b6571d386f am: 17516cb506 am: ↵Colin Cross
5b568db45f am: 807bfcbce5 Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934 Change-Id: Ie33c9d10848b5fd8ec186146728c71c32fe1fbb3
2020-06-19Add Android files to build AutoValue am: 8d0c8f812f am: 0ba096d926 am: ↵Colin Cross
a5ab264b9d Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935 Change-Id: Ic3c7498b0e9c4f0a657e348d5e17ba982fbcc829
2020-06-19Merge tag auto-value-1.7.3^ into master am: b6571d386f am: 17516cb506 am: ↵Colin Cross
5b568db45f Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934 Change-Id: I3b48264a05b8d7ec2a6d4799d4e759d183662fb5
2020-06-19Add Android files to build AutoValue am: 8d0c8f812f am: 0ba096d926r_aml_301500702android-mainline-12.0.0_r55android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r45android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseColin Cross
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935 Change-Id: I21d8a0543fb8b16ae95deb229d6ffdfecdb3e59e
2020-06-19Merge tag auto-value-1.7.3^ into master am: b6571d386f am: 17516cb506Colin Cross
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934 Change-Id: I8e3eac079e9595bc7dc18b8f9c9d15611085e5aa
2020-06-19Add Android files to build AutoValue am: 8d0c8f812fColin Cross
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935 Change-Id: I20f2a6386f31b5976d3d50c07a2da33354efef7e
2020-06-19Merge tag auto-value-1.7.3^ into master am: b6571d386fColin Cross
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934 Change-Id: Ie00eca9d6c0c2f27708eef678c0e3b9f0bf90321
2020-06-18Add Android files to build AutoValueplatform-tools-30.0.4android-r-beta-3android-r-beta-2Colin Cross
Add Android.bp files, stubs for unused annotations, METADATA file and MODULE_LICENSE_APACHE2 file. Bug: 158870037 Test: m checkbuild Change-Id: Ibd9836e10c77c216af8d207c5347645e13cc2e3d
2020-06-18[ #HiltMigration ] Updating BasicAnnotationProcessor to support a ↵armandgray
String-based API. Context: Per discussion in [] this change adds a String-based `Step` class as a replacement for `ProcessingStep`. The new `Step` contains the same two methods (annotations() & process()) which return and accept fully-qualified annotation names. To support the potential absence of the annotation classes from the processor classpath the corresponding methods were changed to no longer depend on explicit Class types. RELNOTES=Adding String-based `Step` as a replacement for `ProcessingStep` to BasicAnnotationProcessor. Allows for fully-qualified Annotation names to be specified in a processing Step in order to remove the requirement that implementation processors depend directly on their Annotation classes. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=316968142
2020-06-17Merge tag auto-value-1.7.3^ into masterColin Cross
Merge the parent commit of auto-value-1.7.3 into master. The commit of the auto-value-1.7.3 tag is not on a branch so not replicated, but it just sets the version number. Bug: 158870037 Test: m checkbuild Change-Id: I1d88f1443d71b630efda822b04355c3b3fb20d59
2020-06-17Initial empty repositoryInna Palant
2020-06-12Fix a problem with references to Factory classes in other packages.emcmanus
Detect references to not-yet-generated Factory classes, and associate them with the correct package name if the Factory is one of the ones currently being generated. Fixes https://github.com/google/auto/issues/297. RELNOTES=Fix a problem with references to Factory classes in other packages. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=316148042
2020-06-12Make the nested @AutoValue class static otherwise you get the following error:nnegrey
`Nested @AutoValue class must be static` ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=316117150
2020-06-09Change links from google.github.io/guava to guava.dev, including making sure ↵cpovirk
they're https. The links work even now because they automatically redirect. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315389274
2020-06-09Change error reporting methods to use format strings.emcmanus
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315322251
2020-06-09Copy annotations from `@AutoValue.Builder` to the generated `Builder` subclass.emcmanus
This happens only if `@AutoValue.CopyAnnotations` is present on the `@AutoValue.Builder` class, using the same logic as for copying annotations from the main `@AutoValue` class. RELNOTES=Optionally copy annotations from the `@AutoValue.Builder` class to the generated subclass. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315291023