David Anderson
d20ffda080
Merge "libsnapshot: Partially implement OpenSnapshotWriter." am: 6c1d885150 am: 54231f255e
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1455356
Change-Id: Id3a392d50e237bafac6f4c004630f12516371e58
2020-10-16 22:42:16 +00:00
David Anderson
54231f255e
Merge "libsnapshot: Partially implement OpenSnapshotWriter." am: 6c1d885150
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1455356
Change-Id: I5f9e8e335a0bad690a1df9bd2948031374c20750
2020-10-16 22:15:28 +00:00
David Anderson
6c1d885150
Merge "libsnapshot: Partially implement OpenSnapshotWriter."
2020-10-16 19:15:51 +00:00
Baligh Uddin
43a406019b
Merge "Remove libprocinfo, libbacktrace, libunwindstack" am: 721825bac9 am: f52af4c593
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1455716
Change-Id: I60bf0a43f8546b789fa1b60f41bea396a5239c36
2020-10-16 17:05:32 +00:00
Baligh Uddin
f52af4c593
Merge "Remove libprocinfo, libbacktrace, libunwindstack" am: 721825bac9
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1455716
Change-Id: Ic09afe267f4d82fc20809c553c53a21b4b4f9177
2020-10-16 16:51:16 +00:00
Baligh Uddin
721825bac9
Merge "Remove libprocinfo, libbacktrace, libunwindstack"
2020-10-16 15:49:44 +00:00
Baligh Uddin
ce7b63697e
Remove libprocinfo, libbacktrace, libunwindstack
...
These projects have moved to a different location.
platform/system/core [libprocinfo] -> platform/system/libprocinfo
platform/system/core [libbacktrace] -> platform/system/unwinding [libbacktrace]
platform/system/core [libunwindstack] -> platform/system/unwinding [libunwindstack]
BUG: 163786882
Test: Local build + TH
Change-Id: Id6d278d917236df0ffd40b5c32593856e112cb5b
2020-10-16 15:46:24 +00:00
Jack Yu
c3f64d6486
Merge "Create folder to store nfc snoop data" am: b5e565d29b am: 9d23c2da47
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1398417
Change-Id: I51a1d9a267e302a6bd2a82d77ed9b312a2e2b08f
2020-10-16 08:24:14 +00:00
Jack Yu
9d23c2da47
Merge "Create folder to store nfc snoop data" am: b5e565d29b
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1398417
Change-Id: I34161c1e1ec7f99622fcc9453178614e5899bcc2
2020-10-16 08:09:48 +00:00
Jack Yu
b5e565d29b
Merge "Create folder to store nfc snoop data"
2020-10-16 07:56:10 +00:00
Baligh Uddin
300d1908fd
Merge "Add new path to visibility rule prior to migration." am: b2621b05a7 am: 2474aa8846
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1462703
Change-Id: I59a8063b0bef302dbf46e555d27244e12b0837ce
2020-10-16 01:16:58 +00:00
Baligh Uddin
2474aa8846
Merge "Add new path to visibility rule prior to migration." am: b2621b05a7
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1462703
Change-Id: Ic345fee58259d23392e49f515db88d0d372ef0ef
2020-10-16 00:49:40 +00:00
Baligh Uddin
b2621b05a7
Merge "Add new path to visibility rule prior to migration."
2020-10-16 00:00:03 +00:00
Tom Cherry
b35651d9eb
Merge "Remove logcat, logd, and logwrapper symlinks" am: 3abb8b1485 am: bf71d24dbc
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1455624
Change-Id: Ibeb8dd747b79e37f6d8df953bc3b132cf6e95a3b
2020-10-15 22:58:51 +00:00
Yifan Hong
2aa56ffdb3
Merge "health: Add CAP_BLOCK_SUSPEND" am: ae11855809 am: 7131b00862
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1461183
Change-Id: I7c48b86db388dbfcc1d86388de9b57bbfe861afc
2020-10-15 22:58:39 +00:00
Tom Cherry
bf71d24dbc
Merge "Remove logcat, logd, and logwrapper symlinks" am: 3abb8b1485
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1455624
Change-Id: I92c0f6f9b4db85faaad9b88b5b9f681b3416b7bf
2020-10-15 21:50:51 +00:00
Yifan Hong
7131b00862
Merge "health: Add CAP_BLOCK_SUSPEND" am: ae11855809
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1461183
Change-Id: I06480aeb9a2c26fa5ee33adcdca061be1ea56dc2
2020-10-15 21:50:29 +00:00
Tom Cherry
3abb8b1485
Merge "Remove logcat, logd, and logwrapper symlinks"
2020-10-15 21:25:10 +00:00
Yifan Hong
ae11855809
Merge "health: Add CAP_BLOCK_SUSPEND"
2020-10-15 20:24:17 +00:00
Baligh Uddin
ccc73dc955
Add new path to visibility rule prior to migration.
...
BUG: 163786882
Test: TH
Change-Id: I9ee33e64c07384cc8a238a19cf9445085cf7b94f
2020-10-15 18:37:06 +00:00
Treehugger Robot
e6620a2d46
Merge "Update sysprop_library API txt" am: 34a0e57a25 am: 1922b4de78
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1460967
Change-Id: Ibc44b9495d456fc822c33f24d8a607f3ca771909
2020-10-15 16:41:28 +00:00
Treehugger Robot
1922b4de78
Merge "Update sysprop_library API txt" am: 34a0e57a25
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1460967
Change-Id: I2c21ef6082eeb7a552305bfcb538ce341672356d
2020-10-15 16:02:02 +00:00
Treehugger Robot
34a0e57a25
Merge "Update sysprop_library API txt"
2020-10-15 15:08:21 +00:00
David Anderson
aca0beaf77
libsnapshot: Partially implement OpenSnapshotWriter.
...
This is a re-landing of the original CL, with a few changes:
- The correct device is now returned in MapUpdateSnapshot.
- The old API is used for tests, and the new API is only tested when
used on a VABC device.
- A sync() call has been added to ensure that writes to the base and
target snapshot devices have been fully flushed. This makes
IsPartitionUnchanged detect the MapUpdateSnapshot bug.
Implement OpenSnapshotWriter for non-compressed Virtual A/B. This is
done by adding an OnlineKernelSnapshotWriter class, which forwards all
writes to a dm-snapshot block device.
This also introduces a new ISnapshotWriter class which extends
ICowWriter, and adds features specific to libsnapshot (versus ICowWriter
which is intended only for the new COW format). The OpenSnapshotReader
call has been moved here since the writer retains all the information
needed to create the reader.
To test the new call, vts_libsnapshot_test has been modified to use
OpenSnapshotWriter.
As part of this change, all consumers of libsnapshot must now link to
libsnapshot_cow.
Bug: 168554689
Test: vts_libsnapshot_test
Test: full OTA with update_device.py
Test: incremental OTA with update_device.py
Change-Id: I90364a58902a4406a37cb14a816642c57a72bec2
2020-10-14 21:41:36 -07:00
Inseob Kim
340d28487a
Update sysprop_library API txt
...
Internal props are no longer stored in the txt file.
Exempt-From-Owner-Approval: cherry pick
Bug: 170693240
Test: m
Change-Id: I8d30b21a18759e35382f25a0706962cebbdeb096
Merged-In: I8d30b21a18759e35382f25a0706962cebbdeb096
2020-10-15 04:04:15 +00:00
Subbaraman Narayanamurthy
28ebc23625
health: Add CAP_BLOCK_SUSPEND
...
Add CAP_BLOCK_SUSPEND to android.hardware.health@2.0 service so
that when epoll_wait() is waiting on uevents and timer_fd events
it can block suspend to take the necessary action. Without this
permission, eventpoll is going to ignore the flags EPOLLWAKEUP
used in health HAL or healthloop.
Bug: 169873088
Change-Id: I50d84dd853f718d46fb4f15113da032b60c34b0d
2020-10-14 12:30:19 -07:00
Yifan Hong
745c6d7004
Merge "Refactor: Move GSI AVB keys selection logic to common code." am: f536731e5a am: e49b06ecf9
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1457177
Change-Id: I8716ebbf7d9962de9c5c50908991506689ad990b
2020-10-14 19:26:03 +00:00
Yifan Hong
e49b06ecf9
Merge "Refactor: Move GSI AVB keys selection logic to common code." am: f536731e5a
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1457177
Change-Id: I37afc08103486a82b1b7be1d2fa40afd5b4cb4a9
2020-10-14 18:49:22 +00:00
Yifan Hong
f536731e5a
Merge "Refactor: Move GSI AVB keys selection logic to common code."
2020-10-14 18:25:31 +00:00
Colin Cross
8b04bfab62
Merge "Use ro.build.version.release_or_codename to reconstruct fingerprint" am: 219b3487f8 am: 90c57d4501
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1459042
Change-Id: If7a8ba8bafb10370cd06fc34dde0c65f8b7aebfe
2020-10-14 17:09:36 +00:00
Colin Cross
90c57d4501
Merge "Use ro.build.version.release_or_codename to reconstruct fingerprint" am: 219b3487f8
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1459042
Change-Id: Ie8e7929628ff1226d14156996bf54e41f2e813fe
2020-10-14 16:52:09 +00:00
Colin Cross
219b3487f8
Merge "Use ro.build.version.release_or_codename to reconstruct fingerprint"
2020-10-14 16:33:02 +00:00
Colin Cross
b519c71619
Use ro.build.version.release_or_codename to reconstruct fingerprint
...
The ro.build.version.release property was changed from being the
codename or final name of the current release to be the final name
of the most recent release. Use ro.build.version.release_or_codename
to reconstruct the fingerprint to match what the build system does.
Bug: 158483506
Test: adb shell getprop | grep fingerprint
Change-Id: I3bd992b6f06ff90bb6024253339a2654afa069ee
2020-10-13 12:38:48 -07:00
Treehugger Robot
25fa64c6a0
Merge "fastbootd: Add more logging for when the USB transport fails." am: f9c36a2ca6 am: bfbe2b6afe
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1457444
Change-Id: I8ce67b788844769cc5659ad4d77c3e2e9e093737
2020-10-13 03:21:42 +00:00
Treehugger Robot
bfbe2b6afe
Merge "fastbootd: Add more logging for when the USB transport fails." am: f9c36a2ca6
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1457444
Change-Id: If93c7e497ef6daac9a9168395254087d888d51be
2020-10-13 02:46:36 +00:00
Treehugger Robot
f9c36a2ca6
Merge "fastbootd: Add more logging for when the USB transport fails."
2020-10-13 02:18:06 +00:00
David Anderson
f74c1a9556
fastbootd: Add more logging for when the USB transport fails.
...
Bug: 161542676
Test: fastboot flashall
Change-Id: Ief4e7452b72504c51c807dd38a07765ad65c96a4
2020-10-12 15:55:48 -07:00
Yifan Hong
d65e4851e2
Refactor: Move GSI AVB keys selection logic to common code.
...
Test: pass
Change-Id: I5ac139ad171432e903c400077f7855d4e4bcf041
2020-10-12 13:01:14 -07:00
Steven Moreland
187d665cc9
Merge "libcutils: API to disable memory mitigations" am: 32535585fc am: c29cf50cf9
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1449538
Change-Id: I7327e66d0736c480e789d0fed800abdd3fd18039
2020-10-12 17:42:07 +00:00
Steven Moreland
c29cf50cf9
Merge "libcutils: API to disable memory mitigations" am: 32535585fc
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1449538
Change-Id: Ie5cc92e3bbd6b05a2351ba2b143d92f4ff6e4e79
2020-10-12 17:22:08 +00:00
Steven Moreland
32535585fc
Merge "libcutils: API to disable memory mitigations"
2020-10-12 16:59:23 +00:00
Wenhao Wang
cb8aa65bad
Merge "rpmb_dev: Switch to RPMB provisioning scheme" am: 323353413f am: d969516a1c
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1446626
Change-Id: Id5d9450a5364361a710dee43f36c5259ab6a47e8
2020-10-10 05:57:44 +00:00
Wenhao Wang
d969516a1c
Merge "rpmb_dev: Switch to RPMB provisioning scheme" am: 323353413f
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1446626
Change-Id: Ic1bb9f2cb2b84f535fa8bd7a05f85199658d7f48
2020-10-10 05:26:59 +00:00
Wenhao Wang
323353413f
Merge "rpmb_dev: Switch to RPMB provisioning scheme"
2020-10-10 05:06:56 +00:00
Steven Moreland
d22659b8ea
libcutils: API to disable memory mitigations
...
Convenience API to disable memory mitigations, where we can specify
logging and also have a single place to update once a related bug is
fixed.
Bug: 166675194
Test: use API to disable memory mitigations
Change-Id: I4a3529ea1911925c49e31cc3809c2743e401c196
2020-10-10 00:16:24 +00:00
Tom Cherry
93490d0d17
Remove logcat, logd, and logwrapper symlinks
...
We should only need liblog
Bug: 170387172
Test: treehugger
Change-Id: I3cb2a4a37ae2f04cd8f0d991e360db6bd23fb02c
2020-10-09 14:47:19 -07:00
Treehugger Robot
a0d503616a
Merge changes from topic "bug_168791309" am: 8d96bfa9bd am: 68cd2d7c81
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1454640
Change-Id: Id0972a51de501ffcaf7a5bb204d93f0c81d9db10
2020-10-09 03:41:57 +00:00
Baligh Uddin
108197fb8b
Remove liblog, logcat, logd, logwrapper am: d2c21a10d3 am: e55e30f5d9
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1454058
Change-Id: I0ee2333ef52b1cfe7d89b4462b48ededc0273ea8
2020-10-09 03:41:56 +00:00
Xin Li
1d29796fb3
[automerger skipped] Skip ab/6749736 in stage. am: 3deb0ae5fe -s ours
...
am skip reason: Change-Id Ib9e04266b47bdc6129c10c72ee35222c49beff1e with SHA-1 11a0227d2a is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12797522
Change-Id: Ie43b085c56809b19cccf55d2de28f56029fb0c35
2020-10-09 03:39:56 +00:00
Treehugger Robot
68cd2d7c81
Merge changes from topic "bug_168791309" am: 8d96bfa9bd
...
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1454640
Change-Id: I40f47d42101e9e62ec27341a3fb0847d9b5f3d2b
2020-10-09 03:30:44 +00:00