Commit graph

10912 commits

Author SHA1 Message Date
Jaewan Kim
19e9af0a99 Merge "Stop mentioning about ALLOW_ADBD_NO_AUTH" 2023-03-08 17:34:24 +00:00
Elliott Hughes
a3954457b0 Stop mentioning about ALLOW_ADBD_NO_AUTH
ALLOW_ADBD_NO_AUTH is removed, so better not mention it.

Test: Build
Change-Id: Id9d730475165a38cf340e10febffe2e5a9da6725
2023-03-08 16:00:37 +00:00
Bill Yi
75487a6670 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 643d8b4bf9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/21604884

Change-Id: I2e34c9471b34a0d291eb02a403fcfbe2f26cfeb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28 05:10:59 +00:00
Bill Yi
643d8b4bf9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie22d022ae68259aa2740b6ce8b74796cf5a006b3
2023-02-26 20:26:23 -08:00
Treehugger Robot
1d35655b87 Merge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" am: 33f7eaccd3 am: 4139617b9e
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2434913

Change-Id: I2aef5f1d6e87d8544da2c6064b9838dc8e092113
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 09:07:30 +00:00
Treehugger Robot
4139617b9e Merge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" am: 33f7eaccd3
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2434913

Change-Id: I0a4daa69ce8f464ea88a6ce1dd47725c537ce7a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 08:18:32 +00:00
Treehugger Robot
33f7eaccd3 Merge "Revert "Fix doing silent update,power cut/restoration,screen is turned on"" 2023-02-15 07:30:34 +00:00
Gregory Montoir
4a4ada9e9c Revert "Fix doing silent update,power cut/restoration,screen is turned on"
This reverts commit d43ec47f3b.

Bug: 245680635
Reason for revert: SoC specific solution, not standardized and documented for use by other OEMs.

Change-Id: Ide437e0db9d072c1199a715bac8014bc3f041ceb
2023-02-15 01:36:06 +00:00
Treehugger Robot
c7eb36f1b7 Merge "Reduce logs in update_verifier" am: f891951d07 am: 365c8c0b54
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2423949

Change-Id: Ifc7d73d357850874ce2aa296e3716a11c9f08f0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-07 00:26:17 +00:00
Treehugger Robot
365c8c0b54 Merge "Reduce logs in update_verifier" am: f891951d07
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2423949

Change-Id: Ie228a0747c380efc4e35d7929956970ecbdcc3ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-06 23:05:15 +00:00
Treehugger Robot
f891951d07 Merge "Reduce logs in update_verifier" 2023-02-06 21:33:31 +00:00
Kelvin Zhang
27c731c706 Reduce logs in update_verifier
update_verifier logs to kernel log, reduce unnecessary log lines to
avoid throttling.

Test: th
Bug: 265715753
Change-Id: I57b5dcfbf04eebc62fdf96abf0c91d7df5e0f0ea
2023-02-06 12:20:53 -08:00
Treehugger Robot
ed5fc4f4b5 Merge "Update health AIDL HAL to V2" am: e3ebedd279 am: df7a91962e
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2317272

Change-Id: Ic1158271b55f78a13fa8a219dae353b8a6940f56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 01:59:04 +00:00
Treehugger Robot
df7a91962e Merge "Update health AIDL HAL to V2" am: e3ebedd279
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2317272

Change-Id: Ie231495e3296e2ca67706622de041b577112791b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 01:20:03 +00:00
Treehugger Robot
e3ebedd279 Merge "Update health AIDL HAL to V2" 2023-01-24 00:52:34 +00:00
Xin Li
58fe773798 [automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9467136 am: f4d5465366 -s ours
am skip reason: Merged-In I9ca1643c37cf1ccdfecff4bfd0f405718be75669 with SHA-1 1788ccc385 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20953027

Change-Id: I737841c613b7c29b9894afbe2116dbd80fc7c780
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 08:07:58 +00:00
Xin Li
f4d5465366 Merge tm-qpr-dev-plus-aosp-without-vendor@9467136
Bug: 264720040
Merged-In: I9ca1643c37cf1ccdfecff4bfd0f405718be75669
Change-Id: Id93e1d5501f36d130c985433ad73c4b9d1c91a88
2023-01-11 22:46:05 -08:00
Kalesh Singh
872885b5b1 [automerger skipped] Merge "update_verifier: Verify blocks" into tm-qpr-dev am: 9fd1bd240e -s ours
am skip reason: Merged-In I18946fb730376f19cce0738bd6765d5f5d0248b6 with SHA-1 dc1f6dadef is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20913763

Change-Id: Ib2afb99a53f00f95aa0e3efc6968df770aad081e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:52:50 +00:00
Akilesh Kailash
45a1d9d528 [automerger skipped] update_verifier: Verify blocks am: 2fa4a46b46 -s ours
am skip reason: Merged-In I18946fb730376f19cce0738bd6765d5f5d0248b6 with SHA-1 dc1f6dadef is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20913763

Change-Id: Ifd9327fca11b7a2f310558af34dabaea3d58994a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:52:48 +00:00
Kalesh Singh
9fd1bd240e Merge "update_verifier: Verify blocks" into tm-qpr-dev 2023-01-10 17:08:09 +00:00
Akilesh Kailash
2fa4a46b46 update_verifier: Verify blocks
Check if the block verification was already done
by snapuserd daemon - If so, skip the verification
process. If daemon failed to verify the block,
update_verifier will fallback and continue
the verification.

Bug: 193863442
Bug: 261913544
Test: OTA
Signed-off-by: Akilesh Kailash <akailash@google.com>
Merged-In: I18946fb730376f19cce0738bd6765d5f5d0248b6
Change-Id: I18946fb730376f19cce0738bd6765d5f5d0248b6
2023-01-09 11:25:32 -08:00
Bill Yi
eb2fde62f7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1788ccc385 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20847019

Change-Id: Ic58d7cffef7b3ed8bf8e07c8da5c0b74e3ade794
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-03 22:48:46 +00:00
Bill Yi
1788ccc385 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ca1643c37cf1ccdfecff4bfd0f405718be75669
2022-12-29 20:40:13 -08:00
Jack Wu
6b39dee45d Update health AIDL HAL to V2
Bug: 251425963
Test: Build
Change-Id: I471f8fb9c7eb1044ea0b920d55728613188bfbdf
Signed-off-by: Jack Wu <wjack@google.com>
2022-12-24 13:13:18 +00:00
Bill Yi
a28ff36205 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b904bdb445 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20781597

Change-Id: I96cd220c1661d3754f35e15d9172ad6b4b737880
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 06:14:04 +00:00
Bill Yi
b904bdb445 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I966dc384c93bb8ff1fc53620f8f69fce32f81000
2022-12-19 01:04:29 -08:00
Bill Yi
15f6446114 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master am: 0be94ca37d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20628389

Change-Id: I3362e0253e48acbc36303471e2020d77ee76bdba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-05 19:05:25 +00:00
Bill Yi
6e253ed28f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 331c830f27 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20628389

Change-Id: I6ee6574d12bcb180d66eed9a5c51c15d9166f4a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-05 19:05:17 +00:00
Bill Yi
0be94ca37d Merge "Import translations. DO NOT MERGE ANYWHERE" into stage-aosp-master 2022-12-05 18:22:29 +00:00
Treehugger Robot
3229e21a86 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: a70f6d22e6 -s ours am: fcbe39e97d -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2326613

Change-Id: If93570d884884436f3cc35b611dc5a0d38c6831d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-04 19:37:20 +00:00
Bill Yi
7e35c0bb72 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c8817e7acc -s ours am: e541f5b339 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2326613

Change-Id: I262b0e742f3695bfdf94c60ba1663c74ea049a99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-04 19:37:04 +00:00
Treehugger Robot
fcbe39e97d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: a70f6d22e6 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2326613

Change-Id: I4280b17cc2f9e24610f11d08b8996d110c7023e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-04 18:45:23 +00:00
Bill Yi
e541f5b339 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c8817e7acc -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2326613

Change-Id: I6b562a18ed10d9ce5b4cf95cf0ff61bbda9a3e1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-04 18:45:06 +00:00
Treehugger Robot
a70f6d22e6 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-04 17:54:15 +00:00
Bill Yi
331c830f27 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6336403b03cb47bf394d4fdebe31115d1e0511f2
2022-12-03 11:45:41 -08:00
Bill Yi
c8817e7acc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I067c002f71262a9be7bccff04f9f297192f81096
2022-12-03 11:28:30 -08:00
Bill Yi
1100299052 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 80267eba5d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20493487

Change-Id: I9cdbb0d355ca479addf3cc5e583cbab033e84ef9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 20:54:54 +00:00
Bill Yi
80267eba5d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I242fd8d1a2309f4b64c88df8d4eac840ccb0eca2
2022-11-16 04:29:52 -08:00
Treehugger Robot
f131a19753 Merge "Fix errorprone warnings that should be errors" am: 05480411c5 am: bfaf8b288b
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2256446

Change-Id: I5a6a570a1b24a4de9c3cfdb580caeaab35a9bb53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 00:13:53 +00:00
Treehugger Robot
bfaf8b288b Merge "Fix errorprone warnings that should be errors" am: 05480411c5
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2256446

Change-Id: I1c7a2a51a7fc97d19a899c2220c407b0cd875ad3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 23:45:22 +00:00
Treehugger Robot
05480411c5 Merge "Fix errorprone warnings that should be errors" 2022-10-20 23:11:41 +00:00
Bill Yi
d147802272 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d1e5cf0eae -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20203886

Change-Id: I9e747a47a21675ad5c45cf7e4fb79eed4ec170f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-18 01:10:37 +00:00
Cole Faust
e587589cda Fix errorprone warnings that should be errors
This commit is part of a large scale change to fix errorprone
errors that have been downgraded to warnings in the android
source tree, so that they can be promoted to errors again.
The full list of changes include the following, but not all
will be present in any one individual commit:

BadAnnotationImplementation
BadShiftAmount
BanJNDI
BoxedPrimitiveEquality
ComparableType
ComplexBooleanConstant
CollectionToArraySafeParameter
ConditionalExpressionNumericPromotion
DangerousLiteralNull
DoubleBraceInitialization
DurationFrom
DurationTemporalUnit
EmptyTopLevelDeclaration
EqualsNull
EqualsReference
FormatString
FromTemporalAccessor
GetClassOnAnnotation
GetClassOnClass
HashtableContains
IdentityBinaryExpression
IdentityHashMapBoxing
InstantTemporalUnit
InvalidTimeZoneID
InvalidZoneId
IsInstanceIncompatibleType
JUnitParameterMethodNotFound
LockOnBoxedPrimitive
MathRoundIntLong
MislabeledAndroidString
MisusedDayOfYear
MissingSuperCall
MisusedWeekYear
ModifyingCollectionWithItself
NoCanIgnoreReturnValueOnClasses
NonRuntimeAnnotation
NullableOnContainingClass
NullTernary
OverridesJavaxInjectableMethod
ParcelableCreator
PeriodFrom
PreconditionsInvalidPlaceholder
ProtoBuilderReturnValueIgnored
ProtoFieldNullComparison
RandomModInteger
RectIntersectReturnValueIgnored
ReturnValueIgnored
SelfAssignment
SelfComparison
SelfEquals
SizeGreaterThanOrEqualsZero
StringBuilderInitWithChar
TreeToString
TryFailThrowable
UnnecessaryCheckNotNull
UnusedCollectionModifiedInPlace
XorPower

See https://errorprone.info/bugpatterns for more
information on the checks.

Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I9393ceac22201e2bde4d5af7ec13e90d94956ed7
2022-10-15 21:33:27 -07:00
Bill Yi
d1e5cf0eae Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I49504e35c1adce5761e22c46c858fca0eada73cf
2022-10-15 15:15:41 -07:00
Treehugger Robot
e089b78334 Merge "Only check for powerwash in A/B ota packages" am: 56bca1f2d5 am: 31d74fa4ea
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2256203

Change-Id: I980e9a342f7ca39adb7a9c611afff695ba5a68e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 21:00:51 +00:00
Treehugger Robot
31d74fa4ea Merge "Only check for powerwash in A/B ota packages" am: 56bca1f2d5
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2256203

Change-Id: I97b0be09883a1b1737388241a338f50cf4196603
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 20:32:11 +00:00
Treehugger Robot
56bca1f2d5 Merge "Only check for powerwash in A/B ota packages" 2022-10-14 20:04:25 +00:00
Tim Zimmermann
78e524e418
Only check for powerwash in A/B ota packages
* A-only doesn't have payload_properties.txt
  causing an user-facing error

Change-Id: If749c9a8cf1c3bbdf0300a2da06ec2246fc75484
2022-10-14 20:06:41 +02:00
Xin Li
af1a8af755 [automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: 8768f583c5 -s ours
am skip reason: Merged-In Ic68898f1a8e9ab176556ee2b61efec4d8d5d36e2 with SHA-1 d43ec47f3b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/20136138

Change-Id: I0df089d0eb3d6a143d55953d208f761d27c91d50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 17:55:36 +00:00
Xin Li
8768f583c5 Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
Bug: 248070379
Merged-In: Ic68898f1a8e9ab176556ee2b61efec4d8d5d36e2
Change-Id: Ie94baaca2f1f365ed4768a763929d12418fcaff3
2022-10-06 11:59:14 -07:00