Commit graph

4812 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
f26b013a19 Merge "Obtain incfs features early in the booting sequence." am: 915f6227a7 am: a9838cc3d3 am: ef885d3deb
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1585413

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1af24c06a0fa58f11a754bfc22b43f0a7837e12b
2021-02-13 10:16:50 +00: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
Ricky Wai
61d1e01375 Change mounting storage data and obb to on by default
Bug: 148049767
Test: atest AdoptableHostTest
Test: pass cts/cts_postsubmit_cf_stable-cloud-tf
Ignore-AOSP-First: Another CL on same topic has merge conflict from aosp to internal master
Change-Id: I46a0954489816df3651f2fc90d85b389fc38087f
2021-02-03 10:00:05 +00:00
Martijn Coenen
4b3897bbdf Merge "Revert "Revert "Set a default ACL on /data/media/userId.""" am: 2e8f0d438b am: 62ed9d52db am: dd6ebf8878
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1566179

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id79ce8f618bf52e166cb0d0dbec0856c1435581e
2021-02-01 14:51:31 +00: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
e6ed5c0b7d Merge "Add support for binding storage encryption to a seed" am: 6207c9cde4 am: 4c110af013 am: 0bdfada404
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553317

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I496422108eedcb352d2fb45181ba4fc035c59e19
2021-01-27 04:19:46 +00:00
Treehugger Robot
b9fdf8987d Merge "Specify version for aidl_interface explicitly" am: 8e10f698ef am: 5f6d86597e am: 97bc46aabd
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1560413

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I667a54723d93a39150bd9044c6d4306942a63ea2
2021-01-27 04:16:35 +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
Yurii Zubrytskyi
a4b424ef64 Merge "IncFS: pass over the new .blocks_written IncFS control file" 2021-01-25 16:47:23 +00:00
Martijn Coenen
1366d7be21 Merge "Revert "Set a default ACL on /data/media/userId."" am: d9cf8590cb am: 42c41b5b47 am: 90dbb464fe
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1555317

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I04519a7ceef5d44ebb73b0f4dcb3025f3a26ad6c
2021-01-21 10:29:41 +00: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
f0699c6e20 Merge changes from topic "health_storage_aidl" am: 3355ff7790 am: 92e9e5d1ad am: f74c9a8a5b
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550388

MUST ONLY BE SUBMITTED BY AUTOMERGER

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I70a8269151232c2faf07b5c06598bad5e7e79108
2021-01-20 20:49:05 +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
6fb1476a5d Merge "Revert^4 "Customize StubVolume implementation for ARC"" am: 69c97b6d12 am: 500bfa9d4a am: edbb8c3ba4
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1bd81b674299441369f4e4f0698cf6e528a2c7c0
2021-01-20 11:53:04 +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
6b4ff25388 Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" am: 922af320dd am: 4e77967775 am: c2a372231f
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I80daa969ade20d4372ca96b3d2cee95cb9831bb8
2021-01-19 22:42:33 +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
Yurii Zubrytskyi
0c0f83902d IncFS: pass over the new .blocks_written IncFS control file
Bug: 170231230
Test: incremental and PackageManager unit tests
Ignore-AOSP-First: new IncFS API is an internal-first topic
Change-Id: I7fccaf367d4b98294e2e6da4460792514147d954
2021-01-19 10:30:14 -08:00
rickywai
5c108e2a23 Merge "Call setupAppDir before EnsureDirExists" am: d4de02ed14 am: f44cf21080 am: f1f587f28a
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553602

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibc67fc45df3a5c9ec8946739531d51462736967f
2021-01-19 17:27:31 +00:00