Commit graph

4393 commits

Author SHA1 Message Date
Treehugger Robot
64d5e281ad Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/vold" am: 810bcca4d0 am: c7c9cfbf9f
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1589008

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib8dbb252b72c8c7c102ed39747be613d16707121
2021-02-16 00:31:33 +00:00
Treehugger Robot
c7c9cfbf9f Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/vold" am: 810bcca4d0
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1589008

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If9313dcc2a75e117374543fb9050aa1a7e0410f4
2021-02-15 23:48:04 +00:00
Treehugger Robot
810bcca4d0 Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/vold" 2021-02-15 23:21:47 +00:00
Bob Badour
8eb43ae497 [LSC] Add LOCAL_LICENSE_KINDS to system/vold
Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  bench/inodeop_bench/Android.bp
  tests/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I91823c7097d7bee39a363a0c0cc30de13e4d7539
2021-02-14 10:37:25 -08:00
Treehugger Robot
ef885d3deb Merge "Obtain incfs features early in the booting sequence." am: 915f6227a7 am: a9838cc3d3
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1585413

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I04cd9b63a12e5ca9eacf2cb26be83a903893e1d5
2021-02-13 09:44:00 +00:00
Treehugger Robot
a9838cc3d3 Merge "Obtain incfs features early in the booting sequence." am: 915f6227a7
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1585413

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I695d55952de65a940602efd2387611e00bbde0ec
2021-02-13 09:09:08 +00:00
Treehugger Robot
915f6227a7 Merge "Obtain incfs features early in the booting sequence." 2021-02-13 06:32:14 +00:00
Alex Buynytskyy
b02e7b698e Obtain incfs features early in the booting sequence.
Has to be done before SystemConfig initialization to set correct
Incremental version feature.

Bug: 180010901
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I262d1f06aecb481f37bf82005c85fed02c476510
2021-02-12 08:39:13 -08:00
Martijn Coenen
dd6ebf8878 Merge "Revert "Revert "Set a default ACL on /data/media/userId.""" am: 2e8f0d438b am: 62ed9d52db
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1566179

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6f8b60b5d0345ae7563446d90125bfbbc7b93371
2021-02-01 14:06:58 +00:00
Martijn Coenen
62ed9d52db Merge "Revert "Revert "Set a default ACL on /data/media/userId.""" am: 2e8f0d438b
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1566179

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4464d2bcb23434832a7448ef59d079079a5c809d
2021-02-01 13:47:40 +00:00
Martijn Coenen
2e8f0d438b Merge "Revert "Revert "Set a default ACL on /data/media/userId.""" 2021-02-01 13:30:04 +00:00
Martijn Coenen
ea9681e4cd Revert "Revert "Set a default ACL on /data/media/userId.""
This reverts commit b276e80aec.

Reason for revert: b/177926359 is now fixed

Change-Id: I8ec5d80a44fc9e491ab3430592e17d10a82f40ea
2021-02-01 07:57:02 +00:00
Seth Moore
0bdfada404 Merge "Add support for binding storage encryption to a seed" am: 6207c9cde4 am: 4c110af013
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553317

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib2d7a8c3538ab8c43e1fe4d783bf2b5d83c826ca
2021-01-27 01:36:30 +00:00
Seth Moore
4c110af013 Merge "Add support for binding storage encryption to a seed" am: 6207c9cde4
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553317

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0d60971d77f26bb43a73938895f9e343ced7081a
2021-01-27 01:16:34 +00:00
Seth Moore
6207c9cde4 Merge "Add support for binding storage encryption to a seed" 2021-01-27 00:40:35 +00:00
Treehugger Robot
97bc46aabd Merge "Specify version for aidl_interface explicitly" am: 8e10f698ef am: 5f6d86597e
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1560413

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5bd8294901a465547eca3bac81359d892cfef94c
2021-01-26 23:52:09 +00:00
Treehugger Robot
5f6d86597e Merge "Specify version for aidl_interface explicitly" am: 8e10f698ef
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1560413

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3038929c8745731c9292540e846d6ca34de7cdb7
2021-01-26 23:29:27 +00:00
Treehugger Robot
8e10f698ef Merge "Specify version for aidl_interface explicitly" 2021-01-26 22:28:23 +00:00
Seth Moore
5a43d61e66 Add support for binding storage encryption to a seed
With this change, vold exposes an API that may be used to bind key
storage encryption keys to a given seed value. The seed value passed to
vold must be consistent across reboots, or key storage keys will not be
derived consistently. The seed is expected to be set very early in boot,
prior to the use of any key storage encryption keys.

This feature is intended to be used for embedded applications such as
in autos, where the seed may be provided by some other component of the
system. In such systems, there is a default user that is automatically
signed in without a PIN or other credentials. By binding the file
encryption to a platform-provided seed, the default user's data gains
additional protection against removal of the Android embedded device
from the integrated system.

Bug: 157501579
Test: Set seed at startup via init.rc. Seed changes fail as expected.
Change-Id: I9b048ec5e045b84c45883724ace2356d4ef6244d
2021-01-26 21:30:19 +00:00
Jeongik Cha
89253240ec Specify version for aidl_interface explicitly
Bug: 150578172
Test: m
Change-Id: Ie51caa503b6b1e5c29372b85d0357be292144126
2021-01-26 22:35:14 +09:00
Martijn Coenen
90dbb464fe Merge "Revert "Set a default ACL on /data/media/userId."" am: d9cf8590cb am: 42c41b5b47
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1555317

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2bf3ef0ce4d2c0fd5c50a84c3116949cf1c79893
2021-01-21 10:00:20 +00:00
Martijn Coenen
42c41b5b47 Merge "Revert "Set a default ACL on /data/media/userId."" am: d9cf8590cb
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1555317

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7b2a139c70a8eb29ade6afed2f89cc9141ff149b
2021-01-21 09:40:48 +00:00
Martijn Coenen
d9cf8590cb Merge "Revert "Set a default ACL on /data/media/userId."" 2021-01-21 08:19:20 +00:00
Yifan Hong
f74c9a8a5b Merge changes from topic "health_storage_aidl" am: 3355ff7790 am: 92e9e5d1ad
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550388

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I500d3ccab2b4a19e71d292d17d7fac2c39e0355f
2021-01-20 20:27:54 +00:00
Yifan Hong
c4f67a28f3 Refactor HIDL HAL Dev GC invocation am: 8f0d45441c am: b586527450
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550387

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I22889d60d91b7b4cdd8de0a8b5d429bf1abc1457
2021-01-20 20:27:46 +00:00
Yifan Hong
92e9e5d1ad Merge changes from topic "health_storage_aidl" am: 3355ff7790
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550388

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I054f6f4345d96f9be12934bb5632951f24ee0ba0
2021-01-20 20:00:06 +00:00
Yifan Hong
b586527450 Refactor HIDL HAL Dev GC invocation am: 8f0d45441c
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550387

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2aeabbe25b138bf43eb1c6ba221126c1f520c227
2021-01-20 19:59:59 +00:00
Yifan Hong
3355ff7790 Merge changes from topic "health_storage_aidl"
* changes:
  Use AIDL HAL for Dev GC
  Refactor HIDL HAL Dev GC invocation
2021-01-20 19:45:16 +00:00
Martijn Coenen
b276e80aec Revert "Set a default ACL on /data/media/userId."
This reverts commit a71323ec0e.

Reason for revert: b/177926359 - note that this is a Google testing infrastructure issue, and no issue with this patch. Partners can keep using this patch. It will be resubmitted in a few weeks.

Change-Id: Ia13279ac1aafa2e4425c4527aeadd5d0fadbc2e4
2021-01-20 15:51:44 +00:00
Treehugger Robot
edbb8c3ba4 Merge "Revert^4 "Customize StubVolume implementation for ARC"" am: 69c97b6d12 am: 500bfa9d4a
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iefc396b4e6fed386f1831ced9235a4295d1d9a92
2021-01-20 11:32:18 +00:00
Treehugger Robot
500bfa9d4a Merge "Revert^4 "Customize StubVolume implementation for ARC"" am: 69c97b6d12
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I726bc94861fb18e38501ce30ee4d77d2d08eddc0
2021-01-20 11:16:01 +00:00
Treehugger Robot
69c97b6d12 Merge "Revert^4 "Customize StubVolume implementation for ARC"" 2021-01-20 10:33:52 +00:00
Risan
4ad2048001 Revert^4 "Customize StubVolume implementation for ARC"
This reverts commit 8ed81fd9ca.

Reason for revert: Let me try one last time more carefully. According to https://googleplex-android-review.git.corp.google.com/q/%2522customize+stubvolume%2522 - this CL will flow to aosp branches (without vendor images) and 2 branches with vendor images. I have submitted the vendor CL for both branches now (ag/13366009 and ag/13371672). This should not break anything now.

Change-Id: I69aacceabfb70053387a3c156b49e06be65fe6e4
2021-01-20 10:33:18 +00:00
Maurice Lam
c2a372231f Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" am: 922af320dd am: 4e77967775
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8c05660893db14945a61d6f378d28a2249f29b75
2021-01-19 22:06:02 +00:00
Maurice Lam
4e77967775 Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" am: 922af320dd
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7ed3af5a90858ebdb33581d4b63a4a2e5dc58105
2021-01-19 21:14:04 +00:00
Maurice Lam
922af320dd Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" 2021-01-19 19:28:36 +00:00
Maurice Lam
8ed81fd9ca Revert "Revert "Revert "Customize StubVolume implementation for ARC"""
This reverts commit 3164c0a238.

Reason for revert: b/177917240

Change-Id: I69f541698a3068d59553d555846ba45d169fbbed
2021-01-19 19:03:56 +00:00
rickywai
f1f587f28a Merge "Call setupAppDir before EnsureDirExists" am: d4de02ed14 am: f44cf21080
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553602

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53ebb973e11e87f4404d13089848b8115bbbee05
2021-01-19 16:44:52 +00:00
rickywai
f44cf21080 Merge "Call setupAppDir before EnsureDirExists" am: d4de02ed14
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553602

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1bcb3c452b77bf46e9b3ce4e9e8ca609470c96a1
2021-01-19 15:58:01 +00:00
rickywai
d4de02ed14 Merge "Call setupAppDir before EnsureDirExists" 2021-01-19 15:24:02 +00:00
Risan
3b4adee2f0 Merge "Revert "Revert "Customize StubVolume implementation for ARC""" am: a8ebbe77a0 am: 1932006a8f
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553860

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I33ba2498088d4f307d35eb3460fb84b9ddbfaca6
2021-01-19 12:41:15 +00:00
Risan
1932006a8f Merge "Revert "Revert "Customize StubVolume implementation for ARC""" am: a8ebbe77a0
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553860

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifed0e9026edb4ef80354e245336c11d4748dc491
2021-01-19 11:59:22 +00:00
Ricky Wai
f6da79cf5d Call setupAppDir before EnsureDirExists
So we can ensure Android/ dir is created,
otherwise EnsureDirExists may return false if Android/ doesn't exist

Bug: 177281374
Test: Able to boot without errors
Change-Id: I02e816b60530ac9d3d3b978a7c9028d2c0e34bad
2021-01-19 11:28:05 +00:00
Risan
a8ebbe77a0 Merge "Revert "Revert "Customize StubVolume implementation for ARC""" 2021-01-19 11:20:08 +00:00
Martijn Coenen
6174c4e5d8 Merge "Set a default ACL on /data/media/userId." am: 14782046f3 am: 90795b62da
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1535015

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic4b8667b466d1f8e25d7472d2837293f69efbdfd
2021-01-19 11:03:38 +00:00
Martijn Coenen
90795b62da Merge "Set a default ACL on /data/media/userId." am: 14782046f3
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1535015

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ife277259b3f3ff0e69976cafc8c45db5c3901759
2021-01-19 10:25:01 +00:00
Martijn Coenen
14782046f3 Merge "Set a default ACL on /data/media/userId." 2021-01-19 09:38:55 +00:00
Risan
3164c0a238 Revert "Revert "Customize StubVolume implementation for ARC""
This reverts commit 0cf77b025d.

Reason for revert: The requird libarcvolume has been submitted to master (ag/13366009)

Change-Id: I86fada53aad2ec5faa497a9bcbce5435c35d040e
2021-01-19 02:24:38 +00:00
Mariia Sandrikova
576f976cfc Merge "Revert "Customize StubVolume implementation for ARC"" am: 5558a72d03 am: 4e8b1631b6
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553535

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I33017ec3e299ee6f9d4e3e7885942352b9db3482
2021-01-18 18:37:27 +00:00
Mariia Sandrikova
4e8b1631b6 Merge "Revert "Customize StubVolume implementation for ARC"" am: 5558a72d03
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553535

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5c7f898a1229e2c859a6add61b0024bb95c7d8ce
2021-01-18 18:18:08 +00:00