Paul Lawrence
9bdf002f70
Merge "Make restore validation fast by using a map" am: decda14f02
am: 2962054d72
...
am: ca4d5af279
Change-Id: Ie92d406374ec1c335ecc12e32630772b7da73d62
2019-03-01 13:47:28 -08:00
Paul Lawrence
ca4d5af279
Merge "Make restore validation fast by using a map" am: decda14f02
...
am: 2962054d72
Change-Id: I53a27dfb9a212646d27ff01960a49f040391d15b
2019-03-01 13:39:26 -08:00
Paul Lawrence
2962054d72
Merge "Make restore validation fast by using a map"
...
am: decda14f02
Change-Id: I92c5bdf046ac7e6b2211021698990592fe5f3895
2019-03-01 13:35:24 -08:00
Paul Lawrence
decda14f02
Merge "Make restore validation fast by using a map"
2019-03-01 21:19:27 +00:00
Sudheer Shanka
23d725d85a
Ignore packages whose sandboxes are already created.
...
Bug: 124788246
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Change-Id: Ie80bbdebc9d3d50e96d2cd17db804b7589b49055
2019-02-28 10:46:48 -08:00
Paul Lawrence
d41a939d51
Make restore validation fast by using a map
...
Test: Successfully restores device over reboots
Change-Id: I4f1c5bbe6c07697a925a1a4efb92aefd15b61332
2019-02-28 09:49:54 -08:00
Sudheer Shanka
a9ca319cc3
Merge "Look for visible vols for a user under /mnt/user/<userId>/package/."
2019-02-26 16:18:15 +00:00
Sudheer Shanka
cdd5a2feb7
Merge "Ignore if the dir we are trying remove doesn't exist."
2019-02-26 04:45:21 +00:00
Sudheer Shanka
8255a2b0bb
Ignore if the dir we are trying remove doesn't exist.
...
Fixes: 126208830
Test: manual
Change-Id: I34788ebb2dd42e62ee3061f7d81dc03047048c3b
2019-02-25 12:21:23 -08:00
Xin Li
db18995da8
Merge stage-aosp-master into pi-dev-plus-aosp
...
am: fc1ec3c66e
Change-Id: I229b0f5c1c473ae16867896dd8a722fef9b53a6c
2019-02-25 01:48:43 -08:00
Xin Li
fc1ec3c66e
Merge stage-aosp-master into pi-dev-plus-aosp
...
Bug: 126125118
Change-Id: I9fc676dc36e9d71e959b635fc1f87acfaa30c7a6
2019-02-25 00:32:04 -08:00
Sudheer Shanka
8368040841
Look for visible vols for a user under /mnt/user/<userId>/package/.
...
Currently, we pass down visisble volumes for a user to zygote so that
it can set up appropriate bind mounts after forking. This method has
atleast a couple of race conditions, so instead make zygote just
look under /mnt/user/<userId>/package for volumes that need to be
handled for a particular user.
Bug: 126069494
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: If996cde24d9fc158729fcc8a8bdb17ca952a518e
2019-02-24 12:47:27 -08:00
Sudheer Shanka
30df1c61d9
Don't delete /mnt/user/<userId>/package on reset.
...
We need this to stay mounted at /storage.
Bug: 124466384
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I0cc835471ced2822d83d7056bec53d62ddc682f0
2019-02-22 17:03:02 -08:00
Sudheer Shanka
727c5fad41
Avoid creating /mnt/user/<userId>/package/<packageName> for all pkgs.
...
Bug: 124466384
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I678e199ef03805bb85a8a7ad9f1f7bae0a9fc56a
2019-02-21 15:12:42 -08:00
Xin Li
464294d159
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
...
Bug: 120848293
Change-Id: Ia3e46d3c5ca83da01e78e076d2810620812f5115
2019-02-20 16:20:13 -08:00
Paul Lawrence
af607fa996
Merge "Do not trim unless we are actually checkpointing" am: 2268c285a5
am: 9de5e3c028
...
am: 2b108efef1
Change-Id: I7ef6807671da4a1f34a90a5c5c14d3acca814d57
2019-02-20 04:43:26 -08:00
Paul Lawrence
2b108efef1
Merge "Do not trim unless we are actually checkpointing" am: 2268c285a5
...
am: 9de5e3c028
Change-Id: I6f3edfe3c3e98f03793bc3e598caff8d677422bc
2019-02-20 04:30:53 -08:00
Paul Lawrence
9de5e3c028
Merge "Do not trim unless we are actually checkpointing"
...
am: 2268c285a5
Change-Id: I031a25204269ea7d3d65349a3f281a3f1e07eadd
2019-02-20 04:22:43 -08:00
Treehugger Robot
2268c285a5
Merge "Do not trim unless we are actually checkpointing"
2019-02-20 12:09:31 +00:00
Sudheer Shanka
6d285cec24
Ignore EEXIST errors when creating pkg specific dirs.
...
Some of the pkg specific dirs could be created by zygote
and vold in parallel, so ignore any EEXIST errors while
creating these dirs.
Bug: 118185801
Test: manual
Change-Id: Ifaa9998131764304867ac027af335414dbfc291c
2019-02-19 14:46:15 -08:00
Paul Lawrence
db08694bb1
Do not trim unless we are actually checkpointing
...
I'm not convinced this explains the full regression, but it's a
worthwhile fix anyway.
Bug: 124774357
Test: Booted in checkpoint mode and non checkpoint mode
Change-Id: I6e0e1e59e27bd127feac218fff7d88bb3570b530
2019-02-19 14:41:53 -08:00
Sudheer Shanka
bb517accbf
Merge "Revert "Revert "Ensure necessary external storage dirs while creating sandboxes."""
2019-02-15 22:47:10 +00:00
Xin Li
a7459ce2ca
[automerger skipped] Merge "DO NOT MERGE - Skip pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master am: c3df248685
-s ours
...
am: dd4cd4a721
-s ours
am skip reason: subject contains skip directive
Change-Id: I11b818628b916f6c9e1eef02fe4c3ca521d56470
2019-02-14 21:14:34 -08:00
Xin Li
dd4cd4a721
[automerger skipped] Merge "DO NOT MERGE - Skip pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
...
am: c3df248685
-s ours
am skip reason: subject contains skip directive
Change-Id: Ic08bbe29aa3bb45ae270210f7b1d2711fbed5b18
2019-02-14 14:23:00 -08:00
Xin Li
c3df248685
Merge "DO NOT MERGE - Skip pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
2019-02-14 22:11:30 +00:00
David Anderson
42aabc24dc
Merge "Enable metadata encryption for userdata_gsi." am: 99046b75c4
am: 8b90acafcd
...
am: 1f4307e51e
Change-Id: If3e65d967a99e3f757a1ab978067e61a3faeae66
2019-02-14 12:50:52 -08:00
David Anderson
1f4307e51e
Merge "Enable metadata encryption for userdata_gsi." am: 99046b75c4
...
am: 8b90acafcd
Change-Id: I1a8bde686283af1f467edaeb5c735f6ed1721234
2019-02-14 12:47:07 -08:00
David Anderson
8b90acafcd
Merge "Enable metadata encryption for userdata_gsi."
...
am: 99046b75c4
Change-Id: I90d530403f635427c7695e6a106526b51a7fc146
2019-02-14 12:41:46 -08:00
David Anderson
99046b75c4
Merge "Enable metadata encryption for userdata_gsi."
2019-02-14 20:27:05 +00:00
Sudheer Shanka
f9b38a58e1
Revert "Revert "Ensure necessary external storage dirs while creating sandboxes.""
...
This reverts commit 88114b2a56
.
Reason for revert: blocking issue in b/124345887 is resolved
Change-Id: Ie34843c12b7a471d2384b64ad049ede63aed09e8
2019-02-14 19:11:20 +00:00
David Anderson
0d71c4b5f7
Enable metadata encryption for userdata_gsi.
...
When running a live GSI, userdata is a logical partition. If we don't
fix up the fstab we'll derive the underlying block device instead of
the device-mapper node for userdat_gsi, resulting in a corrupt data
partition for both images.
Bug: 123906417
Test: manual test
Change-Id: Ic0101f30504de26e725442da2da3888008c31b63
2019-02-14 08:29:26 -08:00
Jeff Sharkey
88114b2a56
Revert "Ensure necessary external storage dirs while creating sandboxes."
...
This reverts commit 083377e593
.
Reason for revert: b/124345887
Change-Id: I388d45fab68b611917464a204269a48bf771ac57
2019-02-14 15:41:28 +00:00
Sudheer Shanka
083377e593
Ensure necessary external storage dirs while creating sandboxes.
...
Bug: 124058579
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I0e62de38e9ceff80df75e253443af69d4391a49e
2019-02-13 18:16:50 -08:00
Xin Li
29633ddd06
DO NOT MERGE - Skip pi-platform-release (PPRL.190205.001) into stage-aosp-master
...
Bug: 124234733
Change-Id: I5f6bd6a42230b0c9e54dc6221cfa12f366585e40
2019-02-12 16:41:37 -08:00
Jeff Sharkey
a6082500e4
Enable isolated storage by default.
...
We've been dogfooding the isolated storage feature for many months
on various internal groups, and we're ready to enable it globally.
Bug: 112545973
Test: executed entire CTS suite using forrest
Change-Id: I612b6aba4f08dc0ac13f4f94b03c4bddd6de12df
2019-02-11 13:14:37 -07:00
android-build-team Robot
c03435f532
Snap for 5180536 from 2ab3b948d7
to pi-platform-release
...
Change-Id: Idc5557adef8d2cbc60a594ab3ea1aa3669140926
2019-02-09 02:36:27 +00:00
Paul Lawrence
82c4b68962
Merge "Support header versioning in dm-bow" am: 96336c716b
am: 06181f3605
...
am: 96bdc38fb7
Change-Id: I76f8e0b5d231f1ca103efcefc1800dabdddc5fa0
2019-02-08 14:07:57 -08:00
Paul Lawrence
96bdc38fb7
Merge "Support header versioning in dm-bow" am: 96336c716b
...
am: 06181f3605
Change-Id: Ifc24e161ccf3564bf94c695053d51cbb600dd963
2019-02-08 14:03:33 -08:00
Paul Lawrence
06181f3605
Merge "Support header versioning in dm-bow"
...
am: 96336c716b
Change-Id: I8d71b57c51e2290c2633b286ea91a54a3ea0d582
2019-02-08 14:00:32 -08:00
Treehugger Robot
96336c716b
Merge "Support header versioning in dm-bow"
2019-02-08 21:55:29 +00:00
Paul Lawrence
4ef6959e9a
Merge "Suport variable blocksizes in dm-bow restore" am: 73c0028901
am: fdac3684c4
...
am: fd742dbf30
Change-Id: I63742c9f263735b549b25aaae372d34ec82c8a18
2019-02-08 13:36:49 -08:00
Paul Lawrence
fd742dbf30
Merge "Suport variable blocksizes in dm-bow restore" am: 73c0028901
...
am: fdac3684c4
Change-Id: Id4c4aae860bc819d240864f3d60edf03a1c5e255
2019-02-08 13:32:47 -08:00
Paul Lawrence
fdac3684c4
Merge "Suport variable blocksizes in dm-bow restore"
...
am: 73c0028901
Change-Id: I42cf7db1bca5905e93546b1df78b8439c22ef198
2019-02-08 13:27:49 -08:00
Treehugger Robot
73c0028901
Merge "Suport variable blocksizes in dm-bow restore"
2019-02-08 21:16:58 +00:00
Paul Lawrence
f507768981
Support header versioning in dm-bow
...
Test: Make sure still boots, restores
Change-Id: I903f58cb22472dbbbbb4c27ed1d88ed1f7c7dc5d
2019-02-08 08:43:40 -08:00
Paul Lawrence
4f13a90a58
Suport variable blocksizes in dm-bow restore
...
Test: Test that restore still works
Change-Id: I7259e3efd1cd0ee13c74336a7e53158b6bceed57
2019-02-08 08:43:40 -08:00
Daniel Rosenberg
2010fb6260
Merge "Mark A/B Boot success before committing checkpoint" am: d6bbe746d7
am: 294a252092
...
am: f3d55f4e0c
Change-Id: I545b0fb45d3ed1bde6fa4002c37675cce6a6a37d
2019-02-07 18:19:20 -08:00
Daniel Rosenberg
f3d55f4e0c
Merge "Mark A/B Boot success before committing checkpoint" am: d6bbe746d7
...
am: 294a252092
Change-Id: I8887afd2726724d6c9b9da0fa7595bde741fb748
2019-02-07 18:02:10 -08:00
Daniel Rosenberg
294a252092
Merge "Mark A/B Boot success before committing checkpoint"
...
am: d6bbe746d7
Change-Id: I2876835681d42bade620081d508a7490d664c8aa
2019-02-07 17:49:55 -08:00
Daniel Rosenberg
d6bbe746d7
Merge "Mark A/B Boot success before committing checkpoint"
2019-02-08 01:40:54 +00:00