Commit graph

4037 commits

Author SHA1 Message Date
Nikita Ioffe
4e1e7ef09a Merge "Introduce ro.crypto.uses_fs_ioc_add_encryption_key property" into rvc-dev 2020-04-21 14:27:18 +00:00
Martijn Coenen
52fcc65271 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833 am: fcabee6875 am: 94bd48de35 am: 928714ea0b
Change-Id: I0b6ad98a63bd5f17856e29122192693e431a1ea2
2020-04-21 13:23:00 +00:00
Martijn Coenen
e6510840d9 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833 am: 9c306323e2 am: b30e8e54b7
Change-Id: Icbc210f68d050a3d7120e67a81f6c1096945c871
2020-04-21 13:08:37 +00:00
Martijn Coenen
7afd178d00 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833 am: fcabee6875 am: d4ee2faafc
Change-Id: Ic6fa26579a517373decc61f6924177021608b6ee
2020-04-21 13:08:22 +00:00
Martijn Coenen
928714ea0b Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833 am: fcabee6875 am: 94bd48de35
Change-Id: Ife31f92f7d891615f0766b67233578b46aca4973
2020-04-21 13:08:18 +00:00
Martijn Coenen
b30e8e54b7 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833 am: 9c306323e2
Change-Id: Id5783521ac78c56a16092c7110d61cc2018889ea
2020-04-21 12:57:05 +00:00
Martijn Coenen
94bd48de35 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833 am: fcabee6875
Change-Id: Ife40fbf8b0f2d17f73babe90cb0cf2e422dd2091
2020-04-21 12:56:33 +00:00
Martijn Coenen
d4ee2faafc Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833 am: fcabee6875
Change-Id: I5d0aefd5507b69b1fc9cc3d85f894a0137aed24e
2020-04-21 12:55:54 +00:00
Martijn Coenen
9c306323e2 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833
Change-Id: Ibc6535772cd77c1f68c380e0993f79fdacca55e1
2020-04-21 12:42:22 +00:00
Martijn Coenen
fcabee6875 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev am: 15070b1833
Change-Id: I5b5d4b3f8b8b3ed94264eb79261097b1b93f53a2
2020-04-21 12:41:54 +00:00
Martijn Coenen
15070b1833 Merge "Don't do private app-dir permissions/quota on public volumes." into rvc-dev 2020-04-21 12:22:58 +00:00
TreeHugger Robot
0357bf0433 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d am: 92cd800665 am: 7972277fc9
Change-Id: I01c7b6bd2bb587fded494109aa6b6905d0ecf70f
2020-04-21 12:06:20 +00:00
TreeHugger Robot
23b0922439 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d am: 95d66bc103 am: 7cbefff786 am: 503eb1fa51
Change-Id: I131a02167ab3bec4b04edde085e1432fcdf728a3
2020-04-21 11:59:51 +00:00
TreeHugger Robot
503eb1fa51 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d am: 95d66bc103 am: 7cbefff786
Change-Id: I3d7143c68223c51f85d701f06a55c524aaabc0b0
2020-04-21 11:45:07 +00:00
TreeHugger Robot
7972277fc9 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d am: 92cd800665
Change-Id: I1e6a6466b1ec651aa74dfc0f54891386f3f0e6f9
2020-04-21 11:40:53 +00:00
TreeHugger Robot
b946924940 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d am: 95d66bc103 am: 99b8ec6c90
Change-Id: I91b7547cd75538669eb2e742766081e270e1edf1
2020-04-21 11:34:17 +00:00
TreeHugger Robot
7cbefff786 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d am: 95d66bc103
Change-Id: Iebb0ce17064b3441aabfcdc45d66639fa3f36f01
2020-04-21 11:30:44 +00:00
TreeHugger Robot
99b8ec6c90 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d am: 95d66bc103
Change-Id: I6591dfe84b51e07b7920448ade66c99eee0746d1
2020-04-21 11:27:34 +00:00
TreeHugger Robot
92cd800665 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d
Change-Id: I288fc55dffe20f273be3e74e4fe4d69b29d13da0
2020-04-21 11:25:16 +00:00
TreeHugger Robot
95d66bc103 Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev am: 086c96ef6d
Change-Id: I227d66a376dad24ca40612849fa8259ba4dd0aae
2020-04-21 11:24:14 +00:00
TreeHugger Robot
086c96ef6d Merge "Bind mount install and android writable DATA and OBB dirs" into rvc-dev 2020-04-21 11:08:07 +00:00
Nikita Ioffe
78f806198f Introduce ro.crypto.uses_fs_ioc_add_encryption_key property
Bug: 154327249
Test: adb shell getprop ro.crypto.uses_fs_ioc_add_encryption_key
Test: adb bugreport && checked content contains new property
Change-Id: I562df49deffdccdb2cfd657130fc05b24d40a6a6
2020-04-20 22:21:49 +01:00
Ricky Wai
ef63921f81 Bind mount install and android writable DATA and OBB dirs
To improvement performance, and also making them able to list
the dirs.

This should also be fine under b/151055432, as the whole obb
directory is mounted, renameTo() from installer to apps should be
a move not copy.

Bug: 153422990
Bug: 153540919
Test: atest AdoptableHostTest
Change-Id: Ia18fd4393db14a0f11d6e5b947dd716515bdeeef
2020-04-20 15:06:58 +01:00
Martijn Coenen
bf205ab7d4 Don't do private app-dir permissions/quota on public volumes.
While looking at some emulator logs, I noticed that we fail to create
dirs like /Android/data/com.foo/cache on public volumes, because we try
to chmod it; public volumes go completely through FUSE, even for
Android/, and so these operations will fail, because the underlying
UID/GID is not setup correctly.

Really the only thing we really have to do on public volumes is create
the dirs, like we used to do.

Bug: 152618535
Test: manually verify cache dirs can be created successfully
Change-Id: I66e5d0873f1198123787943b17b468eadf0a853d
2020-04-20 15:20:09 +02:00
Martijn Coenen
13cfe0824a Rename casefold/projectid properties (for f2fs). am: e9239f757e am: 3426c36540 am: 994ab3848c am: 7943988ba3
Change-Id: I964ab08a72df0f72547052b77fee2aa102d7711c
2020-04-17 15:39:48 +00:00
Martijn Coenen
839fc867e8 Rename casefold/projectid properties (for f2fs). am: e9239f757e am: 3426c36540 am: edd48cd882
Change-Id: Ib64618b61dba6dffe23f8f1d9aeefd95b6b12f5f
2020-04-17 15:19:52 +00:00
Martijn Coenen
7943988ba3 Rename casefold/projectid properties (for f2fs). am: e9239f757e am: 3426c36540 am: 994ab3848c
Change-Id: I4d425a569ad4cf0091a7dc94f38ad03e20c06502
2020-04-17 15:19:33 +00:00
Martijn Coenen
6852a141f3 Rename casefold/projectid properties (for f2fs). am: e9239f757e am: c41ac2f3d7 am: 0dca834157
Change-Id: Ia0ced2ad6808c3c2ed644c8d58c017e5a8627925
2020-04-17 15:19:32 +00:00
Martijn Coenen
edd48cd882 Rename casefold/projectid properties (for f2fs). am: e9239f757e am: 3426c36540
Change-Id: I2529bbc678856ad6245b84b533631df4b763965d
2020-04-17 15:01:56 +00:00
Martijn Coenen
0dca834157 Rename casefold/projectid properties (for f2fs). am: e9239f757e am: c41ac2f3d7
Change-Id: I46f8f30b392c121bdcd0b8d5e7eb70fadbe6b633
2020-04-17 15:01:20 +00:00
Martijn Coenen
994ab3848c Rename casefold/projectid properties (for f2fs). am: e9239f757e am: 3426c36540
Change-Id: I985a54206891e772becb08d9c68039c55fcc9f36
2020-04-17 15:00:59 +00:00
Martijn Coenen
c41ac2f3d7 Rename casefold/projectid properties (for f2fs). am: e9239f757e
Change-Id: Ib895adcd495dd3dc4e9d675d1990d04b173a1b14
2020-04-17 14:41:07 +00:00
Martijn Coenen
3426c36540 Rename casefold/projectid properties (for f2fs). am: e9239f757e
Change-Id: I6829424a1ecee05ef8784159789a3a9991d897be
2020-04-17 14:40:56 +00:00
Martijn Coenen
85f05a92b7 [automerger skipped] Rename casefold/projectid properties. am: aee6b6fccd am: f417e12e56 am: e7a7bac3c1 am: 6c94187684 -s ours
am skip reason: Change-Id Iaebff2a835288839a2faf0edbe0e47ceb96b4458 with SHA-1 aee6b6fccd is in history

Change-Id: Iaefa5ca30f1358625dae6eb49798a0a43b6d2320
2020-04-17 08:58:18 +00:00
Automerger Merge Worker
52a61e41d7 Merge "[automerger skipped] Rename casefold/projectid properties. am: aee6b6fccd -s ours am: d4de3bd143 -s ours" into rvc-d1-dev-plus-aosp am: c51715a640 -s ours
am skip reason: Change-Id Iaebff2a835288839a2faf0edbe0e47ceb96b4458 with SHA-1 aee6b6fccd is in history

Change-Id: I383f799b036bd901d042a776a9435615ffba67b9
2020-04-17 08:45:05 +00:00
Martijn Coenen
6c94187684 Rename casefold/projectid properties. am: aee6b6fccd am: f417e12e56 am: e7a7bac3c1
Change-Id: I5923918c8684610fde0cea36dfde2e81298217e0
2020-04-17 08:44:29 +00:00
Martijn Coenen
7220f510b0 [automerger skipped] Rename casefold/projectid properties. am: aee6b6fccd am: f417e12e56 -s ours am: d8c80b809d -s ours
am skip reason: Change-Id Iaebff2a835288839a2faf0edbe0e47ceb96b4458 with SHA-1 97ff0845e2 is in history

Change-Id: I1a8e74c24ef06e0b499d0b5c73073e8ccfb175bd
2020-04-17 08:44:21 +00:00
Automerger Merge Worker
c51715a640 Merge "[automerger skipped] Rename casefold/projectid properties. am: aee6b6fccd -s ours am: d4de3bd143 -s ours" into rvc-d1-dev-plus-aosp 2020-04-17 08:24:29 +00:00
Martijn Coenen
e7a7bac3c1 Rename casefold/projectid properties. am: aee6b6fccd am: f417e12e56
Change-Id: If0f2bebdcb520cccc4d37f33be9e3fe956fae9d3
2020-04-17 08:24:29 +00:00
Martijn Coenen
d3cf750908 [automerger skipped] Rename casefold/projectid properties. am: aee6b6fccd -s ours am: d4de3bd143 -s ours
am skip reason: Change-Id Iaebff2a835288839a2faf0edbe0e47ceb96b4458 with SHA-1 97ff0845e2 is in history

Change-Id: Ieb4f5184e6428db1023a78bd2f492bc2827b8170
2020-04-17 08:24:22 +00:00
Martijn Coenen
d8c80b809d [automerger skipped] Rename casefold/projectid properties. am: aee6b6fccd am: f417e12e56 -s ours
am skip reason: Change-Id Iaebff2a835288839a2faf0edbe0e47ceb96b4458 with SHA-1 97ff0845e2 is in history

Change-Id: I3e1e7c803956c895d976368b64481f42dfcf3c5c
2020-04-17 08:24:13 +00:00
Martijn Coenen
f417e12e56 Rename casefold/projectid properties. am: aee6b6fccd
Change-Id: I43a490414c4bd816edb707ba350b4ee151133f8f
2020-04-17 08:10:36 +00:00
Martijn Coenen
d4de3bd143 [automerger skipped] Rename casefold/projectid properties. am: aee6b6fccd -s ours
am skip reason: Change-Id Iaebff2a835288839a2faf0edbe0e47ceb96b4458 with SHA-1 97ff0845e2 is in history

Change-Id: If48e613ce1fba64f6bf9bf8613ce93d76cf8b31f
2020-04-17 08:10:15 +00:00
Martijn Coenen
75fef02833 Merge "Rename casefold/projectid properties." am: 9d0508a854 am: 5901d6f492 am: 729c26033e am: 661e87186b
Change-Id: I50c6b391b5ed6900e179de3277f4826f0bc3b441
2020-04-16 09:16:54 +00:00
Martijn Coenen
661e87186b Merge "Rename casefold/projectid properties." am: 9d0508a854 am: 5901d6f492 am: 729c26033e
Change-Id: Ib6e0fea59e67396bd6b3e88d18e20b88cf17aac8
2020-04-16 08:59:27 +00:00
Martijn Coenen
729c26033e Merge "Rename casefold/projectid properties." am: 9d0508a854 am: 5901d6f492
Change-Id: Ic9982c15351008ff686f9bf395ae8f3b4adcdb30
2020-04-16 08:35:08 +00:00
Martijn Coenen
5901d6f492 Merge "Rename casefold/projectid properties." am: 9d0508a854
Change-Id: If27cbdd3df8bb53b8e27a772be9b0826a8fce4e4
2020-04-16 08:21:00 +00:00
Martijn Coenen
e9239f757e Rename casefold/projectid properties (for f2fs).
According to property naming guidelines.

Bug: 152170470
Bug: 153525566
Test: N/A
Change-Id: Iad1caff6e5cfb7f6a09b77532d64a24de9b0b3c6
2020-04-16 10:18:36 +02:00
Martijn Coenen
aee6b6fccd Rename casefold/projectid properties.
According to property naming guidelines.

Bug: 152170470
Bug: 153525566
Test: N/A
Change-Id: Iaebff2a835288839a2faf0edbe0e47ceb96b4458
Merged-In: Iaebff2a835288839a2faf0edbe0e47ceb96b4458
2020-04-16 10:18:30 +02:00
Martijn Coenen
9d0508a854 Merge "Rename casefold/projectid properties." 2020-04-16 08:06:53 +00:00