Commit graph

67054 commits

Author SHA1 Message Date
Yifan Hong
304ae82046 libcutils: make vendor_ramdisk_available. am: 55015ffb82 am: 861fd6376b am: 9485558332
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1477501

Change-Id: Ia84c151507a507a7ce2be22278c8ff0be6d7dbcc
2020-10-29 18:56:20 +00:00
Yifan Hong
b7a949fa01 libpropertyinfoparser: make vendor_ramdisk_available. am: f3b2b96925 am: 4570aa6caa am: 043cbc8c0b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1470051

Change-Id: Ie3cc5c532a5190657e17547aaf35fc9e624724f9
2020-10-29 18:56:13 +00:00
Yifan Hong
9485558332 libcutils: make vendor_ramdisk_available. am: 55015ffb82 am: 861fd6376b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1477501

Change-Id: Ie45ba2c7b0d668e772e2c6dbe91d67a8d65263fc
2020-10-29 18:21:09 +00:00
Yifan Hong
043cbc8c0b libpropertyinfoparser: make vendor_ramdisk_available. am: f3b2b96925 am: 4570aa6caa
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1470051

Change-Id: Ic2bcf08e409e4541470379ec778a5fd728479cf0
2020-10-29 18:21:02 +00:00
Yifan Hong
861fd6376b libcutils: make vendor_ramdisk_available. am: 55015ffb82
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1477501

Change-Id: I68d5532918c31209c61733fb546b1fd4ee836eb7
2020-10-29 17:49:19 +00:00
Yifan Hong
4570aa6caa libpropertyinfoparser: make vendor_ramdisk_available. am: f3b2b96925
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1470051

Change-Id: Ic28b1777532d1c4b39b2640080b66db8f9234f4b
2020-10-29 17:48:59 +00:00
David Anderson
9d55b815f1 Merge "libsnapshot: Add a tool for inspecting COW files." am: 4e4cff7e46 am: 58c45b4f06 am: a7ba543f6f
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475325

Change-Id: I15d477f4bf5c52bc9e4a680cb4a1486cf8cf0cf7
2020-10-29 01:48:08 +00:00
David Anderson
d998c5e5e6 Merge "libsnapshot: Add a skeleton API for mapping and unmapping all snapshots." am: 5fea7df825 am: d0952ff3b8 am: 17dd91c332
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475500

Change-Id: Icc6b5b49c3e9e65dc7a6f90040fccb41133aea7a
2020-10-29 01:47:52 +00:00
David Anderson
0dda81da76 Merge "libsnapshot: Stop reading ops once we reach a footer." am: a1a5fdc6ee am: 2e831f7e66 am: e1435f5463
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475324

Change-Id: Ic0e4cc939d298cbd33c9bf95a87fa31c0288f19d
2020-10-29 01:47:44 +00:00
Yifan Hong
8436f1f470 Merge "Revert "Always create ramdisk/first_stage_ramdisk."" am: 7173ca82a4 am: c0b3a8b6fb am: 0df2607eba
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1470698

Change-Id: I31f36a2ce28f430c6441bdba2250b07d6a8faceb
2020-10-29 01:47:36 +00:00
David Anderson
a7ba543f6f Merge "libsnapshot: Add a tool for inspecting COW files." am: 4e4cff7e46 am: 58c45b4f06
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475325

Change-Id: Icb5e83a2569500f5781ecf5a2fe85d23b03b8f97
2020-10-29 01:42:13 +00:00
David Anderson
17dd91c332 Merge "libsnapshot: Add a skeleton API for mapping and unmapping all snapshots." am: 5fea7df825 am: d0952ff3b8
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475500

Change-Id: I36fabad77656e86ad5e27c357ebeac9a002b0c15
2020-10-29 01:42:04 +00:00
David Anderson
e1435f5463 Merge "libsnapshot: Stop reading ops once we reach a footer." am: a1a5fdc6ee am: 2e831f7e66
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475324

Change-Id: I7543595129228e96f8537b139558bf33880223fb
2020-10-29 01:41:36 +00:00
David Anderson
58c45b4f06 Merge "libsnapshot: Add a tool for inspecting COW files." am: 4e4cff7e46
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475325

Change-Id: I94d657bb055a653628a68fae39576f1ba402446e
2020-10-29 01:38:00 +00:00
David Anderson
d0952ff3b8 Merge "libsnapshot: Add a skeleton API for mapping and unmapping all snapshots." am: 5fea7df825
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475500

Change-Id: I78c5cbd1b2b53b2749c57089d7b73808f3160830
2020-10-29 01:37:43 +00:00
David Anderson
2e831f7e66 Merge "libsnapshot: Stop reading ops once we reach a footer." am: a1a5fdc6ee
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475324

Change-Id: Iaf4f52de6b6ce0acd96b435fd183c4aa57c71fae
2020-10-29 01:31:46 +00:00
Yifan Hong
0df2607eba Merge "Revert "Always create ramdisk/first_stage_ramdisk."" am: 7173ca82a4 am: c0b3a8b6fb
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1470698

Change-Id: Ibd3de8979f0326a2090118e28fc7db96f6a34d1a
2020-10-29 01:30:50 +00:00
Yifan Hong
c0b3a8b6fb Merge "Revert "Always create ramdisk/first_stage_ramdisk."" am: 7173ca82a4
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1470698

Change-Id: Ic0091f44446c9e77b9d5695abd8852a4b3ac6472
2020-10-29 01:21:46 +00:00
David Anderson
4e4cff7e46 Merge "libsnapshot: Add a tool for inspecting COW files." 2020-10-29 00:27:28 +00:00
David Anderson
5fea7df825 Merge "libsnapshot: Add a skeleton API for mapping and unmapping all snapshots." 2020-10-29 00:27:19 +00:00
David Anderson
a1a5fdc6ee Merge "libsnapshot: Stop reading ops once we reach a footer." 2020-10-29 00:27:02 +00:00
Yifan Hong
7173ca82a4 Merge "Revert "Always create ramdisk/first_stage_ramdisk."" 2020-10-28 21:21:36 +00:00
Yifan Hong
55015ffb82 libcutils: make vendor_ramdisk_available.
Test: builds
Bug: 156098440
Change-Id: I663a3839e402a83ebf31b8a680c61f1e269548f6
2020-10-28 10:57:51 -07:00
Yifan Hong
f3b2b96925 libpropertyinfoparser: make vendor_ramdisk_available.
Test: pass
Bug: 156098440
Change-Id: I9c9e74c431ac0f8c382bea0ecd290968aa3f4448
2020-10-28 10:57:51 -07:00
David Anderson
523b55f9ea Merge changes I2b3f5b33,I464b683b,I8e97c543 am: 49a428b62e am: 936b56838f am: 56c3cf9911
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1471409

Change-Id: I872ee18745adc1b79517972c7636379e9a909e7a
2020-10-28 03:10:51 +00:00
David Anderson
56c3cf9911 Merge changes I2b3f5b33,I464b683b,I8e97c543 am: 49a428b62e am: 936b56838f
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1471409

Change-Id: I414ec8c12b221aa606135b38afbf73df12457699
2020-10-28 02:59:05 +00:00
David Anderson
936b56838f Merge changes I2b3f5b33,I464b683b,I8e97c543 am: 49a428b62e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1471409

Change-Id: Idd80c608cb27f1d31120f5e30e9e41a6a153031f
2020-10-28 02:44:27 +00:00
David Anderson
49a428b62e Merge changes I2b3f5b33,I464b683b,I8e97c543
* changes:
  libsnapshot: Remove the timeout on client recv().
  libsnapshot: Integrate with snapuserd.
  snapuserd: Add an API call to wait for device deletion.
2020-10-28 01:55:09 +00:00
David Anderson
3fa66c7283 libsnapshot: Add a tool for inspecting COW files.
This simple tool will dump the COW header and included ops to stdout.

Bug: N/A
Test: mm inspect_cow && inspect_cow <file>
Change-Id: I369c4a21a84c95ffc10670bd9eeb2ceccb2a56d6
2020-10-27 18:30:13 -07:00
David Anderson
07ad1b3566 libsnapshot: Add a skeleton API for mapping and unmapping all snapshots.
Bug: 168554689
Test: builds
Change-Id: I0da50275cc4d0a85bd6b176b5c1286659d51a25c
2020-10-27 18:30:13 -07:00
David Anderson
485fe695c1 libsnapshot: Stop reading ops once we reach a footer.
Bug: 168554689
Test: vts_libsnapshot_test
Change-Id: Id8b5ba33220028c856d3761832fe231fd93e94cd
2020-10-27 18:30:13 -07:00
Baligh Uddin
3283dae0cc Merge "Revert "Revert "Switch "system/core/base" ref to "system/libbase"""" am: 30d70441e5 am: 95c0590278 am: ae1eb97bf6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1476616

Change-Id: Icaa92423942e64b78ac149f54b80620be6263fa9
2020-10-27 20:19:44 +00:00
Baligh Uddin
ae1eb97bf6 Merge "Revert "Revert "Switch "system/core/base" ref to "system/libbase"""" am: 30d70441e5 am: 95c0590278
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1476616

Change-Id: I65e88c83d7b66f24be994598e64428baa62bc770
2020-10-27 20:08:24 +00:00
Baligh Uddin
95c0590278 Merge "Revert "Revert "Switch "system/core/base" ref to "system/libbase"""" am: 30d70441e5
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1476616

Change-Id: Ib4c3d90835e2b7c82f157fb57ceeafea39beaf9e
2020-10-27 19:50:16 +00:00
Baligh Uddin
30d70441e5 Merge "Revert "Revert "Switch "system/core/base" ref to "system/libbase"""" 2020-10-27 19:38:09 +00:00
Baligh Uddin
f0c169a7fd Revert "Revert "Switch "system/core/base" ref to "system/libbase"""
This reverts commit 2f77d1adc8.

Reason for revert: Applying a Fix to DS directly.  No need for merged-In, since the topic is already landed in DS branch

Change-Id: I86cba9b20efebc9e700522e1697bc8f893c43089
2020-10-27 19:37:59 +00:00
David Anderson
a2ebce169b Merge changes I48e62f25,Ib04e80e8,I3878abfd am: 0cbc6e8119 am: a02aa2e914 am: 6dcf09eda0
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475323

Change-Id: I212b15b282a179db9b852bcfad061d8f4830f6fc
2020-10-27 17:29:18 +00:00
David Anderson
6dcf09eda0 Merge changes I48e62f25,Ib04e80e8,I3878abfd am: 0cbc6e8119 am: a02aa2e914
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475323

Change-Id: Ia8f440791106af5e22f192de3614e2f0e48ae048
2020-10-27 17:16:24 +00:00
David Anderson
a02aa2e914 Merge changes I48e62f25,Ib04e80e8,I3878abfd am: 0cbc6e8119
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1475323

Change-Id: I093ca9a65921661c9ce7e0d099d4d93cf20d2cc3
2020-10-27 17:04:23 +00:00
David Anderson
0cbc6e8119 Merge changes I48e62f25,Ib04e80e8,I3878abfd
* changes:
  snapuserd: Fix infinite loop when reading ops.
  libsnapshot: Add Initialize and InitializeAppend methods to ISnapshotWriter.
  libsnapshot: Implement OpenReader for CompressedSnapshotWriter.
2020-10-27 16:48:12 +00:00
Elliott Hughes
6add13eba2 Merge "Remove unused utf8_length()." am: 52dac2f8b7 am: 0ee0648569 am: a7f8cdbfff
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1474916

Change-Id: I0979c1e0aff9016266efdce738dc92934bd37c3e
2020-10-27 16:02:07 +00:00
Elliott Hughes
a7f8cdbfff Merge "Remove unused utf8_length()." am: 52dac2f8b7 am: 0ee0648569
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1474916

Change-Id: I54b7732762e9304c786816e2c0cd74a3da9cedd6
2020-10-27 15:50:45 +00:00
Elliott Hughes
0ee0648569 Merge "Remove unused utf8_length()." am: 52dac2f8b7
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1474916

Change-Id: I489c22ebd3e0a177a4e95e55509cb00dcf300082
2020-10-27 15:40:42 +00:00
Elliott Hughes
52dac2f8b7 Merge "Remove unused utf8_length()." 2020-10-27 15:31:03 +00:00
Joanne Chung
233e643c4b Merge "Revert "Switch "system/core/base" ref to "system/libbase""" am: ad5f9c3820 am: c454b59c16 am: a204141c1d
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1476116

Change-Id: I669a64798bb5706da1cb4431eba0e84be0637587
2020-10-27 10:51:34 +00:00
Joanne Chung
a204141c1d Merge "Revert "Switch "system/core/base" ref to "system/libbase""" am: ad5f9c3820 am: c454b59c16
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1476116

Change-Id: Ie416e69099810350143b6345f9463f7f5d6498a2
2020-10-27 10:38:57 +00:00
Joanne Chung
c454b59c16 Merge "Revert "Switch "system/core/base" ref to "system/libbase""" am: ad5f9c3820
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1476116

Change-Id: Icecc98713b3e6dba1b677f631945dd282f612006
2020-10-27 10:10:26 +00:00
Joanne Chung
ad5f9c3820 Merge "Revert "Switch "system/core/base" ref to "system/libbase""" 2020-10-27 09:40:29 +00:00
Woody Lin
147488ce05 Merge "init/service_parser: Add arguments window' and target' for `critical'" am: 9b4debbc27 am: f5820674cd am: 1ad02691f1
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1202249

Change-Id: I8fdf75719020aebddb198a8b5eeca3705e6afb3a
2020-10-27 09:34:20 +00:00
Woody Lin
1ad02691f1 Merge "init/service_parser: Add arguments window' and target' for `critical'" am: 9b4debbc27 am: f5820674cd
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1202249

Change-Id: If9daf79c9d74eb7f8d75ad27c960af869528614c
2020-10-27 09:16:17 +00:00